[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] checking Leonti/rust-socket-server against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeonti%2Frust-socket-server" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Leonti/rust-socket-server on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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 cargo_metadata v0.5.8 [INFO] [stderr] Downloaded i2cdev v0.3.2 [INFO] [stderr] Downloaded rpos_drv v0.2.0 [INFO] [stderr] Downloaded crossbeam-utils v0.6.0 [INFO] [stderr] Downloaded mio-serial v3.3.0 [INFO] [stderr] Downloaded tokio-serial v3.3.0 [INFO] [stderr] Downloaded block-padding v0.1.2 [INFO] [stderr] Downloaded byte-tools v0.3.0 [INFO] [stderr] Downloaded spidev v0.3.0 [INFO] [stderr] Downloaded opaque-debug v0.2.1 [INFO] [stderr] Downloaded tokio-tungstenite v0.6.0 [INFO] [stderr] Downloaded tokio-dns-unofficial v0.3.1 [INFO] [stderr] Downloaded mcp3008 v1.0.0 [INFO] [stderr] Downloaded rplidar_drv v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd9e947b93ac0560fd14c483ae5df18dd5a3447c81f619c5a79344fd4f28576c [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" "dd9e947b93ac0560fd14c483ae5df18dd5a3447c81f619c5a79344fd4f28576c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd9e947b93ac0560fd14c483ae5df18dd5a3447c81f619c5a79344fd4f28576c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd9e947b93ac0560fd14c483ae5df18dd5a3447c81f619c5a79344fd4f28576c", kill_on_drop: false }` [INFO] [stdout] dd9e947b93ac0560fd14c483ae5df18dd5a3447c81f619c5a79344fd4f28576c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f33743b5362cd118186e34b8ee8eb476ddb8347e781c9f9adaf35cd1160eeb6 [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" "3f33743b5362cd118186e34b8ee8eb476ddb8347e781c9f9adaf35cd1160eeb6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking byte-tools v0.3.0 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking opaque-debug v0.2.1 [INFO] [stderr] Checking utf-8 v0.7.4 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking tokio-executor v0.1.5 [INFO] [stderr] Checking crossbeam-utils v0.6.0 [INFO] [stderr] Checking base64 v0.10.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling walkdir v2.2.6 [INFO] [stderr] Checking block-padding v0.1.2 [INFO] [stderr] Checking rpos_drv v0.2.0 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking tokio-timer v0.2.7 [INFO] [stderr] Checking tokio-current-thread v0.1.3 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rplidar_drv v0.6.0 [INFO] [stderr] Checking crossbeam-deque v0.6.2 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.0 [INFO] [stderr] Checking sha-1 v0.8.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-threadpool v0.1.8 [INFO] [stderr] Checking tungstenite v0.6.1 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking spidev v0.3.0 [INFO] [stderr] Checking mcp3008 v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking sysfs_gpio v0.5.3 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking mio-serial v3.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-reactor v0.1.6 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.3 [INFO] [stderr] Checking tokio-serial v3.3.0 [INFO] [stderr] Checking tokio v0.1.11 [INFO] [stderr] Checking tokio-dns-unofficial v0.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.6.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] Checking 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: 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 a struct, enum, or union [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 a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [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 a struct, enum, or union [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] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "3f33743b5362cd118186e34b8ee8eb476ddb8347e781c9f9adaf35cd1160eeb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f33743b5362cd118186e34b8ee8eb476ddb8347e781c9f9adaf35cd1160eeb6", kill_on_drop: false }` [INFO] [stdout] 3f33743b5362cd118186e34b8ee8eb476ddb8347e781c9f9adaf35cd1160eeb6