[INFO] fetching crate lazy_static 1.5.0... [INFO] checking lazy_static-1.5.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate lazy_static 1.5.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate lazy_static 1.5.0 [INFO] finished tweaking crates.io crate lazy_static 1.5.0 [INFO] tweaked toml for crates.io crate lazy_static 1.5.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lazy_static 1.5.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lazy_static 1.5.0 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5836e58269d41dc2297f3d8f2a92235d941ba46f0ce8e5f36b2db514df3c6632 [INFO] running `Command { std: "docker" "start" "-a" "5836e58269d41dc2297f3d8f2a92235d941ba46f0ce8e5f36b2db514df3c6632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5836e58269d41dc2297f3d8f2a92235d941ba46f0ce8e5f36b2db514df3c6632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5836e58269d41dc2297f3d8f2a92235d941ba46f0ce8e5f36b2db514df3c6632", kill_on_drop: false }` [INFO] [stdout] 5836e58269d41dc2297f3d8f2a92235d941ba46f0ce8e5f36b2db514df3c6632 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed5600386fe3a6b0f3433c5b887047675b526bc47fc9b5881caa555bcebaf305 [INFO] running `Command { std: "docker" "start" "-a" "ed5600386fe3a6b0f3433c5b887047675b526bc47fc9b5881caa555bcebaf305", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Compiling trybuild v1.0.96 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking lazy_static v1.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/inline_lazy.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get(&'static self, f: F) -> &T [INFO] [stdout] | ^^^^^^^ -- the lifetime gets resolved as `'static` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get(&'static self, f: F) -> &'static T [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/inline_lazy.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get(&'static self, f: F) -> &T [INFO] [stdout] | ^^^^^^^ -- the lifetime gets resolved as `'static` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get(&'static self, f: F) -> &'static T [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> tests/test.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | std::mem::transmute::(-1) [INFO] [stdout] | -------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> tests/test.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unnecessary_transmutes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lazy_static` (test "test") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "ed5600386fe3a6b0f3433c5b887047675b526bc47fc9b5881caa555bcebaf305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed5600386fe3a6b0f3433c5b887047675b526bc47fc9b5881caa555bcebaf305", kill_on_drop: false }` [INFO] [stdout] ed5600386fe3a6b0f3433c5b887047675b526bc47fc9b5881caa555bcebaf305