[INFO] cloning repository https://github.com/gbuglione/error-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gbuglione/error-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgbuglione%2Ferror-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgbuglione%2Ferror-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9823f01cf4948a41279f6a3febcf793130cab4f6 [INFO] checking gbuglione/error-code/9823f01cf4948a41279f6a3febcf793130cab4f6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgbuglione%2Ferror-code" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gbuglione/error-code on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gbuglione/error-code [INFO] finished tweaking git repo https://github.com/gbuglione/error-code [INFO] tweaked toml for git repo https://github.com/gbuglione/error-code written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gbuglione/error-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6fc0df0f55a9a5685740670be21143391edbe70101cb570ed72dab775a174ad [INFO] running `Command { std: "docker" "start" "-a" "d6fc0df0f55a9a5685740670be21143391edbe70101cb570ed72dab775a174ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6fc0df0f55a9a5685740670be21143391edbe70101cb570ed72dab775a174ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6fc0df0f55a9a5685740670be21143391edbe70101cb570ed72dab775a174ad", kill_on_drop: false }` [INFO] [stdout] d6fc0df0f55a9a5685740670be21143391edbe70101cb570ed72dab775a174ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0c19173f44a4ff5bd88e8e199b973fdf4edd60955d5eaa2707388b059bfb4a9 [INFO] running `Command { std: "docker" "start" "-a" "c0c19173f44a4ff5bd88e8e199b973fdf4edd60955d5eaa2707388b059bfb4a9", kill_on_drop: false }` [INFO] [stderr] Checking error_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0015]: cannot call non-const fn `>::from` in constants [INFO] [stdout] --> src/lib.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | pub const STRING: String = String::from("invalid"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::from` in constants [INFO] [stdout] --> src/lib.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | pub const STRING: String = String::from("invalid"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: referencing statics in constants is unstable [INFO] [stdout] --> src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | const Y: i32 = X; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #119618 for more information [INFO] [stdout] = help: add `#![feature(const_refs_to_static)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] = note: `static` and `const` variables can refer to other `const` variables. A `const` variable, however, cannot refer to a `static` variable. [INFO] [stdout] = help: to fix this, the value can be extracted to a `const` and then used. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: referencing statics in constants is unstable [INFO] [stdout] --> src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | const Y: i32 = X; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #119618 for more information [INFO] [stdout] = help: add `#![feature(const_refs_to_static)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] = note: `static` and `const` variables can refer to other `const` variables. A `const` variable, however, cannot refer to a `static` variable. [INFO] [stdout] = help: to fix this, the value can be extracted to a `const` and then used. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `error_code` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `error_code` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c0c19173f44a4ff5bd88e8e199b973fdf4edd60955d5eaa2707388b059bfb4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0c19173f44a4ff5bd88e8e199b973fdf4edd60955d5eaa2707388b059bfb4a9", kill_on_drop: false }` [INFO] [stdout] c0c19173f44a4ff5bd88e8e199b973fdf4edd60955d5eaa2707388b059bfb4a9