[INFO] fetching crate chaos 0.9.5... [INFO] testing chaos-0.9.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate chaos 0.9.5 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chaos 0.9.5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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.40) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.1) [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 shellexpand v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c438e5d725e0fca3ee06b937ad4150e1607dc9f32e7e5df7468546ea419c7a57 [INFO] running `Command { std: "docker" "start" "-a" "c438e5d725e0fca3ee06b937ad4150e1607dc9f32e7e5df7468546ea419c7a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c438e5d725e0fca3ee06b937ad4150e1607dc9f32e7e5df7468546ea419c7a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c438e5d725e0fca3ee06b937ad4150e1607dc9f32e7e5df7468546ea419c7a57", kill_on_drop: false }` [INFO] [stdout] c438e5d725e0fca3ee06b937ad4150e1607dc9f32e7e5df7468546ea419c7a57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a61440e20ec26a41675251b4ce48e12a66a5b74e4f94b1b611b74c6d581b6a71 [INFO] running `Command { std: "docker" "start" "-a" "a61440e20ec26a41675251b4ce48e12a66a5b74e4f94b1b611b74c6d581b6a71", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling shellexpand v1.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.69s [INFO] running `Command { std: "docker" "inspect" "a61440e20ec26a41675251b4ce48e12a66a5b74e4f94b1b611b74c6d581b6a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a61440e20ec26a41675251b4ce48e12a66a5b74e4f94b1b611b74c6d581b6a71", kill_on_drop: false }` [INFO] [stdout] a61440e20ec26a41675251b4ce48e12a66a5b74e4f94b1b611b74c6d581b6a71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 31456b9368c4d48acb76eedca7b05d8e1fb6aa97f09ccfc841ab26d4907a4f5b [INFO] running `Command { std: "docker" "start" "-a" "31456b9368c4d48acb76eedca7b05d8e1fb6aa97f09ccfc841ab26d4907a4f5b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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] 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" "31456b9368c4d48acb76eedca7b05d8e1fb6aa97f09ccfc841ab26d4907a4f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31456b9368c4d48acb76eedca7b05d8e1fb6aa97f09ccfc841ab26d4907a4f5b", kill_on_drop: false }` [INFO] [stdout] 31456b9368c4d48acb76eedca7b05d8e1fb6aa97f09ccfc841ab26d4907a4f5b