[INFO] cloning repository https://github.com/vitorhnn/trabalho-sd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vitorhnn/trabalho-sd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitorhnn%2Ftrabalho-sd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitorhnn%2Ftrabalho-sd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5c0f5169c07b721a722577d8805e50c4ea0ca0a [INFO] testing vitorhnn/trabalho-sd against 1.63.0 for beta-1.64-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitorhnn%2Ftrabalho-sd" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vitorhnn/trabalho-sd on toolchain 1.63.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vitorhnn/trabalho-sd [INFO] finished tweaking git repo https://github.com/vitorhnn/trabalho-sd [INFO] tweaked toml for git repo https://github.com/vitorhnn/trabalho-sd written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/vitorhnn/trabalho-sd already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termion v1.5.2 [INFO] [stderr] Downloaded serde v1.0.91 [INFO] [stderr] Downloaded serde_derive v1.0.91 [INFO] [stderr] Downloaded libc v0.2.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4d68feb707821d8d8c070642de7c75896aafa78a4f1e389c200bc01bdf021eb [INFO] running `Command { std: "docker" "start" "-a" "e4d68feb707821d8d8c070642de7c75896aafa78a4f1e389c200bc01bdf021eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4d68feb707821d8d8c070642de7c75896aafa78a4f1e389c200bc01bdf021eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d68feb707821d8d8c070642de7c75896aafa78a4f1e389c200bc01bdf021eb", kill_on_drop: false }` [INFO] [stdout] e4d68feb707821d8d8c070642de7c75896aafa78a4f1e389c200bc01bdf021eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3db7e045b4b5cc24a708c9e5f797de9f2141168ada69f19400bef1141e998261 [INFO] running `Command { std: "docker" "start" "-a" "3db7e045b4b5cc24a708c9e5f797de9f2141168ada69f19400bef1141e998261", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling bincode v1.1.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling socket2 v0.3.9 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling trabalhosd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:158:47 [INFO] [stdout] | [INFO] [stdout] 158 | fn execute(self: Box) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - fn execute(self: Box) -> Result, Box> { [INFO] [stdout] 158 + fn execute(self: Box) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:158:64 [INFO] [stdout] | [INFO] [stdout] 158 | fn execute(self: Box) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - fn execute(self: Box) -> Result, Box> { [INFO] [stdout] 158 + fn execute(self: Box) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:168:47 [INFO] [stdout] | [INFO] [stdout] 168 | fn execute(self: Box) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 168 - fn execute(self: Box) -> Result, Box> { [INFO] [stdout] 168 + fn execute(self: Box) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:168:64 [INFO] [stdout] | [INFO] [stdout] 168 | fn execute(self: Box) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 168 - fn execute(self: Box) -> Result, Box> { [INFO] [stdout] 168 + fn execute(self: Box) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 280 | / loop { [INFO] [stdout] 281 | | process_state = process_state.execute()?; [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 283 | [INFO] [stdout] 284 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnknownLeader`, `WaitingForChallengeResponse`, `RunLeaderLogic` and `RunFollowerLogic` are never constructed [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 32 | UnknownLeader, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | WaitingForChallengeResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | RunLeaderLogic, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | RunFollowerLogic { leader_id: u64 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rng` is never read [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct SharedState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | rng: ThreadRng, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `leader_id` and `shared_state` are never read [INFO] [stdout] --> src/main.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 152 | struct RunFollowerLogic { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 153 | leader_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 154 | shared_state: SharedState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.47s [INFO] running `Command { std: "docker" "inspect" "3db7e045b4b5cc24a708c9e5f797de9f2141168ada69f19400bef1141e998261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db7e045b4b5cc24a708c9e5f797de9f2141168ada69f19400bef1141e998261", kill_on_drop: false }` [INFO] [stdout] 3db7e045b4b5cc24a708c9e5f797de9f2141168ada69f19400bef1141e998261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d062c9d84c896ec8517a9f62a897780b6d3242ccbdb4f581fec93a39830cfae4 [INFO] running `Command { std: "docker" "start" "-a" "d062c9d84c896ec8517a9f62a897780b6d3242ccbdb4f581fec93a39830cfae4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling trabalhosd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:158:47 [INFO] [stdout] | [INFO] [stdout] 158 | fn execute(self: Box) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - fn execute(self: Box) -> Result, Box> { [INFO] [stdout] 158 + fn execute(self: Box) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:158:64 [INFO] [stdout] | [INFO] [stdout] 158 | fn execute(self: Box) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - fn execute(self: Box) -> Result, Box> { [INFO] [stdout] 158 + fn execute(self: Box) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:168:47 [INFO] [stdout] | [INFO] [stdout] 168 | fn execute(self: Box) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 168 - fn execute(self: Box) -> Result, Box> { [INFO] [stdout] 168 + fn execute(self: Box) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:168:64 [INFO] [stdout] | [INFO] [stdout] 168 | fn execute(self: Box) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 168 - fn execute(self: Box) -> Result, Box> { [INFO] [stdout] 168 + fn execute(self: Box) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 280 | / loop { [INFO] [stdout] 281 | | process_state = process_state.execute()?; [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 283 | [INFO] [stdout] 284 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnknownLeader`, `WaitingForChallengeResponse`, `RunLeaderLogic` and `RunFollowerLogic` are never constructed [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 32 | UnknownLeader, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | WaitingForChallengeResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | RunLeaderLogic, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | RunFollowerLogic { leader_id: u64 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rng` is never read [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct SharedState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | rng: ThreadRng, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `leader_id` and `shared_state` are never read [INFO] [stdout] --> src/main.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 152 | struct RunFollowerLogic { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 153 | leader_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 154 | shared_state: SharedState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "d062c9d84c896ec8517a9f62a897780b6d3242ccbdb4f581fec93a39830cfae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d062c9d84c896ec8517a9f62a897780b6d3242ccbdb4f581fec93a39830cfae4", kill_on_drop: false }` [INFO] [stdout] d062c9d84c896ec8517a9f62a897780b6d3242ccbdb4f581fec93a39830cfae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 953a99313ff8969490ae14e89118fe6dc2abffe73bbbf4e549c71cf54304200a [INFO] running `Command { std: "docker" "start" "-a" "953a99313ff8969490ae14e89118fe6dc2abffe73bbbf4e549c71cf54304200a", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:158:47 [INFO] [stderr] | [INFO] [stderr] 158 | fn execute(self: Box) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 158 - fn execute(self: Box) -> Result, Box> { [INFO] [stderr] 158 + fn execute(self: Box) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:158:64 [INFO] [stderr] | [INFO] [stderr] 158 | fn execute(self: Box) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 158 - fn execute(self: Box) -> Result, Box> { [INFO] [stderr] 158 + fn execute(self: Box) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:168:47 [INFO] [stderr] | [INFO] [stderr] 168 | fn execute(self: Box) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 168 - fn execute(self: Box) -> Result, Box> { [INFO] [stderr] 168 + fn execute(self: Box) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:168:64 [INFO] [stderr] | [INFO] [stderr] 168 | fn execute(self: Box) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 168 - fn execute(self: Box) -> Result, Box> { [INFO] [stderr] 168 + fn execute(self: Box) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:284:5 [INFO] [stderr] | [INFO] [stderr] 280 | / loop { [INFO] [stderr] 281 | | process_state = process_state.execute()?; [INFO] [stderr] 282 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 283 | [INFO] [stderr] 284 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `UnknownLeader`, `WaitingForChallengeResponse`, `RunLeaderLogic` and `RunFollowerLogic` are never constructed [INFO] [stderr] --> src/main.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | enum State { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] 32 | UnknownLeader, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 33 | WaitingForChallengeResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 34 | RunLeaderLogic, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 35 | RunFollowerLogic { leader_id: u64 }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `rng` is never read [INFO] [stderr] --> src/main.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 45 | struct SharedState { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 48 | rng: ThreadRng, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `leader_id` and `shared_state` are never read [INFO] [stderr] --> src/main.rs:153:5 [INFO] [stderr] | [INFO] [stderr] 152 | struct RunFollowerLogic { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 153 | leader_id: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 154 | shared_state: SharedState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `trabalhosd` (bin "trabalhosd" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trabalhosd-ef64e81630db71b8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "953a99313ff8969490ae14e89118fe6dc2abffe73bbbf4e549c71cf54304200a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "953a99313ff8969490ae14e89118fe6dc2abffe73bbbf4e549c71cf54304200a", kill_on_drop: false }` [INFO] [stdout] 953a99313ff8969490ae14e89118fe6dc2abffe73bbbf4e549c71cf54304200a