[INFO] cloning repository https://github.com/shockham/crony [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shockham/crony" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshockham%2Fcrony", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshockham%2Fcrony'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cea6d6845bce1818ca2c6e15849cc6eb27a2768e [INFO] checking shockham/crony against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshockham%2Fcrony" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shockham/crony [INFO] finished tweaking git repo https://github.com/shockham/crony [INFO] tweaked toml for git repo https://github.com/shockham/crony written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shockham/crony on toolchain ad93f57d532978d6739002a21bc66b45ed22f998 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shockham/crony already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.98 [INFO] [stderr] Downloaded tokio v1.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f50cdf013acd3895a55c0ba37da7d7bbcd5a8e0a9925a4fa255c63963874389 [INFO] running `Command { std: "docker" "start" "-a" "4f50cdf013acd3895a55c0ba37da7d7bbcd5a8e0a9925a4fa255c63963874389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f50cdf013acd3895a55c0ba37da7d7bbcd5a8e0a9925a4fa255c63963874389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f50cdf013acd3895a55c0ba37da7d7bbcd5a8e0a9925a4fa255c63963874389", kill_on_drop: false }` [INFO] [stdout] 4f50cdf013acd3895a55c0ba37da7d7bbcd5a8e0a9925a4fa255c63963874389 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d16f12d81b1d3d808dec7ecb98369be6503ebefbbd5317caf754e8ad2373dc1a [INFO] running `Command { std: "docker" "start" "-a" "d16f12d81b1d3d808dec7ecb98369be6503ebefbbd5317caf754e8ad2373dc1a", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling tokio v1.8.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking crony v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tokio::net::TcpListener` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `TcpListener` in `net` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.8.4/src/net/mod.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | pub use tcp::listener::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.8.4/src/macros/cfg.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | #[cfg(feature = "net")] [INFO] [stdout] | --------------- the item is gated behind the `net` feature [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 7 - use tokio::net::TcpListener; [INFO] [stdout] 7 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::prelude` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::TcpListener` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `TcpListener` in `net` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.8.4/src/net/mod.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | pub use tcp::listener::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.8.4/src/macros/cfg.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | #[cfg(feature = "net")] [INFO] [stdout] | --------------- the item is gated behind the `net` feature [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 7 - use tokio::net::TcpListener; [INFO] [stdout] 7 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::prelude` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::prelude` [INFO] [stdout] --> examples/test_client.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::TcpStream` [INFO] [stdout] --> examples/test_client.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `TcpStream` in `net` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.8.4/src/net/mod.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | pub use tcp::stream::TcpStream; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.8.4/src/macros/cfg.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | #[cfg(feature = "net")] [INFO] [stdout] | --------------- the item is gated behind the `net` feature [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 77 - use tokio::net::TcpStream; [INFO] [stdout] 77 + use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::prelude` [INFO] [stdout] --> examples/test_client.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/test_client.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | stdin: Box, Error = io::Error> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> examples/test_client.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | stdin: Box, Error = io::Error> + Send>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fold` exists for struct `futures::sync::mpsc::UnboundedReceiver<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | let socket_writer = rx.fold(writer, |writer, msg| { [INFO] [stdout] | ---^^^^ method cannot be called on `futures::sync::mpsc::UnboundedReceiver<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/sync/mpsc/mod.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct UnboundedReceiver(Receiver); [INFO] [stdout] | ------------------------------- doesn't satisfy `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::sync::mpsc::UnboundedReceiver<_>: Iterator` [INFO] [stdout] which is required by `&mut futures::sync::mpsc::UnboundedReceiver<_>: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Stream` which provides `fold` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use futures::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crony` (example "test_client") due to 4 previous errors [INFO] [stdout] error[E0599]: the method `fold` exists for struct `futures::sync::mpsc::UnboundedReceiver<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | let socket_writer = rx.fold(writer, |writer, msg| { [INFO] [stdout] | ---^^^^ method cannot be called on `futures::sync::mpsc::UnboundedReceiver<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/sync/mpsc/mod.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct UnboundedReceiver(Receiver); [INFO] [stdout] | ------------------------------- doesn't satisfy `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::sync::mpsc::UnboundedReceiver<_>: Iterator` [INFO] [stdout] which is required by `&mut futures::sync::mpsc::UnboundedReceiver<_>: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Stream` which provides `fold` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use futures::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crony` (bin "crony") due to 3 previous errors [INFO] [stderr] error: could not compile `crony` (bin "crony" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "d16f12d81b1d3d808dec7ecb98369be6503ebefbbd5317caf754e8ad2373dc1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d16f12d81b1d3d808dec7ecb98369be6503ebefbbd5317caf754e8ad2373dc1a", kill_on_drop: false }` [INFO] [stdout] d16f12d81b1d3d808dec7ecb98369be6503ebefbbd5317caf754e8ad2373dc1a