[INFO] cloning repository https://github.com/benneycao/rust-book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benneycao/rust-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenneycao%2Frust-book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenneycao%2Frust-book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53462fa4d74f283ada547bb68a9130be468d0a77 [INFO] checking benneycao/rust-book against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenneycao%2Frust-book" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benneycao/rust-book on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/benneycao/rust-book [INFO] finished tweaking git repo https://github.com/benneycao/rust-book [INFO] tweaked toml for git repo https://github.com/benneycao/rust-book written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/benneycao/rust-book 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfc861793903f1a7e664b2012b3cba7d88163d63e0e86558c8605e9f246c27d2 [INFO] running `Command { std: "docker" "start" "-a" "dfc861793903f1a7e664b2012b3cba7d88163d63e0e86558c8605e9f246c27d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfc861793903f1a7e664b2012b3cba7d88163d63e0e86558c8605e9f246c27d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfc861793903f1a7e664b2012b3cba7d88163d63e0e86558c8605e9f246c27d2", kill_on_drop: false }` [INFO] [stdout] dfc861793903f1a7e664b2012b3cba7d88163d63e0e86558c8605e9f246c27d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b5a98ce27464e363bba63428bff360cabcba6758aaad64b7108a1a5b76f342c [INFO] running `Command { std: "docker" "start" "-a" "5b5a98ce27464e363bba63428bff360cabcba6758aaad64b7108a1a5b76f342c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking ch13_borrow_checked v0.1.0 (/opt/rustwide/workdir/dedao-rust-1/ch13_borrow_checked) [INFO] [stderr] Checking ch01_hello_world v0.1.0 (/opt/rustwide/workdir/rust-examples/ch01_hello_world) [INFO] [stderr] Checking ch25_generator v0.1.0 (/opt/rustwide/workdir/dedao-rust-1/ch25_generator) [INFO] [stderr] Checking ch29_shared_state v0.1.0 (/opt/rustwide/workdir/dedao-rust-1/ch29_shared_state) [INFO] [stderr] Checking ch26_standard_library v0.1.0 (/opt/rustwide/workdir/dedao-rust-1/ch26_standard_library) [INFO] [stderr] Checking ch04 v0.1.0 (/opt/rustwide/workdir/the-rust-programming-language/ch04) [INFO] [stderr] Checking ch16_deref v0.1.0 (/opt/rustwide/workdir/dedao-rust-1/ch16_deref) [INFO] [stderr] Checking ch03_custom_type v0.1.0 (/opt/rustwide/workdir/rust-examples/ch03_custom_type) [INFO] [stderr] Checking ch17_out_of_memory v0.1.0 (/opt/rustwide/workdir/dedao-rust-1/ch17_out_of_memory) [INFO] [stderr] Checking s5_circle_self_ref v0.1.0 (/opt/rustwide/workdir/course_rs/ch03_advance/s5_circle_self_ref) [INFO] [stderr] Checking ch21_generic v0.1.0 (/opt/rustwide/workdir/dedao-rust-1/ch21_generic) [INFO] [stderr] Checking ch22_closure v0.1.0 (/opt/rustwide/workdir/dedao-rust-1/ch22_closure) [INFO] [stderr] Checking s6_thread_process v0.1.0 (/opt/rustwide/workdir/course_rs/ch03_advance/s6_thread_process) [INFO] [stderr] Checking ch24_contains_and_iterator v0.1.0 (/opt/rustwide/workdir/dedao-rust-1/ch24_container_and_iterator) [INFO] [stderr] Checking s2_closure_and_iterator v0.1.0 (/opt/rustwide/workdir/course_rs/ch03_advance/s2_closure_and_iterator) [INFO] [stderr] Checking rust_temp v0.1.0 (/opt/rustwide/workdir/rust_temp) [INFO] [stderr] Checking ch23_static_and_dynamic_dispatch v0.1.0 (/opt/rustwide/workdir/dedao-rust-1/ch23_static_and_dynamic_dispatch) [INFO] [stderr] Checking s9_unsafe v0.1.0 (/opt/rustwide/workdir/course_rs/ch03_advance/s9_unsafe) [INFO] [stderr] Checking ch11_ownership_and_move v0.1.0 (/opt/rustwide/workdir/dedao-rust-1/ch11_ownership_and_move) [INFO] [stderr] Checking ch02_primitives v0.1.0 (/opt/rustwide/workdir/rust-examples/ch02_primitives) [INFO] [stderr] Checking ch13 v0.1.0 (/opt/rustwide/workdir/the-rust-programming-language/ch13) [INFO] [stderr] Checking ch15_internal_mutablity v0.1.0 (/opt/rustwide/workdir/dedao-rust-1/ch15_interior_mutability) [INFO] [stderr] Checking ch16 v0.1.0 (/opt/rustwide/workdir/the-rust-programming-language/ch16) [INFO] [stdout] error[E0597]: `local` does not live long enough [INFO] [stdout] --> dedao-rust-1/ch22_closure/src/closure_lifetime.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 1 | fn calc_by<'a, F>(var: &'a i32, f: F) -> i32 [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 4 | let local = *var; [INFO] [stdout] | ----- binding `local` declared here [INFO] [stdout] 5 | f(&local) [INFO] [stdout] | --^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `local` is borrowed for `'a` [INFO] [stdout] 6 | } [INFO] [stdout] | - `local` 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 `ch22_closure` (bin "ch22_closure" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5b5a98ce27464e363bba63428bff360cabcba6758aaad64b7108a1a5b76f342c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b5a98ce27464e363bba63428bff360cabcba6758aaad64b7108a1a5b76f342c", kill_on_drop: false }` [INFO] [stdout] 5b5a98ce27464e363bba63428bff360cabcba6758aaad64b7108a1a5b76f342c [INFO] checking benneycao/rust-book against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenneycao%2Frust-book" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benneycao/rust-book on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/benneycao/rust-book [INFO] finished tweaking git repo https://github.com/benneycao/rust-book [INFO] tweaked toml for git repo https://github.com/benneycao/rust-book written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/benneycao/rust-book 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07fa46569990132ffed65334f0d005f11dba0c4965cc75ec5ce9fd6d525b8ab6 [INFO] running `Command { std: "docker" "start" "-a" "07fa46569990132ffed65334f0d005f11dba0c4965cc75ec5ce9fd6d525b8ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07fa46569990132ffed65334f0d005f11dba0c4965cc75ec5ce9fd6d525b8ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07fa46569990132ffed65334f0d005f11dba0c4965cc75ec5ce9fd6d525b8ab6", kill_on_drop: false }` [INFO] [stdout] 07fa46569990132ffed65334f0d005f11dba0c4965cc75ec5ce9fd6d525b8ab6 [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=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98385f6c2d3aa7d1c31b2804b3116f0b1f3355d463261d54e62a6787f98539bc [INFO] running `Command { std: "docker" "start" "-a" "98385f6c2d3aa7d1c31b2804b3116f0b1f3355d463261d54e62a6787f98539bc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "98385f6c2d3aa7d1c31b2804b3116f0b1f3355d463261d54e62a6787f98539bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98385f6c2d3aa7d1c31b2804b3116f0b1f3355d463261d54e62a6787f98539bc", kill_on_drop: false }` [INFO] [stdout] 98385f6c2d3aa7d1c31b2804b3116f0b1f3355d463261d54e62a6787f98539bc