[INFO] fetching crate hyperlink 0.1.31... [INFO] checking hyperlink-0.1.31 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate hyperlink 0.1.31 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate hyperlink 0.1.31 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 crates.io crate hyperlink 0.1.31 [INFO] finished tweaking crates.io crate hyperlink 0.1.31 [INFO] tweaked toml for crates.io crate hyperlink 0.1.31 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate hyperlink 0.1.31 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 15f947faf4b1de3e6c323b128260f1cbb09a0797fc7731133dcb74c4bc6d2e65 [INFO] running `Command { std: "docker" "start" "-a" "15f947faf4b1de3e6c323b128260f1cbb09a0797fc7731133dcb74c4bc6d2e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15f947faf4b1de3e6c323b128260f1cbb09a0797fc7731133dcb74c4bc6d2e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f947faf4b1de3e6c323b128260f1cbb09a0797fc7731133dcb74c4bc6d2e65", kill_on_drop: false }` [INFO] [stdout] 15f947faf4b1de3e6c323b128260f1cbb09a0797fc7731133dcb74c4bc6d2e65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 782417ace30c779bbf7978e5b91ea12926fe49d82b4f8dc57dc80c8e0a3277ec [INFO] running `Command { std: "docker" "start" "-a" "782417ace30c779bbf7978e5b91ea12926fe49d82b4f8dc57dc80c8e0a3277ec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling jetscii v0.5.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking predicates-tree v1.0.2 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking bumpalo v3.11.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking pretty_assertions v1.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking html5gum v0.5.6 [INFO] [stderr] Compiling blake3 v1.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking rayon-core v1.11.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking predicates v2.0.2 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking assert_cmd v2.0.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking jwalk v0.7.0 [INFO] [stderr] Checking assert_fs v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.2 [INFO] [stderr] Checking clap v3.0.4 [INFO] [stderr] Checking hyperlink v0.1.31 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `document` does not live long enough [INFO] [stdout] --> src/main.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 330 | let document = Document::new(Path::new(""), &path); [INFO] [stdout] | -------- binding `document` declared here [INFO] [stdout] 331 | document [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | _____________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 332 | | .links::>(&mut doc_buf, false, true)? [INFO] [stdout] | |___________________________________________________________________________________________- a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 335 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `document` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow, impl Iterator as ParagraphWalker>::Paragraph>>>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 331 ~ let x = document [INFO] [stdout] 332 | .links::>(&mut doc_buf, false, true)? [INFO] [stdout] 333 | .filter_map(|link| Some((link.into_paragraph()?, None))) [INFO] [stdout] 334 ~ .collect(); x [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 E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperlink` (bin "hyperlink") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0597]: `document` does not live long enough [INFO] [stdout] --> src/main.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 330 | let document = Document::new(Path::new(""), &path); [INFO] [stdout] | -------- binding `document` declared here [INFO] [stdout] 331 | document [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | _____________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 332 | | .links::>(&mut doc_buf, false, true)? [INFO] [stdout] | |___________________________________________________________________________________________- a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 335 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `document` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow, impl Iterator as ParagraphWalker>::Paragraph>>>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 331 ~ let x = document [INFO] [stdout] 332 | .links::>(&mut doc_buf, false, true)? [INFO] [stdout] 333 | .filter_map(|link| Some((link.into_paragraph()?, None))) [INFO] [stdout] 334 ~ .collect(); x [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 E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperlink` (bin "hyperlink" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "782417ace30c779bbf7978e5b91ea12926fe49d82b4f8dc57dc80c8e0a3277ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782417ace30c779bbf7978e5b91ea12926fe49d82b4f8dc57dc80c8e0a3277ec", kill_on_drop: false }` [INFO] [stdout] 782417ace30c779bbf7978e5b91ea12926fe49d82b4f8dc57dc80c8e0a3277ec