[INFO] cloning repository https://github.com/azdlowry/RustLangBorrowCheckerExamples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/azdlowry/RustLangBorrowCheckerExamples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazdlowry%2FRustLangBorrowCheckerExamples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazdlowry%2FRustLangBorrowCheckerExamples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89d70bccf8847470a4a5c3009a8a08481b6aa171 [INFO] checking azdlowry/RustLangBorrowCheckerExamples/89d70bccf8847470a4a5c3009a8a08481b6aa171 against master#d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee for pr-127481-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazdlowry%2FRustLangBorrowCheckerExamples" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/azdlowry/RustLangBorrowCheckerExamples on toolchain d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/azdlowry/RustLangBorrowCheckerExamples [INFO] finished tweaking git repo https://github.com/azdlowry/RustLangBorrowCheckerExamples [INFO] tweaked toml for git repo https://github.com/azdlowry/RustLangBorrowCheckerExamples written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/azdlowry/RustLangBorrowCheckerExamples 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" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64b4c14c0a8751d510d211a038c5fc6a3b46150fa4cd56e4c72b233f4f74311f [INFO] running `Command { std: "docker" "start" "-a" "64b4c14c0a8751d510d211a038c5fc6a3b46150fa4cd56e4c72b233f4f74311f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64b4c14c0a8751d510d211a038c5fc6a3b46150fa4cd56e4c72b233f4f74311f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64b4c14c0a8751d510d211a038c5fc6a3b46150fa4cd56e4c72b233f4f74311f", kill_on_drop: false }` [INFO] [stdout] 64b4c14c0a8751d510d211a038c5fc6a3b46150fa4cd56e4c72b233f4f74311f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 160e01eb46e2e48cee37b764d8950675751167c5c41030c8760a46a8ab835ef3 [INFO] running `Command { std: "docker" "start" "-a" "160e01eb46e2e48cee37b764d8950675751167c5c41030c8760a46a8ab835ef3", kill_on_drop: false }` [INFO] [stderr] Checking rust_lang_borrow_checker_examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `x` does not live long enough [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 6 | let x = vec![1, 2, 3]; [INFO] [stdout] | - binding `x` declared here [INFO] [stdout] 7 | y = &x; [INFO] [stdout] | ^^ borrowed value does not live long enough [INFO] [stdout] 8 | println!("{:?}", x); [INFO] [stdout] 9 | } [INFO] [stdout] | - `x` dropped here while still borrowed [INFO] [stdout] 10 | println!("{:?}", y); [INFO] [stdout] | - borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `x` does not live long enough [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 6 | let x = vec![1, 2, 3]; [INFO] [stdout] | - binding `x` declared here [INFO] [stdout] 7 | y = &x; [INFO] [stdout] | ^^ borrowed value does not live long enough [INFO] [stdout] 8 | println!("{:?}", x); [INFO] [stdout] 9 | } [INFO] [stdout] | - `x` dropped here while still borrowed [INFO] [stdout] 10 | println!("{:?}", y); [INFO] [stdout] | - borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 `rust_lang_borrow_checker_examples` (bin "rust_lang_borrow_checker_examples") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_lang_borrow_checker_examples` (bin "rust_lang_borrow_checker_examples" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "160e01eb46e2e48cee37b764d8950675751167c5c41030c8760a46a8ab835ef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "160e01eb46e2e48cee37b764d8950675751167c5c41030c8760a46a8ab835ef3", kill_on_drop: false }` [INFO] [stdout] 160e01eb46e2e48cee37b764d8950675751167c5c41030c8760a46a8ab835ef3