[INFO] cloning repository https://github.com/conwayste/netwayste [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/conwayste/netwayste" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconwayste%2Fnetwayste", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconwayste%2Fnetwayste'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 986b6eb3f09744651524a628ec74dbb47d7063f1 [INFO] building conwayste/netwayste against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconwayste%2Fnetwayste" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/conwayste/netwayste [INFO] finished tweaking git repo https://github.com/conwayste/netwayste [INFO] tweaked toml for git repo https://github.com/conwayste/netwayste written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/conwayste/netwayste on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 166 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.10.1 (available: v0.22.1) [INFO] [stderr] Adding bincode v0.9.2 (available: v2.0.1) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.48) [INFO] [stderr] Adding color-backtrace v0.1.3 (available: v0.7.1) [INFO] [stderr] Adding env_logger v0.6.2 (available: v0.11.8) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding proptest v0.7.2 (available: v1.8.0) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.27) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v0.6.14 [INFO] [stderr] Downloaded net2 v0.2.39 [INFO] [stderr] Downloaded tokio-executor v0.1.10 [INFO] [stderr] Downloaded tokio-sync v0.1.8 [INFO] [stderr] Downloaded blake2b_simd v0.5.11 [INFO] [stderr] Downloaded base64 v0.10.1 [INFO] [stderr] Downloaded term v0.5.2 [INFO] [stderr] Downloaded bincode v0.9.2 [INFO] [stderr] Downloaded redox_users v0.3.5 [INFO] [stderr] Downloaded windows-interface v0.59.2 [INFO] [stderr] Downloaded windows-core v0.62.1 [INFO] [stderr] Downloaded serde_derive v1.0.228 [INFO] [stderr] Downloaded regex-syntax v0.4.2 [INFO] [stderr] Downloaded proptest v0.7.2 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] [stderr] Downloaded serde v1.0.228 [INFO] [stderr] Downloaded memoffset v0.5.6 [INFO] [stderr] Downloaded tokio-codec v0.1.2 [INFO] [stderr] Downloaded autocfg v0.1.8 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded scoped-tls v0.1.2 [INFO] [stderr] Downloaded tokio-current-thread v0.1.7 [INFO] [stderr] Downloaded tokio-tcp v0.1.4 [INFO] [stderr] Downloaded crossbeam-deque v0.7.4 [INFO] [stderr] Downloaded tokio-timer v0.2.13 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded windows-implement v0.60.1 [INFO] [stderr] Downloaded rust-argon2 v0.8.3 [INFO] [stderr] Downloaded serde_core v1.0.228 [INFO] [stderr] Downloaded tokio-fs v0.1.7 [INFO] [stderr] Downloaded tokio-threadpool v0.1.18 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded parking_lot_core v0.6.3 [INFO] [stderr] Downloaded tokio-dns-unofficial v0.4.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded tokio-udp v0.1.6 [INFO] [stderr] Downloaded tokio-reactor v0.1.12 [INFO] [stderr] Downloaded tokio-uds v0.2.7 [INFO] [stderr] Downloaded color-backtrace v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 726490837dad78b318f83256d4b26674c9a0519c66ce5a8641a2e059459f8d6a [INFO] running `Command { std: "docker" "start" "-a" "726490837dad78b318f83256d4b26674c9a0519c66ce5a8641a2e059459f8d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "726490837dad78b318f83256d4b26674c9a0519c66ce5a8641a2e059459f8d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "726490837dad78b318f83256d4b26674c9a0519c66ce5a8641a2e059459f8d6a", kill_on_drop: false }` [INFO] [stdout] 726490837dad78b318f83256d4b26674c9a0519c66ce5a8641a2e059459f8d6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff61a43b0db2e27659c024ead0c498f70367e4c9dd95073a8d2033090be292fd [INFO] running `Command { std: "docker" "start" "-a" "ff61a43b0db2e27659c024ead0c498f70367e4c9dd95073a8d2033090be292fd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling proptest v0.7.2 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-dns-unofficial v0.4.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling color-backtrace v0.1.3 [INFO] [stderr] Compiling bincode v0.9.2 [INFO] [stderr] Compiling netwayste v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:291:60 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn handle_response_ok(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 291 | pub fn handle_response_ok(&mut self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:619:127 [INFO] [stdout] | [INFO] [stdout] 619 | pub fn process_player_request_action(&mut self, player_id: PlayerID, action: RequestAction) -> Result, Box> { [INFO] [stdout] | ^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 619 | pub fn process_player_request_action(&mut self, player_id: PlayerID, action: RequestAction) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:811:101 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn decode_packet(&mut self, addr: SocketAddr, packet: Packet) -> Result, Box> { [INFO] [stdout] | ^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 811 | pub fn decode_packet(&mut self, addr: SocketAddr, packet: Packet) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:976:97 [INFO] [stdout] | [INFO] [stdout] 976 | pub fn construct_client_updates(&mut self) -> Result>, Box> { [INFO] [stdout] | ^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 976 | pub fn construct_client_updates(&mut self) -> Result>, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MATCH_FOUND_SENTINEL` is never used [INFO] [stdout] --> src/net.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | const MATCH_FOUND_SENTINEL: usize = 110; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/net.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | AddrParseError(net::AddrParseError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NetError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 - AddrParseError(net::AddrParseError), [INFO] [stdout] 71 + AddrParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/net.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | IoError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NetError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - IoError(io::Error), [INFO] [stdout] 72 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/net.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub trait NetworkQueue { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 438 | fn head_of_queue(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | fn tail_of_queue(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | fn newest_seq_num(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | fn oldest_seq_num(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | fn push_back(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | fn push_front(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | fn insert(&mut self, index: usize, item: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | fn is_seq_sufficiently_far_away(&self, a: u64, b: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | fn will_seq_cause_a_wrap(&self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | fn remove(&mut self, pkt: &T) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 510 | [INFO] [stdout] 511 | fn discard_older_items(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 512 | fn buffer_item(&mut self, item: T) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_rx_insertion_index`, `find_rx_insertion_index_in_subset`, and `insert_into_rx_queue` are never used [INFO] [stdout] --> src/net.rs:745:8 [INFO] [stdout] | [INFO] [stdout] 739 | impl NetQueue where T: Sequenced+Debug+Clone { [INFO] [stdout] | -------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 745 | fn find_rx_insertion_index(&self, item: &T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | fn find_rx_insertion_index_in_subset(&self, start: usize, end: usize, item: &T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 792 | fn insert_into_rx_queue(&mut self, index: Option, item: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.97s [INFO] running `Command { std: "docker" "inspect" "ff61a43b0db2e27659c024ead0c498f70367e4c9dd95073a8d2033090be292fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff61a43b0db2e27659c024ead0c498f70367e4c9dd95073a8d2033090be292fd", kill_on_drop: false }` [INFO] [stdout] ff61a43b0db2e27659c024ead0c498f70367e4c9dd95073a8d2033090be292fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bad1c25af631f3a70e36cf5a85067397bc0954ddbf4cfa3caf4177d7d65ab651 [INFO] running `Command { std: "docker" "start" "-a" "bad1c25af631f3a70e36cf5a85067397bc0954ddbf4cfa3caf4177d7d65ab651", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:291:60 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn handle_response_ok(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 291 | pub fn handle_response_ok(&mut self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling netwayste v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[should_panic]` attribute cannot be used on macro calls [INFO] [stdout] --> src/server.rs:1471:13 [INFO] [stdout] | [INFO] [stdout] 1471 | #[should_panic] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[should_panic]` can only be applied to functions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Packet`, `RequestAction`, and `ResponseCode` [INFO] [stdout] --> examples/cli-client.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | net::{NetwaysteEvent, RequestAction, Packet, ResponseCode}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `should_panic` [INFO] [stdout] --> src/server.rs:2552:19 [INFO] [stdout] | [INFO] [stdout] 2552 | #[cfg(not(should_panic))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(should_panic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(should_panic)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:619:127 [INFO] [stdout] | [INFO] [stdout] 619 | pub fn process_player_request_action(&mut self, player_id: PlayerID, action: RequestAction) -> Result, Box> { [INFO] [stdout] | ^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 619 | pub fn process_player_request_action(&mut self, player_id: PlayerID, action: RequestAction) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:811:101 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn decode_packet(&mut self, addr: SocketAddr, packet: Packet) -> Result, Box> { [INFO] [stdout] | ^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 811 | pub fn decode_packet(&mut self, addr: SocketAddr, packet: Packet) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:976:97 [INFO] [stdout] | [INFO] [stdout] 976 | pub fn construct_client_updates(&mut self) -> Result>, Box> { [INFO] [stdout] | ^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 976 | pub fn construct_client_updates(&mut self) -> Result>, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:291:60 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn handle_response_ok(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 291 | pub fn handle_response_ok(&mut self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MATCH_FOUND_SENTINEL` is never used [INFO] [stdout] --> src/net.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | const MATCH_FOUND_SENTINEL: usize = 110; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/net.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | AddrParseError(net::AddrParseError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NetError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 - AddrParseError(net::AddrParseError), [INFO] [stdout] 71 + AddrParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/net.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | IoError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NetError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - IoError(io::Error), [INFO] [stdout] 72 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/net.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub trait NetworkQueue { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 438 | fn head_of_queue(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | fn tail_of_queue(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | fn newest_seq_num(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | fn oldest_seq_num(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | fn push_back(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | fn push_front(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | fn insert(&mut self, index: usize, item: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | fn is_seq_sufficiently_far_away(&self, a: u64, b: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | fn will_seq_cause_a_wrap(&self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | fn remove(&mut self, pkt: &T) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 510 | [INFO] [stdout] 511 | fn discard_older_items(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 512 | fn buffer_item(&mut self, item: T) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_rx_insertion_index`, `find_rx_insertion_index_in_subset`, and `insert_into_rx_queue` are never used [INFO] [stdout] --> src/net.rs:745:8 [INFO] [stdout] | [INFO] [stdout] 739 | impl NetQueue where T: Sequenced+Debug+Clone { [INFO] [stdout] | -------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 745 | fn find_rx_insertion_index(&self, item: &T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | fn find_rx_insertion_index_in_subset(&self, start: usize, end: usize, item: &T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 792 | fn insert_into_rx_queue(&mut self, index: Option, item: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/server.rs:2242:13 [INFO] [stdout] | [INFO] [stdout] 2242 | player.cookie.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2242 | let _ = player.cookie.clone(); [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.62s [INFO] running `Command { std: "docker" "inspect" "bad1c25af631f3a70e36cf5a85067397bc0954ddbf4cfa3caf4177d7d65ab651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad1c25af631f3a70e36cf5a85067397bc0954ddbf4cfa3caf4177d7d65ab651", kill_on_drop: false }` [INFO] [stdout] bad1c25af631f3a70e36cf5a85067397bc0954ddbf4cfa3caf4177d7d65ab651