Skip to content

Rust build image needs updating #12410

Open
@nathaniel-brough

Description

@nathaniel-brough

There are quite a number of rust projects that are not building because they depend on the serde crate. But the serde crate requires a more up to date version of rustc (as the current version hasn't been updated since febuary). This is the error across many repositories that have failing builds.

add `#![feature(diagnostic_namespace)]` to the crate attributes to enable�[0m
Step #3 - "compile-libfuzzer-address-x86_64": �[0m    �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m: this compiler was built on 2024-02-11; consider upgrading it if it is out of date�[0m
Step #3 - "compile-libfuzzer-address-x86_64": 
Step #3 - "compile-libfuzzer-address-x86_64": �[0m�[1mFor more information about this error, try `rustc --explain E0658`.�[0m
Step #3 - "compile-libfuzzer-address-x86_64": The following warnings were emitted during compilation:

So far I've fixed two rounds of builds by simple updating rustc in the project specific Dockerfile e.g.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions