[INFO] updating cached 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" "-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] 4fa0e7016aff899624955b07f456c2ab7c53ae15 [INFO] testing Leonti/rust-socket-server against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeonti%2Frust-socket-server" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Leonti/rust-socket-server on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-12/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-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 165e8b84d8951b74f81153826ea2b2f87341c9aaa4aabf0d742983b930747dc9 [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" "165e8b84d8951b74f81153826ea2b2f87341c9aaa4aabf0d742983b930747dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "165e8b84d8951b74f81153826ea2b2f87341c9aaa4aabf0d742983b930747dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "165e8b84d8951b74f81153826ea2b2f87341c9aaa4aabf0d742983b930747dc9", kill_on_drop: false }` [INFO] [stdout] 165e8b84d8951b74f81153826ea2b2f87341c9aaa4aabf0d742983b930747dc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0002cfe46ccfb1b617406b8d7095363584cdad66c4d1f81d224efd4c294e3e2e [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" "0002cfe46ccfb1b617406b8d7095363584cdad66c4d1f81d224efd4c294e3e2e", kill_on_drop: false }` [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling byte-tools v0.3.0 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling opaque-debug v0.2.1 [INFO] [stderr] Compiling utf-8 v0.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling walkdir v2.2.6 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [INFO] [stderr] Compiling rpos_drv v0.2.0 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling block-padding v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling rplidar_drv v0.6.0 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [INFO] [stderr] Compiling sha-1 v0.8.1 [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 parking_lot_core v0.3.1 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.8 [INFO] [stderr] Compiling tungstenite v0.6.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.3 [INFO] [stderr] Compiling tokio v0.1.11 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling mcp3008 v1.0.0 [INFO] [stderr] Compiling tokio-dns-unofficial v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.6.0 [INFO] [stderr] Compiling serialport v3.3.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling sysfs_gpio v0.5.3 [INFO] [stderr] Compiling mio-serial v3.3.0 [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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [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: 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] 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: 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(unused_imports)]` implied by `#[warn(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 previous error; 5 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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0002cfe46ccfb1b617406b8d7095363584cdad66c4d1f81d224efd4c294e3e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0002cfe46ccfb1b617406b8d7095363584cdad66c4d1f81d224efd4c294e3e2e", kill_on_drop: false }` [INFO] [stdout] 0002cfe46ccfb1b617406b8d7095363584cdad66c4d1f81d224efd4c294e3e2e