[INFO] fetching crate embedded-profiling 0.3.0... [INFO] testing embedded-profiling-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate embedded-profiling 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate embedded-profiling 0.3.0 [INFO] finished tweaking crates.io crate embedded-profiling 0.3.0 [INFO] tweaked toml for crates.io crate embedded-profiling 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-profiling 0.3.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 24 packages to latest compatible versions [INFO] [stderr] Adding serial_test v0.5.1 (available: v3.2.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 81d7c10e41d78d556b8f5530f57033455774f30934064d1cf8f121327c0afc9e [INFO] running `Command { std: "docker" "start" "-a" "81d7c10e41d78d556b8f5530f57033455774f30934064d1cf8f121327c0afc9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81d7c10e41d78d556b8f5530f57033455774f30934064d1cf8f121327c0afc9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81d7c10e41d78d556b8f5530f57033455774f30934064d1cf8f121327c0afc9e", kill_on_drop: false }` [INFO] [stdout] 81d7c10e41d78d556b8f5530f57033455774f30934064d1cf8f121327c0afc9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e1d42290132797cff83d17263ef6e58c4bf78f22baf6a4b7eac2565349705a86 [INFO] running `Command { std: "docker" "start" "-a" "e1d42290132797cff83d17263ef6e58c4bf78f22baf6a4b7eac2565349705a86", kill_on_drop: false }` [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling embedded-profiling v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "e1d42290132797cff83d17263ef6e58c4bf78f22baf6a4b7eac2565349705a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1d42290132797cff83d17263ef6e58c4bf78f22baf6a4b7eac2565349705a86", kill_on_drop: false }` [INFO] [stdout] e1d42290132797cff83d17263ef6e58c4bf78f22baf6a4b7eac2565349705a86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 532b3cb67fd9822553b7f554f4aab44d00d3fe009049c592c67d192f811ac429 [INFO] running `Command { std: "docker" "start" "-a" "532b3cb67fd9822553b7f554f4aab44d00d3fe009049c592c67d192f811ac429", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stderr] Compiling embedded-profiling v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:314:16 [INFO] [stdout] | [INFO] [stdout] 314 | if MOCK_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] --> src/lib.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | super::set_profiler(MOCK_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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.58s [INFO] running `Command { std: "docker" "inspect" "532b3cb67fd9822553b7f554f4aab44d00d3fe009049c592c67d192f811ac429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532b3cb67fd9822553b7f554f4aab44d00d3fe009049c592c67d192f811ac429", kill_on_drop: false }` [INFO] [stdout] 532b3cb67fd9822553b7f554f4aab44d00d3fe009049c592c67d192f811ac429 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 89d92f5a9c6e22d08012f3ceac8e10f33d2111e673ccfc295759a728879b5574 [INFO] running `Command { std: "docker" "start" "-a" "89d92f5a9c6e22d08012f3ceac8e10f33d2111e673ccfc295759a728879b5574", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:314:16 [INFO] [stderr] | [INFO] [stderr] 314 | if MOCK_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] --> src/lib.rs:317:33 [INFO] [stderr] | [INFO] [stderr] 317 | super::set_profiler(MOCK_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: `embedded-profiling` (lib test) generated 2 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-6fabca3cfe7f8eee) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test::check_conversion ... ok [INFO] [stdout] test test::basic_duration ... ok [INFO] [stdout] test test::basic_duration_and_set_profiler ... ok [INFO] [stdout] test test::profile_closure ... ok [INFO] [stderr] Doc-tests embedded_profiling [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - log_snapshot (line 269) ... ok [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] test src/lib.rs - profile (line 282) ... ok [INFO] [stdout] test src/lib.rs - EmbeddedProfiler::start_snapshot (line 127) ... ok [INFO] [stdout] test src/lib.rs - convert_instant (line 157) ... ok [INFO] [stdout] test src/lib.rs - (line 36) ... ok [INFO] [stdout] test src/lib.rs - profiler (line 233) ... ok [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] test src/lib.rs - set_profiler (line 202) ... ok [INFO] [stdout] test src/lib.rs - start_snapshot (line 250) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "89d92f5a9c6e22d08012f3ceac8e10f33d2111e673ccfc295759a728879b5574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89d92f5a9c6e22d08012f3ceac8e10f33d2111e673ccfc295759a728879b5574", kill_on_drop: false }` [INFO] [stdout] 89d92f5a9c6e22d08012f3ceac8e10f33d2111e673ccfc295759a728879b5574