[INFO] fetching crate chaos 0.9.5... [INFO] checking chaos-0.9.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate chaos 0.9.5 into /workspace/builds/worker-3-tc1/source [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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chaos 0.9.5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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.45) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.2) [INFO] [stderr] Adding shellexpand v1.1.1 (available: v3.1.1) [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded shellexpand v1.1.1 [INFO] [stderr] Downloaded base64 v0.9.3 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3da8b263b4f0cc54bd102261ef9db214bd347c91261deef628898781a34b8a69 [INFO] running `Command { std: "docker" "start" "-a" "3da8b263b4f0cc54bd102261ef9db214bd347c91261deef628898781a34b8a69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3da8b263b4f0cc54bd102261ef9db214bd347c91261deef628898781a34b8a69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da8b263b4f0cc54bd102261ef9db214bd347c91261deef628898781a34b8a69", kill_on_drop: false }` [INFO] [stdout] 3da8b263b4f0cc54bd102261ef9db214bd347c91261deef628898781a34b8a69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0c7301c54864bd84aba2d11cef225a51cbe5d285194ef591125c6d261d9982e [INFO] running `Command { std: "docker" "start" "-a" "c0c7301c54864bd84aba2d11cef225a51cbe5d285194ef591125c6d261d9982e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking rand v0.4.6 [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.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] Compiling syn v2.0.106 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling serde_derive v1.0.219 [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] 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; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c0c7301c54864bd84aba2d11cef225a51cbe5d285194ef591125c6d261d9982e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0c7301c54864bd84aba2d11cef225a51cbe5d285194ef591125c6d261d9982e", kill_on_drop: false }` [INFO] [stdout] c0c7301c54864bd84aba2d11cef225a51cbe5d285194ef591125c6d261d9982e