[INFO] cloning repository https://github.com/1inguini/huffman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1inguini/huffman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1inguini%2Fhuffman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1inguini%2Fhuffman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f9311c16910cedb1bafb045e242b1689a62e000 [INFO] checking 1inguini/huffman against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1inguini%2Fhuffman" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/1inguini/huffman on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/1inguini/huffman [INFO] finished tweaking git repo https://github.com/1inguini/huffman [INFO] tweaked toml for git repo https://github.com/1inguini/huffman written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/1inguini/huffman already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8b275b4eb3a85a03a2ef4f5c48d8f748d6166edd6361f8c3fd7456b51f1c690 [INFO] running `Command { std: "docker" "start" "-a" "e8b275b4eb3a85a03a2ef4f5c48d8f748d6166edd6361f8c3fd7456b51f1c690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8b275b4eb3a85a03a2ef4f5c48d8f748d6166edd6361f8c3fd7456b51f1c690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8b275b4eb3a85a03a2ef4f5c48d8f748d6166edd6361f8c3fd7456b51f1c690", kill_on_drop: false }` [INFO] [stdout] e8b275b4eb3a85a03a2ef4f5c48d8f748d6166edd6361f8c3fd7456b51f1c690 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5b2c2cebeb39c75036683261fc03437c45912f0295cf803fa0b3e42e3db197c [INFO] running `Command { std: "docker" "start" "-a" "a5b2c2cebeb39c75036683261fc03437c45912f0295cf803fa0b3e42e3db197c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking wyz v0.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bitvec v1.0.0 [INFO] [stderr] Compiling clap_derive v3.1.2 [INFO] [stderr] Checking clap v3.1.2 [INFO] [stderr] Checking huffman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util` [INFO] [stdout] --> src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | use crate::util; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util` [INFO] [stdout] --> src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | use crate::util; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr::BitRef` [INFO] [stdout] --> src/main.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | use bitvec::{ptr::BitRef, slice::BitSlice, vec::BitVec}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter` [INFO] [stdout] --> src/main.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | use std::{fmt::Debug, iter, mem, ops::Index}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr::BitRef` [INFO] [stdout] --> src/main.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | use bitvec::{ptr::BitRef, slice::BitSlice, vec::BitVec}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter` [INFO] [stdout] --> src/main.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | use std::{fmt::Debug, iter, mem, ops::Index}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `fmt::Display`, `marker::PhantomData` [INFO] [stdout] --> src/main.rs:635:5 [INFO] [stdout] | [INFO] [stdout] 635 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 636 | fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 639 | marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `fmt::Display`, `marker::PhantomData` [INFO] [stdout] --> src/main.rs:635:5 [INFO] [stdout] | [INFO] [stdout] 635 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 636 | fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 639 | marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:869:21 [INFO] [stdout] | [INFO] [stdout] 869 | / line.parse::>() [INFO] [stdout] 870 | | .map_err(|position| { [INFO] [stdout] 871 | | Error::InvalidCodeString(IsAt { [INFO] [stdout] 872 | | line: linenum, [INFO] [stdout] ... | [INFO] [stdout] 875 | | }) [INFO] [stdout] 876 | | })? [INFO] [stdout] | |___________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 886 | }); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 889 | decoded?.fold(String::new(), |accm, symbol| accm + " " + symbol) [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:869:21 [INFO] [stdout] | [INFO] [stdout] 869 | / line.parse::>() [INFO] [stdout] 870 | | .map_err(|position| { [INFO] [stdout] 871 | | Error::InvalidCodeString(IsAt { [INFO] [stdout] 872 | | line: linenum, [INFO] [stdout] ... | [INFO] [stdout] 875 | | }) [INFO] [stdout] 876 | | })? [INFO] [stdout] | |___________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 886 | }); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 889 | decoded?.fold(String::new(), |accm, symbol| accm + " " + symbol) [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `huffman` (bin "huffman" test) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `huffman` (bin "huffman") due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a5b2c2cebeb39c75036683261fc03437c45912f0295cf803fa0b3e42e3db197c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b2c2cebeb39c75036683261fc03437c45912f0295cf803fa0b3e42e3db197c", kill_on_drop: false }` [INFO] [stdout] a5b2c2cebeb39c75036683261fc03437c45912f0295cf803fa0b3e42e3db197c