[INFO] cloning repository https://github.com/CarsCupcake/BungeeRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CarsCupcake/BungeeRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarsCupcake%2FBungeeRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarsCupcake%2FBungeeRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e1c072b46fba1880633e3f32c3a6a4f9b82dc04 [INFO] checking CarsCupcake/BungeeRust against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarsCupcake%2FBungeeRust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CarsCupcake/BungeeRust [INFO] finished tweaking git repo https://github.com/CarsCupcake/BungeeRust [INFO] tweaked toml for git repo https://github.com/CarsCupcake/BungeeRust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CarsCupcake/BungeeRust on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CarsCupcake/BungeeRust 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typenum v1.16.0 [INFO] [stderr] Downloaded md-5 v0.10.5 [INFO] [stderr] Downloaded socket2 v0.5.3 [INFO] [stderr] Downloaded uuid v1.4.1 [INFO] [stderr] Downloaded serde_json v1.0.105 [INFO] [stderr] Downloaded syn v2.0.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c977527640802cc516241b7075ef99b37121c4ac5588ac9b759390988bff2c7 [INFO] running `Command { std: "docker" "start" "-a" "3c977527640802cc516241b7075ef99b37121c4ac5588ac9b759390988bff2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c977527640802cc516241b7075ef99b37121c4ac5588ac9b759390988bff2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c977527640802cc516241b7075ef99b37121c4ac5588ac9b759390988bff2c7", kill_on_drop: false }` [INFO] [stdout] 3c977527640802cc516241b7075ef99b37121c4ac5588ac9b759390988bff2c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2be426d3864d68323ca0d5df0f76bc57801e5bc599154af3e5d8a125a4ff4834 [INFO] running `Command { std: "docker" "start" "-a" "2be426d3864d68323ca0d5df0f76bc57801e5bc599154af3e5d8a125a4ff4834", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking bungee_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/net/packet/handshake/serverbound.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn send(channel: Box<&dyn Connection>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FloatDes` is never constructed [INFO] [stdout] --> src/file/deserializers.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct FloatDes {} [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 `players` is never read [INFO] [stdout] --> src/net/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Server<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | players: Vec> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_players` is never used [INFO] [stdout] --> src/net/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Server<'_> { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 25 | fn get_players(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stage` is never read [INFO] [stdout] --> src/net/connection.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Channel { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 13 | stream: TcpStream, [INFO] [stdout] 14 | stage: Stage [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `server` is never read [INFO] [stdout] --> src/net/connection.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct Player<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 35 | channel: Channel, [INFO] [stdout] 36 | server: &'a Server<'a> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direcion` is never used [INFO] [stdout] --> src/net/packet/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Direcion { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PacketType` is never used [INFO] [stdout] --> src/net/packet/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum PacketType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PacketParser` is never constructed [INFO] [stdout] --> src/net/packet/mod.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PacketParser { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Packet` is never used [INFO] [stdout] --> src/net/packet/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Packet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handshake` is never constructed [INFO] [stdout] --> src/net/packet/handshake/serverbound.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Handshake { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/file/configuration.rs:85:93 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_or_default<'a>(&'a self, location: String, default: &'a dyn Serializable) -> &dyn Serializable { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_or_default<'a>(&'a self, location: String, default: &'a dyn Serializable) -> &'a dyn Serializable { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/net/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | SERVERS.push(Server{ name: s.0,ip: s.1.get_int32(), players: Vec::new()}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/net/mod.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_players(&self) -> &Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | fn get_players(&self) -> &Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/net/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | SERVERS.get_mut(0).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/net/packet/handshake/serverbound.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn send(channel: Box<&dyn Connection>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FloatDes` is never constructed [INFO] [stdout] --> src/file/deserializers.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct FloatDes {} [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 `players` is never read [INFO] [stdout] --> src/net/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Server<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | players: Vec> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_players` is never used [INFO] [stdout] --> src/net/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Server<'_> { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 25 | fn get_players(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stage` is never read [INFO] [stdout] --> src/net/connection.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Channel { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 13 | stream: TcpStream, [INFO] [stdout] 14 | stage: Stage [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `server` is never read [INFO] [stdout] --> src/net/connection.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct Player<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 35 | channel: Channel, [INFO] [stdout] 36 | server: &'a Server<'a> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direcion` is never used [INFO] [stdout] --> src/net/packet/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Direcion { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PacketType` is never used [INFO] [stdout] --> src/net/packet/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum PacketType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PacketParser` is never constructed [INFO] [stdout] --> src/net/packet/mod.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PacketParser { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Packet` is never used [INFO] [stdout] --> src/net/packet/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Packet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handshake` is never constructed [INFO] [stdout] --> src/net/packet/handshake/serverbound.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Handshake { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/file/configuration.rs:85:93 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_or_default<'a>(&'a self, location: String, default: &'a dyn Serializable) -> &dyn Serializable { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_or_default<'a>(&'a self, location: String, default: &'a dyn Serializable) -> &'a dyn Serializable { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/net/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | SERVERS.push(Server{ name: s.0,ip: s.1.get_int32(), players: Vec::new()}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/net/mod.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_players(&self) -> &Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | fn get_players(&self) -> &Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/net/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | SERVERS.get_mut(0).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.50s [INFO] running `Command { std: "docker" "inspect" "2be426d3864d68323ca0d5df0f76bc57801e5bc599154af3e5d8a125a4ff4834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2be426d3864d68323ca0d5df0f76bc57801e5bc599154af3e5d8a125a4ff4834", kill_on_drop: false }` [INFO] [stdout] 2be426d3864d68323ca0d5df0f76bc57801e5bc599154af3e5d8a125a4ff4834