[INFO] fetching crate tarpc-lib 0.7.0...
[INFO] testing tarpc-lib-0.7.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate tarpc-lib 0.7.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate tarpc-lib 0.7.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tarpc-lib 0.7.0
[INFO] finished tweaking crates.io crate tarpc-lib 0.7.0
[INFO] tweaked toml for crates.io crate tarpc-lib 0.7.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 69 packages to latest compatible versions
[INFO] [stderr]       Adding env_logger v0.6.2 (available: v0.11.5)
[INFO] [stderr]       Adding humantime v1.3.0 (available: v2.1.0)
[INFO] [stderr]       Adding rand v0.7.3 (available: v0.8.5)
[INFO] [stderr]       Adding tokio v0.2.25 (available: v1.41.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8dfd0d6da6831c331e61de4ae271e448f73f225dc3d096712e8a5af3eac3e0d2
[INFO] running `Command { std: "docker" "start" "-a" "8dfd0d6da6831c331e61de4ae271e448f73f225dc3d096712e8a5af3eac3e0d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8dfd0d6da6831c331e61de4ae271e448f73f225dc3d096712e8a5af3eac3e0d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8dfd0d6da6831c331e61de4ae271e448f73f225dc3d096712e8a5af3eac3e0d2", kill_on_drop: false }`
[INFO] [stdout] 8dfd0d6da6831c331e61de4ae271e448f73f225dc3d096712e8a5af3eac3e0d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3288e040885a96f43c47f5d73faa28a12ff49014a9f34221c061b5acd1cae318
[INFO] running `Command { std: "docker" "start" "-a" "3288e040885a96f43c47f5d73faa28a12ff49014a9f34221c061b5acd1cae318", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-core-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling futures-sink-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling futures-io-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling futures-channel-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling futures-util-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling tarpc-trace v0.3.0
[INFO] [stderr]    Compiling futures-executor-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling tokio-executor v0.2.0-alpha.6
[INFO] [stderr]    Compiling tokio-sync v0.2.0-alpha.6
[INFO] [stderr]    Compiling futures-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling tokio-timer v0.3.0-alpha.6
[INFO] [stderr]    Compiling tarpc-lib v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![feature(weak_counts, non_exhaustive, trait_alias)]
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `weak_counts` has been stable since 1.41.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![feature(weak_counts, non_exhaustive, trait_alias)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ctx` is never read
[INFO] [stdout]    --> src/client/channel.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 159 | struct DispatchResponse<Resp> {
[INFO] [stdout]     |        ---------------- field in this struct
[INFO] [stdout] 160 |     response: Timeout<oneshot::Receiver<Response<Resp>>>,
[INFO] [stdout] 161 |     ctx: context::Context,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DispatchResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tracker` is never read
[INFO] [stdout]   --> src/server/filter.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct TrackedChannel<C, K> {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 44 |     inner: C,
[INFO] [stdout] 45 |     tracker: Arc<Tracker<K>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TrackedChannel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.28s
[INFO] running `Command { std: "docker" "inspect" "3288e040885a96f43c47f5d73faa28a12ff49014a9f34221c061b5acd1cae318", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3288e040885a96f43c47f5d73faa28a12ff49014a9f34221c061b5acd1cae318", kill_on_drop: false }`
[INFO] [stdout] 3288e040885a96f43c47f5d73faa28a12ff49014a9f34221c061b5acd1cae318
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a95bbd2c2ea9526886ac654efb6c17cc981ec1c6bc3c76c6dcf3f7023638c70a
[INFO] running `Command { std: "docker" "start" "-a" "a95bbd2c2ea9526886ac654efb6c17cc981ec1c6bc3c76c6dcf3f7023638c70a", kill_on_drop: false }`
[INFO] [stderr]    Compiling assert_matches v1.5.0
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling futures-test-preview v0.3.0-alpha.19
[INFO] [stdout] warning: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![feature(weak_counts, non_exhaustive, trait_alias)]
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `weak_counts` has been stable since 1.41.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![feature(weak_counts, non_exhaustive, trait_alias)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ctx` is never read
[INFO] [stdout]    --> src/client/channel.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 159 | struct DispatchResponse<Resp> {
[INFO] [stdout]     |        ---------------- field in this struct
[INFO] [stdout] 160 |     response: Timeout<oneshot::Receiver<Response<Resp>>>,
[INFO] [stdout] 161 |     ctx: context::Context,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DispatchResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tracker` is never read
[INFO] [stdout]   --> src/server/filter.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct TrackedChannel<C, K> {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 44 |     inner: C,
[INFO] [stdout] 45 |     tracker: Arc<Tracker<K>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TrackedChannel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling tarpc-lib v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]    --> src/client/channel.rs:736:9
[INFO] [stdout]     |
[INFO] [stdout] 736 |     use tokio::runtime::current_thread;
[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]   --> src/transport/channel.rs:90:7
[INFO] [stdout]    |
[INFO] [stdout] 90 |     #[tokio::test]
[INFO] [stdout]    |       ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Handler`
[INFO] [stdout]   --> src/transport/channel.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |         server::{Handler, Server},
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![feature(weak_counts, non_exhaustive, trait_alias)]
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `weak_counts` has been stable since 1.41.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![feature(weak_counts, non_exhaustive, trait_alias)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/transport/channel.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |         tokio::spawn(
[INFO] [stdout]    |         ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `respond_with` found for opaque type `impl futures::Stream<Item = BaseChannel<_, _, UnboundedChannel<ClientMessage<_>, Response<_>>>>` in the current scope
[INFO] [stdout]    --> src/transport/channel.rs:98:18
[INFO] [stdout]     |
[INFO] [stdout] 96  | /             Server::default()
[INFO] [stdout] 97  | |                 .incoming(stream::once(future::ready(server_channel)))
[INFO] [stdout] 98  | |                 .respond_with(|_ctx, request: String| {
[INFO] [stdout]     | |                 -^^^^^^^^^^^^ method not found in `impl Stream<Item = BaseChannel<_, _, UnboundedChannel<ClientMessage<_>, Response<_>>>>`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `server::Channel` defines an item `respond_with`, perhaps you need to implement it
[INFO] [stdout]    --> src/server/mod.rs:243:1
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub trait Channel
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `spawn` found for struct `NewClient` in the current scope
[INFO] [stdout]    --> src/transport/channel.rs:108:81
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let mut client = client::new(client::Config::default(), client_channel).spawn()?;
[INFO] [stdout]     |                                                                                 ^^^^^ method not found in `NewClient<Channel<_, _>, RequestDispatch<_, _, UnboundedChannel<Response<_>, ClientMessage<_>>>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/client/mod.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub struct NewClient<C, D> {
[INFO] [stdout]     | -------------------------- method `spawn` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `spawn`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `SpawnExt`
[INFO] [stdout]             candidate #2: `tokio_executor::executor::Executor`
[INFO] [stdout]             candidate #3: `tokio_executor::typed::TypedExecutor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>`
[INFO] [stdout]    --> src/transport/channel.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let response2 = client.call(context::current(), "abc".into()).await?;
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |         assert_matches!(response2, Err(ref e) if e.kind() == io::ErrorKind::InvalidInput);
[INFO] [stdout]     |                                                    ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `response2` an explicit type, where the type for type parameter `E` is specified
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let response2: Result<T, E> = client.call(context::current(), "abc".into()).await?;
[INFO] [stdout]     |                      ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tarpc-lib` (lib test) due to 6 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a95bbd2c2ea9526886ac654efb6c17cc981ec1c6bc3c76c6dcf3f7023638c70a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a95bbd2c2ea9526886ac654efb6c17cc981ec1c6bc3c76c6dcf3f7023638c70a", kill_on_drop: false }`
[INFO] [stdout] a95bbd2c2ea9526886ac654efb6c17cc981ec1c6bc3c76c6dcf3f7023638c70a
