[INFO] fetching crate embedded-profiling-proc-macros 0.2.0... [INFO] testing embedded-profiling-proc-macros-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate embedded-profiling-proc-macros 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate embedded-profiling-proc-macros 0.2.0 [INFO] finished tweaking crates.io crate embedded-profiling-proc-macros 0.2.0 [INFO] tweaked toml for crates.io crate embedded-profiling-proc-macros 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-profiling-proc-macros 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding embedded-profiling v0.2.4 (available: v0.3.0) [INFO] [stderr] Adding serial_test v0.5.1 (available: v3.2.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-profiling-proc-macros v0.2.0 [INFO] [stderr] Downloaded embedded-profiling v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee2225b8a13fc740665201173ec9f322484153db21fae59e60fd365ef38a7cd5 [INFO] running `Command { std: "docker" "start" "-a" "ee2225b8a13fc740665201173ec9f322484153db21fae59e60fd365ef38a7cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee2225b8a13fc740665201173ec9f322484153db21fae59e60fd365ef38a7cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee2225b8a13fc740665201173ec9f322484153db21fae59e60fd365ef38a7cd5", kill_on_drop: false }` [INFO] [stdout] ee2225b8a13fc740665201173ec9f322484153db21fae59e60fd365ef38a7cd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c4dd2e6c4011e9e0c2c6b8f0ba5ac8457052e59515aab476c80ffd7e8e94007 [INFO] running `Command { std: "docker" "start" "-a" "5c4dd2e6c4011e9e0c2c6b8f0ba5ac8457052e59515aab476c80ffd7e8e94007", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling embedded-profiling-proc-macros v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.97s [INFO] running `Command { std: "docker" "inspect" "5c4dd2e6c4011e9e0c2c6b8f0ba5ac8457052e59515aab476c80ffd7e8e94007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c4dd2e6c4011e9e0c2c6b8f0ba5ac8457052e59515aab476c80ffd7e8e94007", kill_on_drop: false }` [INFO] [stdout] 5c4dd2e6c4011e9e0c2c6b8f0ba5ac8457052e59515aab476c80ffd7e8e94007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91e19222c8612bc0e6ae9e7ccd720e2036d9c1cc43679bbb6f5e602721326ee7 [INFO] running `Command { std: "docker" "start" "-a" "91e19222c8612bc0e6ae9e7ccd720e2036d9c1cc43679bbb6f5e602721326ee7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling embedded-profiling-proc-macros v0.2.0 [INFO] [stderr] Compiling embedded-profiling-proc-macros v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling embedded-profiling v0.2.4 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/fn_name.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | if TEST_PROFILER.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/fn_name.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | embedded_profiling::set_profiler(TEST_PROFILER.as_ref().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tests/fn_name.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / TEST_PROFILER [INFO] [stdout] 52 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.41s [INFO] running `Command { std: "docker" "inspect" "91e19222c8612bc0e6ae9e7ccd720e2036d9c1cc43679bbb6f5e602721326ee7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e19222c8612bc0e6ae9e7ccd720e2036d9c1cc43679bbb6f5e602721326ee7", kill_on_drop: false }` [INFO] [stdout] 91e19222c8612bc0e6ae9e7ccd720e2036d9c1cc43679bbb6f5e602721326ee7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 13b2837d94f34ef8d26ddba0aea2bacd2c24f1ab43b3af199d259fbaf74e850a [INFO] running `Command { std: "docker" "start" "-a" "13b2837d94f34ef8d26ddba0aea2bacd2c24f1ab43b3af199d259fbaf74e850a", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stdout] [INFO] [stderr] --> tests/fn_name.rs:41:16 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 41 | if TEST_PROFILER.is_none() { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: for more information, see [INFO] [stdout] running 1 test [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] test test::profiled_function_matches ... ok [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stdout] [INFO] [stderr] --> tests/fn_name.rs:44:46 [INFO] [stderr] | [INFO] [stderr] 44 | embedded_profiling::set_profiler(TEST_PROFILER.as_ref().unwrap()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> tests/fn_name.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | / TEST_PROFILER [INFO] [stderr] 52 | | .as_mut() [INFO] [stderr] | |_________________________^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: `embedded-profiling-proc-macros` (test "fn_name") generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/embedded_profiling_proc_macros-20b596703bf5f959) [INFO] [stderr] Running tests/fn_name.rs (/opt/rustwide/target/debug/deps/fn_name-fefcbd98ad3d0f17) [INFO] [stderr] Doc-tests embedded_profiling_proc_macros [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - profile_function (line 13) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "13b2837d94f34ef8d26ddba0aea2bacd2c24f1ab43b3af199d259fbaf74e850a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13b2837d94f34ef8d26ddba0aea2bacd2c24f1ab43b3af199d259fbaf74e850a", kill_on_drop: false }` [INFO] [stdout] 13b2837d94f34ef8d26ddba0aea2bacd2c24f1ab43b3af199d259fbaf74e850a