[INFO] fetching crate oni_trace 0.1.0... [INFO] checking oni_trace-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate oni_trace 0.1.0 into /workspace/builds/worker-3-tc2/source [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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oni_trace 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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 time v0.1.45 (available: v0.3.41) [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53d8c9ff3d45ee80e74e080787d75458de2c5fc7351b8b8af40014dd171b5951 [INFO] running `Command { std: "docker" "start" "-a" "53d8c9ff3d45ee80e74e080787d75458de2c5fc7351b8b8af40014dd171b5951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53d8c9ff3d45ee80e74e080787d75458de2c5fc7351b8b8af40014dd171b5951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53d8c9ff3d45ee80e74e080787d75458de2c5fc7351b8b8af40014dd171b5951", kill_on_drop: false }` [INFO] [stdout] 53d8c9ff3d45ee80e74e080787d75458de2c5fc7351b8b8af40014dd171b5951 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee9877b3227e81e5a7e39e4310aca76fb16d7f5fa8438e5d5a521f73e1d52b91 [INFO] running `Command { std: "docker" "start" "-a" "ee9877b3227e81e5a7e39e4310aca76fb16d7f5fa8438e5d5a521f73e1d52b91", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking gzip-header v0.3.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling serde_derive v1.0.219 [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] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oni_trace` (test "profile") due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee9877b3227e81e5a7e39e4310aca76fb16d7f5fa8438e5d5a521f73e1d52b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee9877b3227e81e5a7e39e4310aca76fb16d7f5fa8438e5d5a521f73e1d52b91", kill_on_drop: false }` [INFO] [stdout] ee9877b3227e81e5a7e39e4310aca76fb16d7f5fa8438e5d5a521f73e1d52b91