[INFO] cloning repository https://github.com/femnad/lhn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/femnad/lhn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffemnad%2Flhn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffemnad%2Flhn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58dee61b52add06ba87a67d47b294bfce979e3ba [INFO] checking femnad/lhn against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffemnad%2Flhn" "/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/femnad/lhn 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/femnad/lhn [INFO] finished tweaking git repo https://github.com/femnad/lhn [INFO] tweaked toml for git repo https://github.com/femnad/lhn written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/femnad/lhn 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] 23658fbff178650368d5c43742014b315af8573b3a79622f296baaac3d854ffa [INFO] running `Command { std: "docker" "start" "-a" "23658fbff178650368d5c43742014b315af8573b3a79622f296baaac3d854ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23658fbff178650368d5c43742014b315af8573b3a79622f296baaac3d854ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23658fbff178650368d5c43742014b315af8573b3a79622f296baaac3d854ffa", kill_on_drop: false }` [INFO] [stdout] 23658fbff178650368d5c43742014b315af8573b3a79622f296baaac3d854ffa [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] 591cc668f37635980e9eefe5a5ac3b616a0fe0c466f30c894dcb293af135a466 [INFO] running `Command { std: "docker" "start" "-a" "591cc668f37635980e9eefe5a5ac3b616a0fe0c466f30c894dcb293af135a466", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling cc v1.0.64 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking chunked_transfer v1.3.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking tar v0.4.30 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Compiling ring v0.16.16 [INFO] [stderr] Compiling openssl-sys v0.9.70 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.12.24+1.3.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking ureq v2.1.1 [INFO] [stderr] Checking git2 v0.13.23 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Checking lhn v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/archive.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | let url = &archive.get_url(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 80 | match crate::download::get_reader(url) { [INFO] [stdout] | -------------------------------- a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 88 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result` [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 87 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/archive.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | let url = &archive.get_url(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 80 | match crate::download::get_reader(url) { [INFO] [stdout] | -------------------------------- a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 88 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result` [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 87 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lhn` (bin "lhn" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lhn` (bin "lhn") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "591cc668f37635980e9eefe5a5ac3b616a0fe0c466f30c894dcb293af135a466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "591cc668f37635980e9eefe5a5ac3b616a0fe0c466f30c894dcb293af135a466", kill_on_drop: false }` [INFO] [stdout] 591cc668f37635980e9eefe5a5ac3b616a0fe0c466f30c894dcb293af135a466