[INFO] fetching crate oni_trace 0.1.0... [INFO] checking oni_trace-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate oni_trace 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate oni_trace 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oni_trace 0.1.0 [INFO] finished tweaking crates.io crate oni_trace 0.1.0 [INFO] tweaked toml for crates.io crate oni_trace 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 deflate v0.7.20 (available: v1.0.0) [INFO] [stderr] Adding gzip-header v0.3.0 (available: v1.0.0) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deflate v0.7.20 [INFO] [stderr] Downloaded gzip-header v0.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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0274361a49b076e68cabc7cce18fd6d8b95538e14c95eaab2862ee1470481cd [INFO] running `Command { std: "docker" "start" "-a" "f0274361a49b076e68cabc7cce18fd6d8b95538e14c95eaab2862ee1470481cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0274361a49b076e68cabc7cce18fd6d8b95538e14c95eaab2862ee1470481cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0274361a49b076e68cabc7cce18fd6d8b95538e14c95eaab2862ee1470481cd", kill_on_drop: false }` [INFO] [stdout] f0274361a49b076e68cabc7cce18fd6d8b95538e14c95eaab2862ee1470481cd [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e74653fa49c524f2472762849f260c9505f949417e0575d1329f7c1610da368b [INFO] running `Command { std: "docker" "start" "-a" "e74653fa49c524f2472762849f260c9505f949417e0575d1329f7c1610da368b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking gzip-header v0.3.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking oni_trace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `oni_trace_scope` in this scope [INFO] [stdout] --> tests/profile.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | oni_trace_scope![MyTestProfile]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `oni_async_event` in this scope [INFO] [stdout] --> tests/profile.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | oni_async_event!(start Fuck [ab] => 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a macro with a similar name exists: `async_event` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub macro async_event { [INFO] [stdout] | --------------------- similarly named macro `async_event` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `oni_trace_scope` in this scope [INFO] [stdout] --> tests/profile.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | oni_trace_scope![Sleep 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `oni_async_event` in this scope [INFO] [stdout] --> tests/profile.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | oni_async_event!(instant Fuck [ab] => 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a macro with a similar name exists: `async_event` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub macro async_event { [INFO] [stdout] | --------------------- similarly named macro `async_event` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `oni_async_event` in this scope [INFO] [stdout] --> tests/profile.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | oni_async_event!(instant Fuck [ab] => 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a macro with a similar name exists: `async_event` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub macro async_event { [INFO] [stdout] | --------------------- similarly named macro `async_event` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `oni_instant` in this scope [INFO] [stdout] --> tests/profile.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | oni_instant!("some event"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `oni_async_event` in this scope [INFO] [stdout] --> tests/profile.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | oni_async_event!(end Fuck [ab] => 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a macro with a similar name exists: `async_event` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub macro async_event { [INFO] [stdout] | --------------------- similarly named macro `async_event` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `oni_trace_scope` in this scope [INFO] [stdout] --> tests/profile.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | oni_trace_scope![Sleep 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register_thread_with_profiler` in crate `oni_trace` [INFO] [stdout] --> tests/profile.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | oni_trace::register_thread_with_profiler(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `oni_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_profile_json` in crate `oni_trace` [INFO] [stdout] --> tests/profile.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | oni_trace::write_profile_json(&output_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `oni_trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/profile.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `oni_trace` [INFO] [stdout] --> tests/profile.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | if cfg!(feature = "oni_trace") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `trace` and `trace_location` [INFO] [stdout] = help: consider adding `oni_trace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oni_trace` (test "profile") due to 11 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e74653fa49c524f2472762849f260c9505f949417e0575d1329f7c1610da368b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74653fa49c524f2472762849f260c9505f949417e0575d1329f7c1610da368b", kill_on_drop: false }` [INFO] [stdout] e74653fa49c524f2472762849f260c9505f949417e0575d1329f7c1610da368b