[INFO] cloning repository https://github.com/Actyx/acto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Actyx/acto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FActyx%2Facto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FActyx%2Facto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ecc18a03758017fe14999e65e5695d6ad54356d2 [INFO] checking Actyx/acto against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FActyx%2Facto" "/workspace/builds/worker-80/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-80/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Actyx/acto 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 git repo https://github.com/Actyx/acto [INFO] finished tweaking git repo https://github.com/Actyx/acto [INFO] tweaked toml for git repo https://github.com/Actyx/acto written to /workspace/builds/worker-80/source/Cargo.toml [INFO] crate git repo https://github.com/Actyx/acto already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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] a03245a795185bff019b53ae6a0355bc7edbd42f784424248d034ebe3c19c906 [INFO] running `Command { std: "docker" "start" "-a" "a03245a795185bff019b53ae6a0355bc7edbd42f784424248d034ebe3c19c906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a03245a795185bff019b53ae6a0355bc7edbd42f784424248d034ebe3c19c906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03245a795185bff019b53ae6a0355bc7edbd42f784424248d034ebe3c19c906", kill_on_drop: false }` [INFO] [stdout] a03245a795185bff019b53ae6a0355bc7edbd42f784424248d034ebe3c19c906 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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] ae610dc561f53350d328cdaa447909cd225d471b5a85ed6b958c59d9b5b34725 [INFO] running `Command { std: "docker" "start" "-a" "ae610dc561f53350d328cdaa447909cd225d471b5a85ed6b958c59d9b5b34725", 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] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.67 (as host dependency): full [INFO] [stderr] [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking acto v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Migrating examples/pingpong_dyn.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/pingpong.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/pingpong_dyn.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `acto::spawn`, `acto::Actor`, `acto::DynSender`, `acto::MpQueue`, `acto::Queue`, `acto::Sender`, `acto::SenderGone`, `acto::MPSC`, `acto::SPSC` [INFO] [stdout] --> examples/pingpong_dyn.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | spawn::OwnThread, Actor, DynSender, Mailbox, MpQueue, Queue, Sender, SenderGone, MPSC, SPSC, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^ no `SPSC` in the root [INFO] [stdout] | | | | | | | | | [INFO] [stdout] | | | | | | | | no `MPSC` in the root [INFO] [stdout] | | | | | | | no `SenderGone` in the root [INFO] [stdout] | | | | | | no `Sender` in the root [INFO] [stdout] | | | | | no `Queue` in the root [INFO] [stdout] | | | | no `MpQueue` in the root [INFO] [stdout] | | | no `DynSender` in the root [INFO] [stdout] | | no `Actor` in the root [INFO] [stdout] | | help: a similar name exists in the module: `actor` [INFO] [stdout] | expected type, found function `spawn` in `acto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/pingpong_dyn.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/pingpong_dyn.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | T(tokio::sync::oneshot::error::RecvError), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> examples/pingpong_dyn.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let (tx, rx) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Handle` [INFO] [stdout] --> examples/pingpong_dyn.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | Handle::current().spawn_blocking(|| drop(rt)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Builder` [INFO] [stdout] --> examples/pingpong_dyn.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | let rt = Builder::new_multi_thread().worker_threads(1).build()?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/pingpong_dyn.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | async fn pong>(mut mailbox: Mailbox) -> Result<(), SenderGone> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Mailbox` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/pingpong_dyn.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | async fn ping(mut mailbox: Mailbox) -> Result<(), Error> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Mailbox` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `acto` due to 8 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/pingpong.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `acto::Actor`, `acto::Queue`, `acto::Sender`, `acto::SenderGone`, `acto::MPSC`, `acto::SPSC` [INFO] [stdout] --> examples/pingpong.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use acto::{Actor, Mailbox, Queue, Sender, SenderGone, MPSC, SPSC}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^ no `SPSC` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `MPSC` in the root [INFO] [stdout] | | | | no `SenderGone` in the root [INFO] [stdout] | | | no `Sender` in the root [INFO] [stdout] | | no `Queue` in the root [INFO] [stdout] | no `Actor` in the root [INFO] [stdout] | help: a similar name exists in the module: `actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/pingpong.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/pingpong.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | T(tokio::sync::oneshot::error::RecvError), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Handle` [INFO] [stdout] --> examples/pingpong.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | Handle::current().spawn_blocking(|| drop(rt)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> examples/pingpong.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let (tx, rx) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Handle` [INFO] [stdout] --> examples/pingpong.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Handle::current().spawn_blocking(|| drop(rt)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Builder` [INFO] [stdout] --> examples/pingpong.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | let rt = Builder::new_multi_thread().worker_threads(1).build()?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Builder` [INFO] [stdout] --> examples/pingpong.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | let rt = Builder::new_multi_thread().worker_threads(1).build()?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/pingpong.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | mut mailbox: Mailbox, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Mailbox` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/pingpong.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | async fn ping(mut mailbox: Mailbox>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Mailbox>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [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" "ae610dc561f53350d328cdaa447909cd225d471b5a85ed6b958c59d9b5b34725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae610dc561f53350d328cdaa447909cd225d471b5a85ed6b958c59d9b5b34725", kill_on_drop: false }` [INFO] [stdout] ae610dc561f53350d328cdaa447909cd225d471b5a85ed6b958c59d9b5b34725