[INFO] fetching crate chaos 0.9.5... [INFO] checking chaos-0.9.5 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate chaos 0.9.5 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate chaos 0.9.5 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding dirs v2.0.2 (available: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (available: v0.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding shellexpand v1.1.1 (available: v3.1.0) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] Downloading crates ... [INFO] [stderr] Downloaded shellexpand v1.1.1 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d66c8919360a1e635748f457877fea30b8e71cebb87b6471fea9d7aae7f18be0 [INFO] running `Command { std: "docker" "start" "-a" "d66c8919360a1e635748f457877fea30b8e71cebb87b6471fea9d7aae7f18be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d66c8919360a1e635748f457877fea30b8e71cebb87b6471fea9d7aae7f18be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d66c8919360a1e635748f457877fea30b8e71cebb87b6471fea9d7aae7f18be0", kill_on_drop: false }` [INFO] [stdout] d66c8919360a1e635748f457877fea30b8e71cebb87b6471fea9d7aae7f18be0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ab6952be7349fe42b08bdfb00d39c80e39fb52b762164a8c467a65aec2e15b2 [INFO] running `Command { std: "docker" "start" "-a" "5ab6952be7349fe42b08bdfb00d39c80e39fb52b762164a8c467a65aec2e15b2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking shellexpand v1.1.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking chaos v0.9.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "clippy", feature(plugin))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(feature = "clippy", plugin(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(feature = "clippy", deny(clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(feature = "clippy", allow(print_stdout))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | try!(f.read_to_string(&mut s)); [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/common.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let mut f = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "clippy", feature(plugin))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(feature = "clippy", plugin(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(feature = "clippy", deny(clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(feature = "clippy", allow(print_stdout))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | try!(f.read_to_string(&mut s)); [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/common.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let mut f = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [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] warning: 6 warnings emitted [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] error: aborting due to 10 previous errors; 6 warnings emitted [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 11 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5ab6952be7349fe42b08bdfb00d39c80e39fb52b762164a8c467a65aec2e15b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ab6952be7349fe42b08bdfb00d39c80e39fb52b762164a8c467a65aec2e15b2", kill_on_drop: false }` [INFO] [stdout] 5ab6952be7349fe42b08bdfb00d39c80e39fb52b762164a8c467a65aec2e15b2