[INFO] fetching crate embedded-profiling-proc-macros 0.2.0... [INFO] testing embedded-profiling-proc-macros-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate embedded-profiling-proc-macros 0.2.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-profiling-proc-macros 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0d22c40c235320d99f52a85008fc439ad21737f6685fd59bf8a4a1fd2a188de [INFO] running `Command { std: "docker" "start" "-a" "d0d22c40c235320d99f52a85008fc439ad21737f6685fd59bf8a4a1fd2a188de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0d22c40c235320d99f52a85008fc439ad21737f6685fd59bf8a4a1fd2a188de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0d22c40c235320d99f52a85008fc439ad21737f6685fd59bf8a4a1fd2a188de", kill_on_drop: false }` [INFO] [stdout] d0d22c40c235320d99f52a85008fc439ad21737f6685fd59bf8a4a1fd2a188de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff1def5d4c07d820f8b14da417ebdb9f8bd7229bc9c9fdfbcaa5a4717e3fef26 [INFO] running `Command { std: "docker" "start" "-a" "ff1def5d4c07d820f8b14da417ebdb9f8bd7229bc9c9fdfbcaa5a4717e3fef26", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling embedded-profiling-proc-macros v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.28s [INFO] running `Command { std: "docker" "inspect" "ff1def5d4c07d820f8b14da417ebdb9f8bd7229bc9c9fdfbcaa5a4717e3fef26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1def5d4c07d820f8b14da417ebdb9f8bd7229bc9c9fdfbcaa5a4717e3fef26", kill_on_drop: false }` [INFO] [stdout] ff1def5d4c07d820f8b14da417ebdb9f8bd7229bc9c9fdfbcaa5a4717e3fef26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5f50711e2b273a43a3b0baa43ac269407ca6b723cb3c4ad54200f730de42825 [INFO] running `Command { std: "docker" "start" "-a" "e5f50711e2b273a43a3b0baa43ac269407ca6b723cb3c4ad54200f730de42825", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [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)]` 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.47s [INFO] running `Command { std: "docker" "inspect" "e5f50711e2b273a43a3b0baa43ac269407ca6b723cb3c4ad54200f730de42825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5f50711e2b273a43a3b0baa43ac269407ca6b723cb3c4ad54200f730de42825", kill_on_drop: false }` [INFO] [stdout] e5f50711e2b273a43a3b0baa43ac269407ca6b723cb3c4ad54200f730de42825 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d3ceb3893c57bb7c8ee1e9cf3bb0e590a37739d6696cbd876f7d877fd10ceab1 [INFO] running `Command { std: "docker" "start" "-a" "d3ceb3893c57bb7c8ee1e9cf3bb0e590a37739d6696cbd876f7d877fd10ceab1", 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)]` 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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/embedded_profiling_proc_macros-aade4963dc12cb3d) [INFO] [stderr] Running tests/fn_name.rs (/opt/rustwide/target/debug/deps/fn_name-c69a7d7f39aaff3f) [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.46s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d3ceb3893c57bb7c8ee1e9cf3bb0e590a37739d6696cbd876f7d877fd10ceab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ceb3893c57bb7c8ee1e9cf3bb0e590a37739d6696cbd876f7d877fd10ceab1", kill_on_drop: false }` [INFO] [stdout] d3ceb3893c57bb7c8ee1e9cf3bb0e590a37739d6696cbd876f7d877fd10ceab1