[INFO] cloning repository https://github.com/Leonti/rust-socket-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Leonti/rust-socket-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeonti%2Frust-socket-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeonti%2Frust-socket-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4fa0e7016aff899624955b07f456c2ab7c53ae15 [INFO] testing Leonti/rust-socket-server against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeonti%2Frust-socket-server" "/workspace/builds/worker-55/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-55/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Leonti/rust-socket-server on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-55/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Leonti/rust-socket-server [INFO] finished tweaking git repo https://github.com/Leonti/rust-socket-server [INFO] tweaked toml for git repo https://github.com/Leonti/rust-socket-server written to /workspace/builds/worker-55/source/Cargo.toml [INFO] crate git repo https://github.com/Leonti/rust-socket-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e51e925968c548b3682e2985df4116159ae02d8d25d216513595bbe2228ce29 [INFO] running `Command { std: "docker" "start" "-a" "4e51e925968c548b3682e2985df4116159ae02d8d25d216513595bbe2228ce29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e51e925968c548b3682e2985df4116159ae02d8d25d216513595bbe2228ce29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e51e925968c548b3682e2985df4116159ae02d8d25d216513595bbe2228ce29", kill_on_drop: false }` [INFO] [stdout] 4e51e925968c548b3682e2985df4116159ae02d8d25d216513595bbe2228ce29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeca3e1d0b4cb8aad7c30d8320a4c86aa6f12fe687db8cc849a438dadff89044 [INFO] running `Command { std: "docker" "start" "-a" "eeca3e1d0b4cb8aad7c30d8320a4c86aa6f12fe687db8cc849a438dadff89044", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling byte-tools v0.3.0 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.1 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling utf-8 v0.7.4 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling rpos_drv v0.2.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.0 [INFO] [stderr] Compiling walkdir v2.2.6 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling block-padding v0.1.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling base64 v0.10.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling rplidar_drv v0.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling serialport v3.3.0 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling mcp3008 v1.0.0 [INFO] [stderr] Compiling tungstenite v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling mio-serial v3.3.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.3 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-serial v3.3.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling tokio v0.1.11 [INFO] [stderr] Compiling tokio-dns-unofficial v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.6.0 [INFO] [stderr] Compiling sysfs_gpio v0.5.3 [INFO] [stderr] Compiling cargo_metadata v0.5.8 [INFO] [stderr] Compiling skeptic v0.13.3 [INFO] [stderr] Compiling i2cdev v0.3.2 [INFO] [stderr] Compiling rover_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/motor_handler.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | .expect("Time went backwards");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/main.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::prelude::*; [INFO] [stdout] | ----------------- the item `Sink` is already imported here [INFO] [stdout] ... [INFO] [stdout] 260 | use futures::Sink; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to an enum [INFO] [stdout] --> src/sensors/event.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | #[repr(u128)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | / pub fn new(event: Event) -> TimedEvent { [INFO] [stdout] 90 | | let start = SystemTime::now(); [INFO] [stdout] 91 | | let since_the_epoch = start [INFO] [stdout] 92 | | .duration_since(UNIX_EPOCH) [INFO] [stdout] ... | [INFO] [stdout] 97 | | TimedEvent { event, time } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____- not an enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | ) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [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] 226 - ) -> Box + Send> { [INFO] [stdout] 226 + ) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sensors/arduino.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> Box + Send> { [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] 160 - ) -> Box + Send> { [INFO] [stdout] 160 + ) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sensors/arduino.rs:204:41 [INFO] [stdout] | [INFO] [stdout] 204 | fn print_not_connected(self) -> Box + Send> { [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] 204 - fn print_not_connected(self) -> Box + Send> { [INFO] [stdout] 204 + fn print_not_connected(self) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/main.rs:176:44 [INFO] [stdout] | [INFO] [stdout] 176 | let n = try_ready!(self.socket.read_buf(&mut self.rd)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` implied by `#[warn(warnings)]` [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0517`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rover_server` due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eeca3e1d0b4cb8aad7c30d8320a4c86aa6f12fe687db8cc849a438dadff89044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeca3e1d0b4cb8aad7c30d8320a4c86aa6f12fe687db8cc849a438dadff89044", kill_on_drop: false }` [INFO] [stdout] eeca3e1d0b4cb8aad7c30d8320a4c86aa6f12fe687db8cc849a438dadff89044