[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 master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeonti%2Frust-socket-server" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Leonti/rust-socket-server on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-8/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73d5319132cdac36898900fa79897fa1e4c8eb1cc42338e396c7d70b7ad4fa7d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "73d5319132cdac36898900fa79897fa1e4c8eb1cc42338e396c7d70b7ad4fa7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73d5319132cdac36898900fa79897fa1e4c8eb1cc42338e396c7d70b7ad4fa7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73d5319132cdac36898900fa79897fa1e4c8eb1cc42338e396c7d70b7ad4fa7d", kill_on_drop: false }` [INFO] [stdout] 73d5319132cdac36898900fa79897fa1e4c8eb1cc42338e396c7d70b7ad4fa7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18938d1d1055c0ac6acf0b6ae0aee49332a3b98bb3fd2f1b0bd068fd81b21c0f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "18938d1d1055c0ac6acf0b6ae0aee49332a3b98bb3fd2f1b0bd068fd81b21c0f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling byte-tools v0.3.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling opaque-debug v0.2.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling utf-8 v0.7.4 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.6.0 [INFO] [stderr] Compiling base64 v0.10.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.2 [INFO] [stderr] Compiling walkdir v2.2.6 [INFO] [stderr] Compiling rpos_drv v0.2.0 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling rplidar_drv v0.6.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling generic-array v0.12.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 tempdir v0.3.7 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.8 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tungstenite v0.6.1 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling tokio-fs v0.1.4 [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 mcp3008 v1.0.0 [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 serde_derive v1.0.80 [INFO] [stderr] Compiling serialport v3.3.0 [INFO] [stderr] Compiling mio-serial v3.3.0 [INFO] [stderr] Compiling sysfs_gpio v0.5.3 [INFO] [stderr] Compiling tokio-serial v3.3.0 [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] error: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: `#[deny(redundant_semicolons)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | ) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: 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: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to 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] error: aborting due to 6 previous errors [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "18938d1d1055c0ac6acf0b6ae0aee49332a3b98bb3fd2f1b0bd068fd81b21c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18938d1d1055c0ac6acf0b6ae0aee49332a3b98bb3fd2f1b0bd068fd81b21c0f", kill_on_drop: false }` [INFO] [stdout] 18938d1d1055c0ac6acf0b6ae0aee49332a3b98bb3fd2f1b0bd068fd81b21c0f