[INFO] fetching crate chaos 0.9.5... [INFO] checking chaos-0.9.5 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate chaos 0.9.5 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate chaos 0.9.5 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chaos 0.9.5 [INFO] finished tweaking crates.io crate chaos 0.9.5 [INFO] tweaked toml for crates.io crate chaos 0.9.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.9.3 (available: v0.22.1) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.21) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] [stderr] Adding shellexpand v1.1.1 (available: v3.1.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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 shellexpand v1.1.1 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b36d23aa1e05b46dfc4c94a24aa145b37b162b7e400bd39c11f8b3bfee329f25 [INFO] running `Command { std: "docker" "start" "-a" "b36d23aa1e05b46dfc4c94a24aa145b37b162b7e400bd39c11f8b3bfee329f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b36d23aa1e05b46dfc4c94a24aa145b37b162b7e400bd39c11f8b3bfee329f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b36d23aa1e05b46dfc4c94a24aa145b37b162b7e400bd39c11f8b3bfee329f25", kill_on_drop: false }` [INFO] [stdout] b36d23aa1e05b46dfc4c94a24aa145b37b162b7e400bd39c11f8b3bfee329f25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f94b624723aa0d2cc7f8f2409709d7204e3093aa8fee3b0775c663796f3eac8 [INFO] running `Command { std: "docker" "start" "-a" "9f94b624723aa0d2cc7f8f2409709d7204e3093aa8fee3b0775c663796f3eac8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking shellexpand v1.1.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Checking chaos v0.9.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model.rs:149:45 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!("11000011", password.cut(pass.clone())); [INFO] [stdout] | --- ^^^^^^^^^^^^ expected `&[u8]`, found `Vec<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn cut(&self, pass: &[u8]) -> String { [INFO] [stdout] | ^^^ ----------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!("11000011", password.cut(&pass.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!("110000", password.cut(pass.clone())); [INFO] [stdout] | --- ^^^^^^^^^^^^ expected `&[u8]`, found `Vec<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn cut(&self, pass: &[u8]) -> String { [INFO] [stdout] | ^^^ ----------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!("110000", password.cut(&pass.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!("11800031", password.cut(pass.clone())); [INFO] [stdout] | --- ^^^^^^^^^^^^ expected `&[u8]`, found `Vec<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn cut(&self, pass: &[u8]) -> String { [INFO] [stdout] | ^^^ ----------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!("11800031", password.cut(&pass.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model.rs:162:43 [INFO] [stdout] | [INFO] [stdout] 162 | assert_eq!("118000", password.cut(pass.clone())); [INFO] [stdout] | --- ^^^^^^^^^^^^ expected `&[u8]`, found `Vec<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn cut(&self, pass: &[u8]) -> String { [INFO] [stdout] | ^^^ ----------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 162 | assert_eq!("118000", password.cut(&pass.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model.rs:169:45 [INFO] [stdout] | [INFO] [stdout] 169 | assert_eq!("bbKGqUnv", password.cut(pass.clone())); [INFO] [stdout] | --- ^^^^^^^^^^^^ expected `&[u8]`, found `Vec<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn cut(&self, pass: &[u8]) -> String { [INFO] [stdout] | ^^^ ----------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 169 | assert_eq!("bbKGqUnv", password.cut(&pass.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model.rs:172:43 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!("bbKGqU", password.cut(pass.clone())); [INFO] [stdout] | --- ^^^^^^^^^^^^ expected `&[u8]`, found `Vec<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn cut(&self, pass: &[u8]) -> String { [INFO] [stdout] | ^^^ ----------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!("bbKGqU", password.cut(&pass.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model.rs:179:45 [INFO] [stdout] | [INFO] [stdout] 179 | assert_eq!("bbA26Anv", password.cut(pass.clone())); [INFO] [stdout] | --- ^^^^^^^^^^^^ expected `&[u8]`, found `Vec<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn cut(&self, pass: &[u8]) -> String { [INFO] [stdout] | ^^^ ----------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 179 | assert_eq!("bbA26Anv", password.cut(&pass.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model.rs:182:43 [INFO] [stdout] | [INFO] [stdout] 182 | assert_eq!("bbA26A", password.cut(pass.clone())); [INFO] [stdout] | --- ^^^^^^^^^^^^ expected `&[u8]`, found `Vec<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn cut(&self, pass: &[u8]) -> String { [INFO] [stdout] | ^^^ ----------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 182 | assert_eq!("bbA26A", password.cut(&pass.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model.rs:189:47 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!("\"\"yU;Y.6", password.cut(pass.clone())); [INFO] [stdout] | --- ^^^^^^^^^^^^ expected `&[u8]`, found `Vec<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn cut(&self, pass: &[u8]) -> String { [INFO] [stdout] | ^^^ ----------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!("\"\"yU;Y.6", password.cut(&pass.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!("\"\"yU;Y", password.cut(pass.clone())); [INFO] [stdout] | --- ^^^^^^^^^^^^ expected `&[u8]`, found `Vec<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn cut(&self, pass: &[u8]) -> String { [INFO] [stdout] | ^^^ ----------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!("\"\"yU;Y", password.cut(&pass.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chaos` (bin "chaos" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "9f94b624723aa0d2cc7f8f2409709d7204e3093aa8fee3b0775c663796f3eac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f94b624723aa0d2cc7f8f2409709d7204e3093aa8fee3b0775c663796f3eac8", kill_on_drop: false }` [INFO] [stdout] 9f94b624723aa0d2cc7f8f2409709d7204e3093aa8fee3b0775c663796f3eac8