[INFO] fetching crate oni_trace 0.1.0... [INFO] checking oni_trace-0.1.0 against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] extracting crate oni_trace 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate oni_trace 0.1.0 on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eaeddea4dff17685e85679dbf3ea87d0bf50e860187cc3749a38c98130969b9a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eaeddea4dff17685e85679dbf3ea87d0bf50e860187cc3749a38c98130969b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eaeddea4dff17685e85679dbf3ea87d0bf50e860187cc3749a38c98130969b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaeddea4dff17685e85679dbf3ea87d0bf50e860187cc3749a38c98130969b9a", kill_on_drop: false }` [INFO] [stdout] eaeddea4dff17685e85679dbf3ea87d0bf50e860187cc3749a38c98130969b9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 96c8da743120e08dec193b21003def193ee9bf39a2e2919729d0cdae47c2088b [INFO] running `Command { std: "docker" "start" "-a" "96c8da743120e08dec193b21003def193ee9bf39a2e2919729d0cdae47c2088b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking gzip-header v0.3.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking serde_json v1.0.60 [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] error: aborting due to 10 previous errors; 1 warning 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "96c8da743120e08dec193b21003def193ee9bf39a2e2919729d0cdae47c2088b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96c8da743120e08dec193b21003def193ee9bf39a2e2919729d0cdae47c2088b", kill_on_drop: false }` [INFO] [stdout] 96c8da743120e08dec193b21003def193ee9bf39a2e2919729d0cdae47c2088b