[INFO] fetching crate event-emitter-rs 0.1.4... [INFO] checking event-emitter-rs-0.1.4 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate event-emitter-rs 0.1.4 into /workspace/builds/worker-101/source [INFO] validating manifest of crates.io crate event-emitter-rs 0.1.4 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 event-emitter-rs 0.1.4 [INFO] finished tweaking crates.io crate event-emitter-rs 0.1.4 [INFO] tweaked toml for crates.io crate event-emitter-rs 0.1.4 written to /workspace/builds/worker-101/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-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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] f8f437ca2cebaf4a59754c15a83c1b592d14a7320c149af7dc23899436da09ca [INFO] running `Command { std: "docker" "start" "-a" "f8f437ca2cebaf4a59754c15a83c1b592d14a7320c149af7dc23899436da09ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8f437ca2cebaf4a59754c15a83c1b592d14a7320c149af7dc23899436da09ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f437ca2cebaf4a59754c15a83c1b592d14a7320c149af7dc23899436da09ca", kill_on_drop: false }` [INFO] [stdout] f8f437ca2cebaf4a59754c15a83c1b592d14a7320c149af7dc23899436da09ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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] 24395519d1b949dbae39d6db8d6c7f112023fa02628addb2f2762fcae4b92dcc [INFO] running `Command { std: "docker" "start" "-a" "24395519d1b949dbae39d6db8d6c7f112023fa02628addb2f2762fcae4b92dcc", 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] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking event-emitter-rs v0.1.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stderr] Fixed src/tests.rs (4 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventEmitter` [INFO] [stdout] --> src/tests.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | let mut event_emitter = EventEmitter::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::EventEmitter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/tests.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let counter: Arc> = Arc::new(Mutex::new(5)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Arc; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/tests.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let counter: Arc> = Arc::new(Mutex::new(5)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tests::event_emitter_file::Mutex; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/tests.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | let counter: Arc> = Arc::new(Mutex::new(5)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Arc; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/tests.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | let counter: Arc> = Arc::new(Mutex::new(5)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tests::event_emitter_file::Mutex; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/tests.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let cloned_counter = Arc::clone(&counter); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Arc; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/tests.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | let container: Arc> = Arc::new(Mutex::new(Container { list: Vec::new() })); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Arc; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/tests.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let container: Arc> = Arc::new(Mutex::new(Container { list: Vec::new() })); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tests::event_emitter_file::Mutex; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/tests.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 30 | let container: Arc> = Arc::new(Mutex::new(Container { list: Vec::new() })); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Arc; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/tests.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | let container: Arc> = Arc::new(Mutex::new(Container { list: Vec::new() })); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tests::event_emitter_file::Mutex; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/tests.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | let cloned_container = Arc::clone(&container); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Arc; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventEmitter` [INFO] [stdout] --> src/tests.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let mut event_emitter = EventEmitter::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::EventEmitter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventEmitter` [INFO] [stdout] --> src/tests.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let mut event_emitter = EventEmitter::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use crate::EventEmitter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/tests.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | let counter: Arc> = Arc::new(Mutex::new(5)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Arc; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/tests.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let counter: Arc> = Arc::new(Mutex::new(5)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tests::event_emitter_file::Mutex; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/tests.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | let counter: Arc> = Arc::new(Mutex::new(5)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Arc; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/tests.rs:78:45 [INFO] [stdout] | [INFO] [stdout] 78 | let counter: Arc> = Arc::new(Mutex::new(5)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tests::event_emitter_file::Mutex; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/tests.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | let cloned_counter = Arc::clone(&counter); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Arc; [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/tests.rs (2 fixes) [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `event-emitter-rs` due to 19 previous errors [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" "24395519d1b949dbae39d6db8d6c7f112023fa02628addb2f2762fcae4b92dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24395519d1b949dbae39d6db8d6c7f112023fa02628addb2f2762fcae4b92dcc", kill_on_drop: false }` [INFO] [stdout] 24395519d1b949dbae39d6db8d6c7f112023fa02628addb2f2762fcae4b92dcc