[INFO] cloning repository https://github.com/leifwalsh/tea [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leifwalsh/tea" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifwalsh%2Ftea", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifwalsh%2Ftea'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f08b62a5f1c7d0e82d5b3e1984f2319b96044589 [INFO] checking leifwalsh/tea against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifwalsh%2Ftea" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leifwalsh/tea on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leifwalsh/tea [INFO] finished tweaking git repo https://github.com/leifwalsh/tea [INFO] tweaked toml for git repo https://github.com/leifwalsh/tea written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/leifwalsh/tea already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking leifwalsh/tea against try#3931cbb869e499bf6db1e4d580cc247efbf183df for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifwalsh%2Ftea" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leifwalsh/tea on toolchain 3931cbb869e499bf6db1e4d580cc247efbf183df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leifwalsh/tea [INFO] finished tweaking git repo https://github.com/leifwalsh/tea [INFO] tweaked toml for git repo https://github.com/leifwalsh/tea written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/leifwalsh/tea already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking leifwalsh/tea against try#3931cbb869e499bf6db1e4d580cc247efbf183df for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifwalsh%2Ftea" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leifwalsh/tea on toolchain 3931cbb869e499bf6db1e4d580cc247efbf183df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leifwalsh/tea [INFO] finished tweaking git repo https://github.com/leifwalsh/tea [INFO] tweaked toml for git repo https://github.com/leifwalsh/tea written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/leifwalsh/tea already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ea8afe3dd954ca66c921ee2a84d6722eea2d35bb04a0641b42d252395fe902b [INFO] running `Command { std: "docker" "start" "-a" "2ea8afe3dd954ca66c921ee2a84d6722eea2d35bb04a0641b42d252395fe902b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ea8afe3dd954ca66c921ee2a84d6722eea2d35bb04a0641b42d252395fe902b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ea8afe3dd954ca66c921ee2a84d6722eea2d35bb04a0641b42d252395fe902b", kill_on_drop: false }` [INFO] [stdout] 2ea8afe3dd954ca66c921ee2a84d6722eea2d35bb04a0641b42d252395fe902b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c562583f50d23562ded35466206b215757f53f4febf935a95fd18e588b2dbd4d [INFO] running `Command { std: "docker" "start" "-a" "c562583f50d23562ded35466206b215757f53f4febf935a95fd18e588b2dbd4d", kill_on_drop: false }` [INFO] [stderr] Checking tea v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/reader.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | let encrypted_bytes = try!(self.source.fill_buf()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | try!(self.sink.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | if !try!(self.flush_enc_buf()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let written = try!(self.sink.write(encrypt_chunk(&self.key, &mut self.prev, &self.buf))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let n = try!(self.sink.write(&self.enc_buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | if !try!(self.flush_enc_buf()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | if !try!(self.flush_enc_buf()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | if !try!(self.flush_enc_buf()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | try!(self.flush_enc_buf()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(collections,core,io)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(collections,core,io)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/lib.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(collections,core,io)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/reader.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | let encrypted_bytes = try!(self.source.fill_buf()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | try!(self.sink.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | if !try!(self.flush_enc_buf()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let written = try!(self.sink.write(encrypt_chunk(&self.key, &mut self.prev, &self.buf))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let n = try!(self.sink.write(&self.enc_buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | if !try!(self.flush_enc_buf()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | if !try!(self.flush_enc_buf()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | if !try!(self.flush_enc_buf()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/writer.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | try!(self.flush_enc_buf()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(collections,core,io)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(collections,core,io)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/lib.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(collections,core,io)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `wrapping_mul` on ambiguous numeric type `{integer}` [INFO] [stdout] --> src/cipher.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let mut sum = delta.wrapping_mul(NUM_ROUNDS); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `i32` [INFO] [stdout] | [INFO] [stdout] 44 | let delta: i32 = 0x9E3779B9; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `wrapping_mul` on ambiguous numeric type `{integer}` [INFO] [stdout] --> src/cipher.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let mut sum = delta.wrapping_mul(NUM_ROUNDS); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `i32` [INFO] [stdout] | [INFO] [stdout] 44 | let delta: i32 = 0x9E3779B9; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `()` to `usize` [INFO] [stdout] --> src/io/reader.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | ... pos += n2; [INFO] [stdout] | ^^ no implementation for `usize += ()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign<()>` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `()` to `usize` [INFO] [stdout] --> src/io/reader.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | ... pos += n2; [INFO] [stdout] | ^^ no implementation for `usize += ()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign<()>` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io/reader.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | if n == real_bytes { [INFO] [stdout] | - ^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io/reader.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | if n == real_bytes { [INFO] [stdout] | - ^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io/reader.rs:81:59 [INFO] [stdout] | [INFO] [stdout] 81 | ... self.buf = self.buf.split_off(n); [INFO] [stdout] | --------- ^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/alloc/src/vec/mod.rs:2183:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io/reader.rs:81:59 [INFO] [stdout] | [INFO] [stdout] 81 | ... self.buf = self.buf.split_off(n); [INFO] [stdout] | --------- ^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/alloc/src/vec/mod.rs:2183:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `()` to `usize` [INFO] [stdout] --> src/io/reader.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | pos += n; [INFO] [stdout] | ^^ no implementation for `usize += ()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign<()>` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `()` to `usize` [INFO] [stdout] --> src/io/reader.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | pos += n; [INFO] [stdout] | ^^ no implementation for `usize += ()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign<()>` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io/reader.rs:92:33 [INFO] [stdout] | [INFO] [stdout] 92 | if n == self.buf.len() { [INFO] [stdout] | - ^^^^^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io/reader.rs:92:33 [INFO] [stdout] | [INFO] [stdout] 92 | if n == self.buf.len() { [INFO] [stdout] | - ^^^^^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io/reader.rs:95:59 [INFO] [stdout] | [INFO] [stdout] 95 | ... self.buf = self.buf.split_off(n); [INFO] [stdout] | --------- ^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/alloc/src/vec/mod.rs:2183:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io/reader.rs:95:59 [INFO] [stdout] | [INFO] [stdout] 95 | ... self.buf = self.buf.split_off(n); [INFO] [stdout] | --------- ^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/alloc/src/vec/mod.rs:2183:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/io/reader.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | self.buf.push_all(&decrypt_chunk(&self.key, &mut self.prev, &encrypted_bytes[0..8])); [INFO] [stdout] | ^^^^^^^^ help: there is a method with a similar name: `push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/io/reader.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | self.buf.push_all(&decrypt_chunk(&self.key, &mut self.prev, &encrypted_bytes[0..8])); [INFO] [stdout] | ^^^^^^^^ help: there is a method with a similar name: `push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/io/writer.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | ...rn Err(io::Error::new(io::ErrorKind::Other, "couldn't flush encrypted bytes to sink", [INFO] [stdout] | ___________^^^^^^^^^^^^^^_______________________________________________________________- [INFO] [stdout] 61 | | ... Some(format!("sink couldn't write the last {} bytes that were already encoded", self.enc_buf.len())))); [INFO] [stdout] | | ---------------------------------------------------------------------------------------------------- [INFO] [stdout] | |__________________________|__________________________________________________________________________________________________| [INFO] [stdout] | | help: remove the extra argument [INFO] [stdout] | unexpected argument of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/std/src/io/error.rs:515:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/io/writer.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | return Err(io::Error::new(io::ErrorKind::Other, "couldn't write final 8 bytes to sink", [INFO] [stdout] | ________________________^^^^^^^^^^^^^^_____________________________________________________________- [INFO] [stdout] 70 | | Some(format!("sink only accepted {} bytes, can't close this writer", written)))); [INFO] [stdout] | | ------------------------------------------------------------------------------ [INFO] [stdout] | |_______________________________________|____________________________________________________________________________| [INFO] [stdout] | | help: remove the extra argument [INFO] [stdout] | unexpected argument of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/std/src/io/error.rs:515:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/io/writer.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | ...rn Err(io::Error::new(io::ErrorKind::Other, "couldn't flush encrypted bytes to sink", [INFO] [stdout] | ___________^^^^^^^^^^^^^^_______________________________________________________________- [INFO] [stdout] 61 | | ... Some(format!("sink couldn't write the last {} bytes that were already encoded", self.enc_buf.len())))); [INFO] [stdout] | | ---------------------------------------------------------------------------------------------------- [INFO] [stdout] | |__________________________|__________________________________________________________________________________________________| [INFO] [stdout] | | help: remove the extra argument [INFO] [stdout] | unexpected argument of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/std/src/io/error.rs:515:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/io/writer.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | return Err(io::Error::new(io::ErrorKind::Other, "couldn't write final 8 bytes to sink", [INFO] [stdout] | ________________________^^^^^^^^^^^^^^_____________________________________________________________- [INFO] [stdout] 70 | | Some(format!("sink only accepted {} bytes, can't close this writer", written)))); [INFO] [stdout] | | ------------------------------------------------------------------------------ [INFO] [stdout] | |_______________________________________|____________________________________________________________________________| [INFO] [stdout] | | help: remove the extra argument [INFO] [stdout] | unexpected argument of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/std/src/io/error.rs:515:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/io/writer.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | self.buf.push_all(buf); [INFO] [stdout] | ^^^^^^^^ help: there is a method with a similar name: `push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/io/writer.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | self.buf.push_all(buf); [INFO] [stdout] | ^^^^^^^^ help: there is a method with a similar name: `push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/io/writer.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | self.buf.push_all(&buf[..remaining]); [INFO] [stdout] | ^^^^^^^^ help: there is a method with a similar name: `push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/io/writer.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | self.buf.push_all(&buf[..remaining]); [INFO] [stdout] | ^^^^^^^^ help: there is a method with a similar name: `push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/io/writer.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | self.enc_buf.push_all(encrypt_chunk(&self.key, &mut self.prev, &self.buf)); [INFO] [stdout] | ^^^^^^^^ help: there is a method with a similar name: `push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/io/writer.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | self.enc_buf.push_all(encrypt_chunk(&self.key, &mut self.prev, &self.buf)); [INFO] [stdout] | ^^^^^^^^ help: there is a method with a similar name: `push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/io/writer.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | self.buf.push_all(chunk); [INFO] [stdout] | ^^^^^^^^ help: there is a method with a similar name: `push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/io/writer.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | self.buf.push_all(chunk); [INFO] [stdout] | ^^^^^^^^ help: there is a method with a similar name: `push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/io/writer.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | self.enc_buf.push_all(encrypt_chunk(&self.key, &mut self.prev, chunk)); [INFO] [stdout] | ^^^^^^^^ help: there is a method with a similar name: `push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/io/writer.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | ... Err(io::Error::new(io::ErrorKind::Other, "can't flush when not on a 64-bit block boundary", [INFO] [stdout] | _________^^^^^^^^^^^^^^________________________________________________________________________- [INFO] [stdout] 160 | | ... Some(format!("we have {} plaintext bytes that we can't encrypt until a full block is done", self.buf.len())))) [INFO] [stdout] | | ------------------------------------------------------------------------------------------------------------ [INFO] [stdout] | |________________________|__________________________________________________________________________________________________________| [INFO] [stdout] | | help: remove the extra argument [INFO] [stdout] | unexpected argument of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/std/src/io/error.rs:515:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/io/writer.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | self.enc_buf.push_all(encrypt_chunk(&self.key, &mut self.prev, chunk)); [INFO] [stdout] | ^^^^^^^^ help: there is a method with a similar name: `push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/io/writer.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | ... Err(io::Error::new(io::ErrorKind::Other, "can't flush when not on a 64-bit block boundary", [INFO] [stdout] | _________^^^^^^^^^^^^^^________________________________________________________________________- [INFO] [stdout] 160 | | ... Some(format!("we have {} plaintext bytes that we can't encrypt until a full block is done", self.buf.len())))) [INFO] [stdout] | | ------------------------------------------------------------------------------------------------------------ [INFO] [stdout] | |________________________|__________________________________________________________________________________________________________| [INFO] [stdout] | | help: remove the extra argument [INFO] [stdout] | unexpected argument of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/std/src/io/error.rs:515:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0599, E0635, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0599, E0635, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tea` (lib test) due to 19 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tea` (lib) due to 19 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c562583f50d23562ded35466206b215757f53f4febf935a95fd18e588b2dbd4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c562583f50d23562ded35466206b215757f53f4febf935a95fd18e588b2dbd4d", kill_on_drop: false }` [INFO] [stdout] c562583f50d23562ded35466206b215757f53f4febf935a95fd18e588b2dbd4d