[INFO] cloning repository https://github.com/zhangyemengren/learn_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhangyemengren/learn_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyemengren%2Flearn_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyemengren%2Flearn_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49b832e970f0e7c4efde3593d29eb372f13cee24 [INFO] checking zhangyemengren/learn_rust against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyemengren%2Flearn_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhangyemengren/learn_rust on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhangyemengren/learn_rust [INFO] finished tweaking git repo https://github.com/zhangyemengren/learn_rust [INFO] tweaked toml for git repo https://github.com/zhangyemengren/learn_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zhangyemengren/learn_rust 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3763bf78c093716b8a488e7d6d874ce62fe074ada0136e63167b377b015f09cc [INFO] running `Command { std: "docker" "start" "-a" "3763bf78c093716b8a488e7d6d874ce62fe074ada0136e63167b377b015f09cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3763bf78c093716b8a488e7d6d874ce62fe074ada0136e63167b377b015f09cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3763bf78c093716b8a488e7d6d874ce62fe074ada0136e63167b377b015f09cc", kill_on_drop: false }` [INFO] [stdout] 3763bf78c093716b8a488e7d6d874ce62fe074ada0136e63167b377b015f09cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eba29855e6d21930a78b03d6203951331a7eb897945cc9731ed87c41b34f1571 [INFO] running `Command { std: "docker" "start" "-a" "eba29855e6d21930a78b03d6203951331a7eb897945cc9731ed87c41b34f1571", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.6.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking too_many_lists v0.1.0 (/opt/rustwide/workdir/too_many_lists) [INFO] [stderr] Checking rust_by_example v0.1.0 (/opt/rustwide/workdir/rust_by_example) [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stdout] error[E0597]: `_x` does not live long enough [INFO] [stdout] --> rust_by_example/examples/scope/lifetime_explicit.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 19 | fn failed_borrow<'a>() { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 20 | let _x = 12; [INFO] [stdout] | -- binding `_x` declared here [INFO] [stdout] ... [INFO] [stdout] 23 | let y: &'a i32 = &_x; [INFO] [stdout] | ------- ^^^ borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] | type annotation requires that `_x` is borrowed for `'a` [INFO] [stdout] ... [INFO] [stdout] 26 | } [INFO] [stdout] | - `_x` dropped here while still borrowed [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] [stderr] error: could not compile `rust_by_example` (example "scope_lifetime_explicit") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "eba29855e6d21930a78b03d6203951331a7eb897945cc9731ed87c41b34f1571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eba29855e6d21930a78b03d6203951331a7eb897945cc9731ed87c41b34f1571", kill_on_drop: false }` [INFO] [stdout] eba29855e6d21930a78b03d6203951331a7eb897945cc9731ed87c41b34f1571