[INFO] fetching crate embedded-profiling-proc-macros 0.2.0... [INFO] testing embedded-profiling-proc-macros-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate embedded-profiling-proc-macros 0.2.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-profiling-proc-macros 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test_derive v0.5.1 [INFO] [stderr] Downloaded embedded-profiling v0.2.4 [INFO] [stderr] Downloaded fugit v0.3.7 [INFO] [stderr] Downloaded embedded-profiling-proc-macros v0.2.0 [INFO] [stderr] Downloaded serial_test v0.5.1 [INFO] [stderr] Downloaded gcd v2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7af0984346c989237cc059269833aaa627337c422d71ae1df482b620984ba075 [INFO] running `Command { std: "docker" "start" "-a" "7af0984346c989237cc059269833aaa627337c422d71ae1df482b620984ba075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7af0984346c989237cc059269833aaa627337c422d71ae1df482b620984ba075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af0984346c989237cc059269833aaa627337c422d71ae1df482b620984ba075", kill_on_drop: false }` [INFO] [stdout] 7af0984346c989237cc059269833aaa627337c422d71ae1df482b620984ba075 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de03bbf9767b0e15cdeee1ce93210d2203174064b34ee95475a24e5405391b13 [INFO] running `Command { std: "docker" "start" "-a" "de03bbf9767b0e15cdeee1ce93210d2203174064b34ee95475a24e5405391b13", 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.50s [INFO] running `Command { std: "docker" "inspect" "de03bbf9767b0e15cdeee1ce93210d2203174064b34ee95475a24e5405391b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de03bbf9767b0e15cdeee1ce93210d2203174064b34ee95475a24e5405391b13", kill_on_drop: false }` [INFO] [stdout] de03bbf9767b0e15cdeee1ce93210d2203174064b34ee95475a24e5405391b13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b795f50b8ca2ad501ff4b52e34948a9d3c61ecd3e9206c33726b67314ec7b87 [INFO] running `Command { std: "docker" "start" "-a" "4b795f50b8ca2ad501ff4b52e34948a9d3c61ecd3e9206c33726b67314ec7b87", 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 9.21s [INFO] running `Command { std: "docker" "inspect" "4b795f50b8ca2ad501ff4b52e34948a9d3c61ecd3e9206c33726b67314ec7b87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b795f50b8ca2ad501ff4b52e34948a9d3c61ecd3e9206c33726b67314ec7b87", kill_on_drop: false }` [INFO] [stdout] 4b795f50b8ca2ad501ff4b52e34948a9d3c61ecd3e9206c33726b67314ec7b87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ba920b8f5ee5ba451436162744ddf9614a53f70ffb4bd97a529a4f51acac1a08 [INFO] running `Command { std: "docker" "start" "-a" "ba920b8f5ee5ba451436162744ddf9614a53f70ffb4bd97a529a4f51acac1a08", 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)]` 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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/embedded_profiling_proc_macros-aade4963dc12cb3d) [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-c69a7d7f39aaff3f) [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.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ba920b8f5ee5ba451436162744ddf9614a53f70ffb4bd97a529a4f51acac1a08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba920b8f5ee5ba451436162744ddf9614a53f70ffb4bd97a529a4f51acac1a08", kill_on_drop: false }` [INFO] [stdout] ba920b8f5ee5ba451436162744ddf9614a53f70ffb4bd97a529a4f51acac1a08