[INFO] updating cached repository https://github.com/replicatedu/management_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] feda455cf83d05995e48569787f09174a03c75ac [INFO] testing replicatedu/management_server/feda455cf83d05995e48569787f09174a03c75ac against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freplicatedu%2Fmanagement_server" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/replicatedu/management_server on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/replicatedu/management_server [INFO] finished tweaking git repo https://github.com/replicatedu/management_server [INFO] tweaked toml for git repo https://github.com/replicatedu/management_server written to /workspace/builds/worker-76/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/replicatedu/docker_wrapper.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbcbfbb3ebdb65d3d9de8336726b64b3ebfa7dc49839705c2359a89333332006 [INFO] running `Command { std: "docker" "start" "-a" "cbcbfbb3ebdb65d3d9de8336726b64b3ebfa7dc49839705c2359a89333332006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbcbfbb3ebdb65d3d9de8336726b64b3ebfa7dc49839705c2359a89333332006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbcbfbb3ebdb65d3d9de8336726b64b3ebfa7dc49839705c2359a89333332006", kill_on_drop: false }` [INFO] [stdout] cbcbfbb3ebdb65d3d9de8336726b64b3ebfa7dc49839705c2359a89333332006 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccf5f1fabed7dda00b6e3a017f1ae39bf0178b46907f11eaf511e21b3969b2b0 [INFO] running `Command { std: "docker" "start" "-a" "ccf5f1fabed7dda00b6e3a017f1ae39bf0178b46907f11eaf511e21b3969b2b0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling docker_wrapper v0.1.0 (https://github.com/replicatedu/docker_wrapper.git#fe084454) [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.23.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling management_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `management_server` due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | if (*counter_d >= MAX_USERS) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 159 - if (*counter_d >= MAX_USERS) { [INFO] [stdout] 159 + if *counter_d >= MAX_USERS { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:165:36 [INFO] [stdout] | [INFO] [stdout] 165 | port_add = ((port_add + 1) % 30); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - port_add = ((port_add + 1) % 30); [INFO] [stdout] 165 + port_add = (port_add + 1) % 30; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:168:51 [INFO] [stdout] | [INFO] [stdout] 168 | ... handle_client(stream, (port_add + port_start), counter2) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - handle_client(stream, (port_add + port_start), counter2) [INFO] [stdout] 168 + handle_client(stream, port_add + port_start, counter2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `String` cannot be built from an iterator over elements of type `u8` [INFO] [stdout] --> src/main.rs:30:80 [INFO] [stdout] | [INFO] [stdout] 30 | let rand_string: String = thread_rng().sample_iter(&Alphanumeric).take(30).collect(); [INFO] [stdout] | ^^^^^^^ value of type `String` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `String` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crossterm::ClearType` [INFO] [stdout] --> src/client.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crossterm::{terminal,ClearType}; [INFO] [stdout] | ^^^^^^^^^ no `ClearType` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `String` cannot be built from an iterator over elements of type `u8` [INFO] [stdout] --> src/main.rs:31:78 [INFO] [stdout] | [INFO] [stdout] 31 | let rand_path: String = thread_rng().sample_iter(&Alphanumeric).take(30).collect(); [INFO] [stdout] | ^^^^^^^ value of type `String` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `String` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `terminal` [INFO] [stdout] --> src/client.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let mut terminal = terminal(); [INFO] [stdout] | ^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ccf5f1fabed7dda00b6e3a017f1ae39bf0178b46907f11eaf511e21b3969b2b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf5f1fabed7dda00b6e3a017f1ae39bf0178b46907f11eaf511e21b3969b2b0", kill_on_drop: false }` [INFO] [stdout] ccf5f1fabed7dda00b6e3a017f1ae39bf0178b46907f11eaf511e21b3969b2b0