[INFO] cloning repository https://github.com/untitaker/hyperlink [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/untitaker/hyperlink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funtitaker%2Fhyperlink", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funtitaker%2Fhyperlink'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb37242856f9939767957c8232462381f6d9b1ed [INFO] checking untitaker/hyperlink against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funtitaker%2Fhyperlink" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/untitaker/hyperlink 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/untitaker/hyperlink [INFO] finished tweaking git repo https://github.com/untitaker/hyperlink [INFO] tweaked toml for git repo https://github.com/untitaker/hyperlink written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/untitaker/hyperlink 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 093338c6c458300e33407effc550737a4f5b9b94a0f81963ca1521e8f6b4d0f7 [INFO] running `Command { std: "docker" "start" "-a" "093338c6c458300e33407effc550737a4f5b9b94a0f81963ca1521e8f6b4d0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "093338c6c458300e33407effc550737a4f5b9b94a0f81963ca1521e8f6b4d0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "093338c6c458300e33407effc550737a4f5b9b94a0f81963ca1521e8f6b4d0f7", kill_on_drop: false }` [INFO] [stdout] 093338c6c458300e33407effc550737a4f5b9b94a0f81963ca1521e8f6b4d0f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 43ee909d21bac80562b12a565e769ad6bb2e84c6cab91a75c7b6cd0bb009e23c [INFO] running `Command { std: "docker" "start" "-a" "43ee909d21bac80562b12a565e769ad6bb2e84c6cab91a75c7b6cd0bb009e23c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.4.1 [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] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.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] Checking rand_core v0.6.3 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling jetscii v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking predicates-tree v1.0.2 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling blake3 v1.0.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking html5gum v0.5.7 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking bumpalo v3.11.1 [INFO] [stderr] Checking assert_fs v1.0.2 [INFO] [stderr] Checking pretty_assertions v1.0.0 [INFO] [stderr] Checking predicates v2.0.2 [INFO] [stderr] Checking assert_cmd v2.0.2 [INFO] [stderr] Checking jwalk v0.7.0 [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:327:13 [INFO] [stdout] | [INFO] [stdout] 326 | let document = Document::new(Path::new(""), &path); [INFO] [stdout] | -------- binding `document` declared here [INFO] [stdout] 327 | document [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | _____________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 328 | | .links::>(&mut doc_buf, false)? [INFO] [stdout] | |_____________________________________________________________________________________- a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 331 | } [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] 327 ~ let x = document [INFO] [stdout] 328 | .links::>(&mut doc_buf, false)? [INFO] [stdout] 329 | .filter_map(|link| Some((link.into_paragraph()?, None))) [INFO] [stdout] 330 ~ .collect(); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `document` does not live long enough [INFO] [stdout] --> src/main.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 326 | let document = Document::new(Path::new(""), &path); [INFO] [stdout] | -------- binding `document` declared here [INFO] [stdout] 327 | document [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | _____________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 328 | | .links::>(&mut doc_buf, false)? [INFO] [stdout] | |_____________________________________________________________________________________- a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 331 | } [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] 327 ~ let x = document [INFO] [stdout] 328 | .links::>(&mut doc_buf, false)? [INFO] [stdout] 329 | .filter_map(|link| Some((link.into_paragraph()?, None))) [INFO] [stdout] 330 ~ .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: 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" "43ee909d21bac80562b12a565e769ad6bb2e84c6cab91a75c7b6cd0bb009e23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43ee909d21bac80562b12a565e769ad6bb2e84c6cab91a75c7b6cd0bb009e23c", kill_on_drop: false }` [INFO] [stdout] 43ee909d21bac80562b12a565e769ad6bb2e84c6cab91a75c7b6cd0bb009e23c