[INFO] fetching crate oni_trace 0.1.0... [INFO] testing oni_trace-0.1.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate oni_trace 0.1.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate oni_trace 0.1.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3676369dae5880493999e54526b8b6400d65f20aef73d50116c63b4797045f00 [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" "3676369dae5880493999e54526b8b6400d65f20aef73d50116c63b4797045f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3676369dae5880493999e54526b8b6400d65f20aef73d50116c63b4797045f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3676369dae5880493999e54526b8b6400d65f20aef73d50116c63b4797045f00", kill_on_drop: false }` [INFO] [stdout] 3676369dae5880493999e54526b8b6400d65f20aef73d50116c63b4797045f00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 152ccee1a855fe633ca4ecbd7ce6e8f304470605172bc354c2e25ad010f00ad1 [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" "152ccee1a855fe633ca4ecbd7ce6e8f304470605172bc354c2e25ad010f00ad1", kill_on_drop: false }` [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling gzip-header v0.3.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling oni_trace v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.67s [INFO] running `Command { std: "docker" "inspect" "152ccee1a855fe633ca4ecbd7ce6e8f304470605172bc354c2e25ad010f00ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "152ccee1a855fe633ca4ecbd7ce6e8f304470605172bc354c2e25ad010f00ad1", kill_on_drop: false }` [INFO] [stdout] 152ccee1a855fe633ca4ecbd7ce6e8f304470605172bc354c2e25ad010f00ad1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d98875ab3caf8b7975d0acc92f45588b2471aece48ceac77fac9e1e4fca75167 [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" "d98875ab3caf8b7975d0acc92f45588b2471aece48ceac77fac9e1e4fca75167", kill_on_drop: false }` [INFO] [stderr] Compiling 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` due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d98875ab3caf8b7975d0acc92f45588b2471aece48ceac77fac9e1e4fca75167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98875ab3caf8b7975d0acc92f45588b2471aece48ceac77fac9e1e4fca75167", kill_on_drop: false }` [INFO] [stdout] d98875ab3caf8b7975d0acc92f45588b2471aece48ceac77fac9e1e4fca75167