[INFO] cloning repository https://github.com/ayourtch/tbpatch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayourtch/tbpatch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Ftbpatch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Ftbpatch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 804d03cf5f5d18d1f7a5afe90d32241bc83b1ec3 [INFO] checking ayourtch/tbpatch against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Ftbpatch" "/workspace/builds/worker-95/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-95/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ayourtch/tbpatch on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ayourtch/tbpatch [INFO] finished tweaking git repo https://github.com/ayourtch/tbpatch [INFO] tweaked toml for git repo https://github.com/ayourtch/tbpatch written to /workspace/builds/worker-95/source/Cargo.toml [INFO] crate git repo https://github.com/ayourtch/tbpatch already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diffus-derive v0.10.0 [INFO] [stderr] Downloaded diffus v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d35ee045d5570b786300da7f85e9db6a583d7af55b583d38ec5904309ff8b388 [INFO] running `Command { std: "docker" "start" "-a" "d35ee045d5570b786300da7f85e9db6a583d7af55b583d38ec5904309ff8b388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d35ee045d5570b786300da7f85e9db6a583d7af55b583d38ec5904309ff8b388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d35ee045d5570b786300da7f85e9db6a583d7af55b583d38ec5904309ff8b388", kill_on_drop: false }` [INFO] [stdout] d35ee045d5570b786300da7f85e9db6a583d7af55b583d38ec5904309ff8b388 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97a99d5922620d1ca7bbff483df281bb32818addd302eb10ddb999af7598ab0c [INFO] running `Command { std: "docker" "start" "-a" "97a99d5922620d1ca7bbff483df281bb32818addd302eb10ddb999af7598ab0c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking diffus v0.10.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking unidiff v0.3.3 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling diffus-derive v0.10.0 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking tbpatch v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (12 fixes) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 529 | return out_file; [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 538 | return src_file.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 529 | return out_file; [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 538 | return src_file.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_nth_arg` [INFO] [stdout] --> src/main.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn read_nth_arg(i: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_nth_arg` [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn parse_nth_arg(i: usize) -> ParseStruct { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_diffus` [INFO] [stdout] --> src/main.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn test_diffus() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `HunkOp` [INFO] [stdout] --> src/main.rs:336:6 [INFO] [stdout] | [INFO] [stdout] 336 | enum HunkOp { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | / diff.into_iter() [INFO] [stdout] 196 | | .map(|edit| { [INFO] [stdout] 197 | | match edit { [INFO] [stdout] 198 | | collection::Edit::Copy(elem) => println!("copy: {:?}", elem), [INFO] [stdout] ... | [INFO] [stdout] 229 | | }) [INFO] [stdout] 230 | | .collect::>(); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/main.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | / x.into_iter().map(|xx| { [INFO] [stdout] 252 | | print!("{}", &atom2str(&xx)); [INFO] [stdout] 253 | | atom_index = atom_index + 1; [INFO] [stdout] 254 | | }); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | / diff.into_iter() [INFO] [stdout] 258 | | .map(|edit| { [INFO] [stdout] 259 | | match edit { [INFO] [stdout] 260 | | collection::Edit::Copy(elem) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | }) [INFO] [stdout] 309 | | .collect::>(); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/main.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | / x.into_iter().map(|xx| { [INFO] [stdout] 416 | | assert!(&src_file.atoms[p + src_skip] == xx); [INFO] [stdout] 417 | | out_file.atoms.push(xx.clone()); [INFO] [stdout] 418 | | src_skip = src_skip + 1; [INFO] [stdout] 419 | | }); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | / diff.into_iter() [INFO] [stdout] 423 | | .map(|edit| { [INFO] [stdout] 424 | | match edit { [INFO] [stdout] 425 | | collection::Edit::Copy(elem) => { [INFO] [stdout] ... | [INFO] [stdout] 483 | | }) [INFO] [stdout] 484 | | .collect::>(); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_nth_arg` [INFO] [stdout] --> src/main.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn read_nth_arg(i: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_nth_arg` [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn parse_nth_arg(i: usize) -> ParseStruct { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_diffus` [INFO] [stdout] --> src/main.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn test_diffus() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `HunkOp` [INFO] [stdout] --> src/main.rs:336:6 [INFO] [stdout] | [INFO] [stdout] 336 | enum HunkOp { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | / diff.into_iter() [INFO] [stdout] 196 | | .map(|edit| { [INFO] [stdout] 197 | | match edit { [INFO] [stdout] 198 | | collection::Edit::Copy(elem) => println!("copy: {:?}", elem), [INFO] [stdout] ... | [INFO] [stdout] 229 | | }) [INFO] [stdout] 230 | | .collect::>(); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/main.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | / x.into_iter().map(|xx| { [INFO] [stdout] 252 | | print!("{}", &atom2str(&xx)); [INFO] [stdout] 253 | | atom_index = atom_index + 1; [INFO] [stdout] 254 | | }); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | / diff.into_iter() [INFO] [stdout] 258 | | .map(|edit| { [INFO] [stdout] 259 | | match edit { [INFO] [stdout] 260 | | collection::Edit::Copy(elem) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | }) [INFO] [stdout] 309 | | .collect::>(); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/main.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | / x.into_iter().map(|xx| { [INFO] [stdout] 416 | | assert!(&src_file.atoms[p + src_skip] == xx); [INFO] [stdout] 417 | | out_file.atoms.push(xx.clone()); [INFO] [stdout] 418 | | src_skip = src_skip + 1; [INFO] [stdout] 419 | | }); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | / diff.into_iter() [INFO] [stdout] 423 | | .map(|edit| { [INFO] [stdout] 424 | | match edit { [INFO] [stdout] 425 | | collection::Edit::Copy(elem) => { [INFO] [stdout] ... | [INFO] [stdout] 483 | | }) [INFO] [stdout] 484 | | .collect::>(); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.66s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking tbpatch v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 529 | return out_file; [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 538 | return src_file.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 529 | return out_file; [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 538 | return src_file.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_nth_arg` [INFO] [stdout] --> src/main.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn read_nth_arg(i: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_nth_arg` [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn parse_nth_arg(i: usize) -> ParseStruct { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_diffus` [INFO] [stdout] --> src/main.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn test_diffus() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `HunkOp` [INFO] [stdout] --> src/main.rs:336:6 [INFO] [stdout] | [INFO] [stdout] 336 | enum HunkOp { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | / diff.into_iter() [INFO] [stdout] 196 | | .map(|edit| { [INFO] [stdout] 197 | | match edit { [INFO] [stdout] 198 | | collection::Edit::Copy(elem) => println!("copy: {:?}", elem), [INFO] [stdout] ... | [INFO] [stdout] 229 | | }) [INFO] [stdout] 230 | | .collect::>(); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/main.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | / x.into_iter().map(|xx| { [INFO] [stdout] 252 | | print!("{}", &atom2str(&xx)); [INFO] [stdout] 253 | | atom_index = atom_index + 1; [INFO] [stdout] 254 | | }); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | / diff.into_iter() [INFO] [stdout] 258 | | .map(|edit| { [INFO] [stdout] 259 | | match edit { [INFO] [stdout] 260 | | collection::Edit::Copy(elem) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | }) [INFO] [stdout] 309 | | .collect::>(); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/main.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | / x.into_iter().map(|xx| { [INFO] [stdout] 416 | | assert!(&src_file.atoms[p + src_skip] == xx); [INFO] [stdout] 417 | | out_file.atoms.push(xx.clone()); [INFO] [stdout] 418 | | src_skip = src_skip + 1; [INFO] [stdout] 419 | | }); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | / diff.into_iter() [INFO] [stdout] 423 | | .map(|edit| { [INFO] [stdout] 424 | | match edit { [INFO] [stdout] 425 | | collection::Edit::Copy(elem) => { [INFO] [stdout] ... | [INFO] [stdout] 483 | | }) [INFO] [stdout] 484 | | .collect::>(); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_nth_arg` [INFO] [stdout] --> src/main.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn read_nth_arg(i: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_nth_arg` [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn parse_nth_arg(i: usize) -> ParseStruct { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_diffus` [INFO] [stdout] --> src/main.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn test_diffus() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `HunkOp` [INFO] [stdout] --> src/main.rs:336:6 [INFO] [stdout] | [INFO] [stdout] 336 | enum HunkOp { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | / diff.into_iter() [INFO] [stdout] 196 | | .map(|edit| { [INFO] [stdout] 197 | | match edit { [INFO] [stdout] 198 | | collection::Edit::Copy(elem) => println!("copy: {:?}", elem), [INFO] [stdout] ... | [INFO] [stdout] 229 | | }) [INFO] [stdout] 230 | | .collect::>(); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/main.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | / x.into_iter().map(|xx| { [INFO] [stdout] 252 | | print!("{}", &atom2str(&xx)); [INFO] [stdout] 253 | | atom_index = atom_index + 1; [INFO] [stdout] 254 | | }); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | / diff.into_iter() [INFO] [stdout] 258 | | .map(|edit| { [INFO] [stdout] 259 | | match edit { [INFO] [stdout] 260 | | collection::Edit::Copy(elem) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | }) [INFO] [stdout] 309 | | .collect::>(); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/main.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | / x.into_iter().map(|xx| { [INFO] [stdout] 416 | | assert!(&src_file.atoms[p + src_skip] == xx); [INFO] [stdout] 417 | | out_file.atoms.push(xx.clone()); [INFO] [stdout] 418 | | src_skip = src_skip + 1; [INFO] [stdout] 419 | | }); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | / diff.into_iter() [INFO] [stdout] 423 | | .map(|edit| { [INFO] [stdout] 424 | | match edit { [INFO] [stdout] 425 | | collection::Edit::Copy(elem) => { [INFO] [stdout] ... | [INFO] [stdout] 483 | | }) [INFO] [stdout] 484 | | .collect::>(); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "97a99d5922620d1ca7bbff483df281bb32818addd302eb10ddb999af7598ab0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a99d5922620d1ca7bbff483df281bb32818addd302eb10ddb999af7598ab0c", kill_on_drop: false }` [INFO] [stdout] 97a99d5922620d1ca7bbff483df281bb32818addd302eb10ddb999af7598ab0c