[INFO] fetching crate embedded-profiling-proc-macros 0.2.0... [INFO] testing embedded-profiling-proc-macros-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate embedded-profiling-proc-macros 0.2.0 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-profiling-proc-macros 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 687d5915a061b5e073f0eeaa46848f754d176da51f38cd725581c27119012b31 [INFO] running `Command { std: "docker" "start" "-a" "687d5915a061b5e073f0eeaa46848f754d176da51f38cd725581c27119012b31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "687d5915a061b5e073f0eeaa46848f754d176da51f38cd725581c27119012b31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "687d5915a061b5e073f0eeaa46848f754d176da51f38cd725581c27119012b31", kill_on_drop: false }` [INFO] [stdout] 687d5915a061b5e073f0eeaa46848f754d176da51f38cd725581c27119012b31 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dc1bb88d535ead5f95dad16d25b7bf064f0089df42ebd4b12ff6b0341e0d070 [INFO] running `Command { std: "docker" "start" "-a" "1dc1bb88d535ead5f95dad16d25b7bf064f0089df42ebd4b12ff6b0341e0d070", 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 5.15s [INFO] running `Command { std: "docker" "inspect" "1dc1bb88d535ead5f95dad16d25b7bf064f0089df42ebd4b12ff6b0341e0d070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dc1bb88d535ead5f95dad16d25b7bf064f0089df42ebd4b12ff6b0341e0d070", kill_on_drop: false }` [INFO] [stdout] 1dc1bb88d535ead5f95dad16d25b7bf064f0089df42ebd4b12ff6b0341e0d070 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3c9fd7055a91e908c16910af1e03d6737a398cb70574610722df5cb1f45f40d [INFO] running `Command { std: "docker" "start" "-a" "e3c9fd7055a91e908c16910af1e03d6737a398cb70574610722df5cb1f45f40d", 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 serial_test v0.5.1 [INFO] [stderr] Compiling embedded-profiling v0.2.4 [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 8.63s [INFO] running `Command { std: "docker" "inspect" "e3c9fd7055a91e908c16910af1e03d6737a398cb70574610722df5cb1f45f40d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3c9fd7055a91e908c16910af1e03d6737a398cb70574610722df5cb1f45f40d", kill_on_drop: false }` [INFO] [stdout] e3c9fd7055a91e908c16910af1e03d6737a398cb70574610722df5cb1f45f40d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8e5a12824d7457c0277a094a7e5e83265bb8d16f2463503058c9c90a2b57e08 [INFO] running `Command { std: "docker" "start" "-a" "b8e5a12824d7457c0277a094a7e5e83265bb8d16f2463503058c9c90a2b57e08", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/fn_name.rs:41:16 [INFO] [stderr] | [INFO] [stderr] 41 | if TEST_PROFILER.is_none() { [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/embedded_profiling_proc_macros-20b596703bf5f959) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/fn_name.rs (/opt/rustwide/target/debug/deps/fn_name-fefcbd98ad3d0f17) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::profiled_function_matches ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b8e5a12824d7457c0277a094a7e5e83265bb8d16f2463503058c9c90a2b57e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e5a12824d7457c0277a094a7e5e83265bb8d16f2463503058c9c90a2b57e08", kill_on_drop: false }` [INFO] [stdout] b8e5a12824d7457c0277a094a7e5e83265bb8d16f2463503058c9c90a2b57e08