[INFO] cloning repository https://github.com/davidko/stk500-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidko/stk500-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidko%2Fstk500-rs"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidko%2Fstk500-rs'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dce56fa4ab7a7ce71a050d800355b2d63342daaf [INFO] testing davidko/stk500-rs against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidko%2Fstk500-rs" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidko/stk500-rs on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/davidko/stk500-rs [INFO] finished tweaking git repo https://github.com/davidko/stk500-rs [INFO] tweaked toml for git repo https://github.com/davidko/stk500-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/davidko/stk500-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 196ecd1e535e7e18c87fb7188687e883b667c338708a2289251e1721df4d6dbe [INFO] running `"docker" "start" "-a" "196ecd1e535e7e18c87fb7188687e883b667c338708a2289251e1721df4d6dbe"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling stk500 v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codec.rs:16:31 [INFO] [stderr] | [INFO] [stderr] 16 | pub type ResponseFuture = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codec.rs:385:23 [INFO] [stderr] | [INFO] [stderr] 385 | type Future = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | pub type Response = Box, Error=oneshot::Canceled>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=oneshot::Canceled>` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:181:14 [INFO] [stderr] | [INFO] [stderr] 181 | Box< Future, Error=oneshot::Canceled> > [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=oneshot::Canceled>` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:255:27 [INFO] [stderr] | [INFO] [stderr] 255 | write_cb: Option< Box)> >, // Function which writes to the microcontroller being programmed [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec)` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stderr] --> src/codec.rs:6:48 [INFO] [stderr] | [INFO] [stderr] 6 | use super::tokio_io::codec::{Encoder, Decoder, Framed}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stderr] --> src/codec.rs:344:22 [INFO] [stderr] | [INFO] [stderr] 344 | type Transport = Framed; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0053]: method `encode` has an incompatible type for trait [INFO] [stderr] --> src/codec.rs:272:5 [INFO] [stderr] | [INFO] [stderr] 272 | / fn encode( [INFO] [stderr] 273 | | &mut self, [INFO] [stderr] 274 | | item: Self::Item, [INFO] [stderr] 275 | | dst: &mut BytesMut [INFO] [stderr] ... | [INFO] [stderr] 282 | | Ok(()) [INFO] [stderr] 283 | | } [INFO] [stderr] | |_____^ expected struct `bytes::bytes::BytesMut`, found struct `bytes::BytesMut` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(&mut codec::Stk500Codec, codec::Packet, &mut bytes::bytes::BytesMut) -> std::result::Result<_, _>` [INFO] [stderr] found fn pointer `fn(&mut codec::Stk500Codec, codec::Packet, &mut bytes::BytesMut) -> std::result::Result<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> src/codec.rs:314:5 [INFO] [stderr] | [INFO] [stderr] 314 | / fn decode( [INFO] [stderr] 315 | | &mut self, [INFO] [stderr] 316 | | src: &mut BytesMut, [INFO] [stderr] 317 | | ) -> Result, Self::Error> { [INFO] [stderr] ... | [INFO] [stderr] 335 | | [INFO] [stderr] 336 | | } [INFO] [stderr] | |_____^ expected struct `bytes::bytes::BytesMut`, found struct `bytes::BytesMut` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(&mut codec::Stk500Codec, &mut bytes::bytes::BytesMut) -> std::result::Result<_, _>` [INFO] [stderr] found fn pointer `fn(&mut codec::Stk500Codec, &mut bytes::BytesMut) -> std::result::Result<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for struct `futures_timer::Delay` in the current scope [INFO] [stderr] --> src/lib.rs:231:70 [INFO] [stderr] | [INFO] [stderr] 231 | futures_timer::Delay::new(Duration::from_millis(50)).map_err(|_|{oneshot::Canceled}).and_then( move |_| { [INFO] [stderr] | ^^^^^^^ method not found in `futures_timer::Delay` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-timer-3.0.2/src/native/delay.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Delay { [INFO] [stderr] | ---------------- doesn't satisfy `futures_timer::Delay: futures::Future` [INFO] [stderr] | [INFO] [stderr] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `futures_timer::Delay: futures::Future` [INFO] [stderr] which is required by `&mut futures_timer::Delay: futures::Future` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for struct `futures_timer::Delay` in the current scope [INFO] [stderr] --> src/codec.rs:132:22 [INFO] [stderr] | [INFO] [stderr] 132 | .map_err(|_|{io::Error::new(io::ErrorKind::Other, "Timeout")}) [INFO] [stderr] | ^^^^^^^ method not found in `futures_timer::Delay` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-timer-3.0.2/src/native/delay.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Delay { [INFO] [stderr] | ---------------- doesn't satisfy `futures_timer::Delay: futures::Future` [INFO] [stderr] | [INFO] [stderr] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `futures_timer::Delay: futures::Future` [INFO] [stderr] which is required by `&mut futures_timer::Delay: futures::Future` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::AsyncRead::framed': Use tokio_codec::Decoder::framed instead [INFO] [stderr] --> src/codec.rs:348:15 [INFO] [stderr] | [INFO] [stderr] 348 | Ok(io.framed(Stk500Codec::new())) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0053, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0053`. [INFO] [stderr] error: could not compile `stk500`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "196ecd1e535e7e18c87fb7188687e883b667c338708a2289251e1721df4d6dbe"` [INFO] running `"docker" "rm" "-f" "196ecd1e535e7e18c87fb7188687e883b667c338708a2289251e1721df4d6dbe"` [INFO] [stdout] 196ecd1e535e7e18c87fb7188687e883b667c338708a2289251e1721df4d6dbe