[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] 3662a034a5b4fda3d522cdf31fa1d82c0e819151 [INFO] checking ayourtch/tbpatch against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Ftbpatch" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ayourtch/tbpatch on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-9/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ff6bf8c7619918589d9371e982cfc267b290db20e51756cd8f99a38660f7df2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6ff6bf8c7619918589d9371e982cfc267b290db20e51756cd8f99a38660f7df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ff6bf8c7619918589d9371e982cfc267b290db20e51756cd8f99a38660f7df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff6bf8c7619918589d9371e982cfc267b290db20e51756cd8f99a38660f7df2", kill_on_drop: false }` [INFO] [stdout] 6ff6bf8c7619918589d9371e982cfc267b290db20e51756cd8f99a38660f7df2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89c7b01ef7818c78720f9a9e5c2060faf6470d8c11bf9cc4bf6b1a5729dc41e3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "89c7b01ef7818c78720f9a9e5c2060faf6470d8c11bf9cc4bf6b1a5729dc41e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking diffus v0.9.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking unidiff v0.3.3 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling diffus-derive v0.9.1 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking tbpatch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 508 | return out_file; [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 517 | 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:517:5 [INFO] [stdout] | [INFO] [stdout] 508 | return out_file; [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 517 | 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: unused variable: `token_uuid` [INFO] [stdout] --> src/main.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | ... token_uuid, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `token_uuid: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leading_ws` [INFO] [stdout] --> src/main.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | ... leading_ws, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `leading_ws: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/main.rs:261:49 [INFO] [stdout] | [INFO] [stdout] 261 | ... let tok = &right.atoms[atom_index].token_value; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/main.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | for (hi, ch) in haystack.into_iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | for i in 0..p { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_uuid` [INFO] [stdout] --> src/main.rs:425:37 [INFO] [stdout] | [INFO] [stdout] 425 | ... token_uuid, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `token_uuid: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leading_ws` [INFO] [stdout] --> src/main.rs:426:37 [INFO] [stdout] | [INFO] [stdout] 426 | ... leading_ws, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `leading_ws: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_uuid` [INFO] [stdout] --> src/main.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | ... token_uuid, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `token_uuid: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:429:58 [INFO] [stdout] | [INFO] [stdout] 429 | ... edit::Edit::Copy(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leading_ws` [INFO] [stdout] --> src/main.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | ... leading_ws, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `leading_ws: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/main.rs:261:49 [INFO] [stdout] | [INFO] [stdout] 261 | ... let tok = &right.atoms[atom_index].token_value; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:387:26 [INFO] [stdout] | [INFO] [stdout] 387 | edit::Edit::Copy(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/main.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | for (hi, ch) in haystack.into_iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | for i in 0..p { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_uuid` [INFO] [stdout] --> src/main.rs:425:37 [INFO] [stdout] | [INFO] [stdout] 425 | ... token_uuid, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `token_uuid: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leading_ws` [INFO] [stdout] --> src/main.rs:426:37 [INFO] [stdout] | [INFO] [stdout] 426 | ... leading_ws, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `leading_ws: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `find_pos` [INFO] [stdout] --> src/main.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | let find_pos = find_needle(&src.atoms, &src_file.atoms, true); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_find_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | file: &unidiff::PatchedFile, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:429:58 [INFO] [stdout] | [INFO] [stdout] 429 | ... edit::Edit::Copy(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:387:26 [INFO] [stdout] | [INFO] [stdout] 387 | edit::Edit::Copy(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `find_pos` [INFO] [stdout] --> src/main.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | let find_pos = find_needle(&src.atoms, &src_file.atoms, true); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_find_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | file: &unidiff::PatchedFile, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_nth_arg` [INFO] [stdout] --> src/main.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | 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:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | 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:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn test_diffus() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `HunkOp` [INFO] [stdout] --> src/main.rs:318:6 [INFO] [stdout] | [INFO] [stdout] 318 | enum HunkOp { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_nth_arg` [INFO] [stdout] --> src/main.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | 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:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | 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:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn test_diffus() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `HunkOp` [INFO] [stdout] --> src/main.rs:318:6 [INFO] [stdout] | [INFO] [stdout] 318 | 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:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | / diff.into_iter() [INFO] [stdout] 178 | | .map(|edit| { [INFO] [stdout] 179 | | match edit { [INFO] [stdout] 180 | | collection::Edit::Copy(elem) => println!("copy: {:?}", elem), [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | .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:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | / x.into_iter().map(|xx| { [INFO] [stdout] 234 | | print!("{}", &atom2str(&xx)); [INFO] [stdout] 235 | | atom_index = atom_index + 1; [INFO] [stdout] 236 | | }); [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:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | / diff.into_iter() [INFO] [stdout] 240 | | .map(|edit| { [INFO] [stdout] 241 | | match edit { [INFO] [stdout] 242 | | collection::Edit::Copy(elem) => { [INFO] [stdout] ... | [INFO] [stdout] 290 | | }) [INFO] [stdout] 291 | | .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:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | / x.into_iter().map(|xx| { [INFO] [stdout] 399 | | assert!(&src_file.atoms[p + src_skip] == xx); [INFO] [stdout] 400 | | out_file.atoms.push(xx.clone()); [INFO] [stdout] 401 | | src_skip = src_skip + 1; [INFO] [stdout] 402 | | }); [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:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | / diff.into_iter() [INFO] [stdout] 406 | | .map(|edit| { [INFO] [stdout] 407 | | match edit { [INFO] [stdout] 408 | | collection::Edit::Copy(elem) => { [INFO] [stdout] ... | [INFO] [stdout] 466 | | }) [INFO] [stdout] 467 | | .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 return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | / diff.into_iter() [INFO] [stdout] 178 | | .map(|edit| { [INFO] [stdout] 179 | | match edit { [INFO] [stdout] 180 | | collection::Edit::Copy(elem) => println!("copy: {:?}", elem), [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | .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:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | / x.into_iter().map(|xx| { [INFO] [stdout] 234 | | print!("{}", &atom2str(&xx)); [INFO] [stdout] 235 | | atom_index = atom_index + 1; [INFO] [stdout] 236 | | }); [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:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | / diff.into_iter() [INFO] [stdout] 240 | | .map(|edit| { [INFO] [stdout] 241 | | match edit { [INFO] [stdout] 242 | | collection::Edit::Copy(elem) => { [INFO] [stdout] ... | [INFO] [stdout] 290 | | }) [INFO] [stdout] 291 | | .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:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | / x.into_iter().map(|xx| { [INFO] [stdout] 399 | | assert!(&src_file.atoms[p + src_skip] == xx); [INFO] [stdout] 400 | | out_file.atoms.push(xx.clone()); [INFO] [stdout] 401 | | src_skip = src_skip + 1; [INFO] [stdout] 402 | | }); [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:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | / diff.into_iter() [INFO] [stdout] 406 | | .map(|edit| { [INFO] [stdout] 407 | | match edit { [INFO] [stdout] 408 | | collection::Edit::Copy(elem) => { [INFO] [stdout] ... | [INFO] [stdout] 466 | | }) [INFO] [stdout] 467 | | .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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.02s [INFO] running `Command { std: "docker" "inspect" "89c7b01ef7818c78720f9a9e5c2060faf6470d8c11bf9cc4bf6b1a5729dc41e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c7b01ef7818c78720f9a9e5c2060faf6470d8c11bf9cc4bf6b1a5729dc41e3", kill_on_drop: false }` [INFO] [stdout] 89c7b01ef7818c78720f9a9e5c2060faf6470d8c11bf9cc4bf6b1a5729dc41e3