[INFO] fetching crate oni_trace 0.1.0... [INFO] checking oni_trace-0.1.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate oni_trace 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate oni_trace 0.1.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ae2c070e625576fdfb50a6ee0714431b32889832022473be6b7f1bb13db3e41 [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" "4ae2c070e625576fdfb50a6ee0714431b32889832022473be6b7f1bb13db3e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ae2c070e625576fdfb50a6ee0714431b32889832022473be6b7f1bb13db3e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae2c070e625576fdfb50a6ee0714431b32889832022473be6b7f1bb13db3e41", kill_on_drop: false }` [INFO] [stdout] 4ae2c070e625576fdfb50a6ee0714431b32889832022473be6b7f1bb13db3e41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b608f7467a6ed221e3d81d6df6a4d79aee001a8ec560e758ed5c7abec0314ed [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" "2b608f7467a6ed221e3d81d6df6a4d79aee001a8ec560e758ed5c7abec0314ed", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking crc32fast v1.2.1 [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 oni_trace v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/profile.rs from 2018 edition to 2021 [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] ::: /tmp/fixit/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] ::: /tmp/fixit/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] ::: /tmp/fixit/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] ::: /tmp/fixit/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] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "2b608f7467a6ed221e3d81d6df6a4d79aee001a8ec560e758ed5c7abec0314ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b608f7467a6ed221e3d81d6df6a4d79aee001a8ec560e758ed5c7abec0314ed", kill_on_drop: false }` [INFO] [stdout] 2b608f7467a6ed221e3d81d6df6a4d79aee001a8ec560e758ed5c7abec0314ed