[INFO] cloning repository https://github.com/XavilPergis/testrepodontfork [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XavilPergis/testrepodontfork" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXavilPergis%2Ftestrepodontfork", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXavilPergis%2Ftestrepodontfork'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 063e62f3f562d3b9eeca0cfb3a79a34cbc642653 [INFO] testing XavilPergis/testrepodontfork against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXavilPergis%2Ftestrepodontfork" "/workspace/builds/worker-45/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-45/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/XavilPergis/testrepodontfork on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/XavilPergis/testrepodontfork [INFO] finished tweaking git repo https://github.com/XavilPergis/testrepodontfork [INFO] tweaked toml for git repo https://github.com/XavilPergis/testrepodontfork written to /workspace/builds/worker-45/source/Cargo.toml [INFO] crate git repo https://github.com/XavilPergis/testrepodontfork already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fd5e360e4f177948ad874262fb0bc4c85db473b66dcfce8c8bfc5bb0b24e660 [INFO] running `Command { std: "docker" "start" "-a" "0fd5e360e4f177948ad874262fb0bc4c85db473b66dcfce8c8bfc5bb0b24e660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fd5e360e4f177948ad874262fb0bc4c85db473b66dcfce8c8bfc5bb0b24e660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fd5e360e4f177948ad874262fb0bc4c85db473b66dcfce8c8bfc5bb0b24e660", kill_on_drop: false }` [INFO] [stdout] 0fd5e360e4f177948ad874262fb0bc4c85db473b66dcfce8c8bfc5bb0b24e660 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e39b93045a160b0ac0de0c2bf1cbb00b2db661fc308683fcdc62642c7dbdf84e [INFO] running `Command { std: "docker" "start" "-a" "e39b93045a160b0ac0de0c2bf1cbb00b2db661fc308683fcdc62642c7dbdf84e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling crossterm v0.21.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling chatserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientMessage` [INFO] [stdout] --> src/server/client.rs:519:33 [INFO] [stdout] | [INFO] [stdout] 519 | let _ = packet_channel.send(ClientMessage::Disconnect); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ClientMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientMessage` [INFO] [stdout] --> src/server/client.rs:488:27 [INFO] [stdout] | [INFO] [stdout] 488 | .send(ClientMessage::ReceivePacket(packet)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::server::client::message::ClientMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `packet_channel` in this scope [INFO] [stdout] --> src/server/client.rs:519:13 [INFO] [stdout] | [INFO] [stdout] 519 | let _ = packet_channel.send(ClientMessage::Disconnect); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pin::Pin` [INFO] [stdout] --> src/client/backend.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, pin::Pin, sync::Arc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/server/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicFuture` [INFO] [stdout] --> src/server/mod.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::common::{CommonError, DynamicFuture}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oneshot` [INFO] [stdout] --> src/server/client.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | oneshot, watch, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicFuture`, `server::room::BroadcastDisconnection` [INFO] [stdout] --> src/server/client.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | DynamicFuture, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | }, [INFO] [stdout] 23 | server::room::BroadcastDisconnection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder`, `ServerError` [INFO] [stdout] --> src/server/client.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | ActorReference, ErasedDispatcher, MessageHandler, Responder, ServerError, ServerResult, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::Future` [INFO] [stdout] --> src/server/room.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, future::Future, pin::Pin, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnboundedSender` [INFO] [stdout] --> src/server/room.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::mpsc::{self, UnboundedReceiver, UnboundedSender}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicFuture` [INFO] [stdout] --> src/server/room.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | DynamicFuture, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder`, `ServerError`, `get_responder` [INFO] [stdout] --> src/server/room.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | client::ClientRef, get_responder, instance::InstanceRef, ActorReference, ErasedDispatcher, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | MessageHandler, Responder, ServerError, ServerResult, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/client/net_handlers.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 92 | room: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 93 | message: message.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/server/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 30 | / loop { [INFO] [stdout] 31 | | let (stream, addr) = listener.accept().await?; [INFO] [stdout] 32 | | instance.send(instance::InstanceMessage::EstablishConnection { stream, addr }); [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 34 | [INFO] [stdout] 35 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send` found for reference `&server::client::ClientRef` in the current scope [INFO] [stdout] --> src/server/client.rs:488:22 [INFO] [stdout] | [INFO] [stdout] 488 | .send(ClientMessage::ReceivePacket(packet)) [INFO] [stdout] | ^^^^ method not found in `&server::client::ClientRef` [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 trait defines an item `send`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SinkExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chatserver` due to 5 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e39b93045a160b0ac0de0c2bf1cbb00b2db661fc308683fcdc62642c7dbdf84e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39b93045a160b0ac0de0c2bf1cbb00b2db661fc308683fcdc62642c7dbdf84e", kill_on_drop: false }` [INFO] [stdout] e39b93045a160b0ac0de0c2bf1cbb00b2db661fc308683fcdc62642c7dbdf84e