[INFO] cloning repository https://github.com/brioche-dev/brioche [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brioche-dev/brioche" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrioche-dev%2Fbrioche", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrioche-dev%2Fbrioche'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9420397b80cb1eda4b6c212ea5ffa4e7f37bd940 [INFO] checking brioche-dev/brioche against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrioche-dev%2Fbrioche" "/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/brioche-dev/brioche 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/brioche-dev/brioche [INFO] finished tweaking git repo https://github.com/brioche-dev/brioche [INFO] tweaked toml for git repo https://github.com/brioche-dev/brioche written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/brioche-dev/brioche 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] 72ef9c217751442d977f14b3ab8778ff4f59b70dc87ac7be725f365ecb6202d5 [INFO] running `Command { std: "docker" "start" "-a" "72ef9c217751442d977f14b3ab8778ff4f59b70dc87ac7be725f365ecb6202d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72ef9c217751442d977f14b3ab8778ff4f59b70dc87ac7be725f365ecb6202d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72ef9c217751442d977f14b3ab8778ff4f59b70dc87ac7be725f365ecb6202d5", kill_on_drop: false }` [INFO] [stdout] 72ef9c217751442d977f14b3ab8778ff4f59b70dc87ac7be725f365ecb6202d5 [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] 590d5f10590d3540309a0df86cf472a86ab204b9bdcfafdef945537311427b0b [INFO] running `Command { std: "docker" "start" "-a" "590d5f10590d3540309a0df86cf472a86ab204b9bdcfafdef945537311427b0b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling rquickjs-sys v0.1.6 (https://github.com/DelSkayn/rquickjs#580cc001) [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling clap v3.2.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling relative-path v1.7.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking crypto-common v0.1.4 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rustls-pemfile v1.0.0 [INFO] [stderr] Checking nix v0.20.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking nix v0.21.2 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unshare v0.7.0 (https://github.com/brioche-dev/unshare.git#8da438e8) [INFO] [stderr] Checking libmount v0.1.15 (https://github.com/brioche-dev/libmount.git#d255f1a8) [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling rquickjs-core v0.1.6 (https://github.com/DelSkayn/rquickjs#580cc001) [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Compiling rquickjs-macro v0.1.6 (https://github.com/DelSkayn/rquickjs#580cc001) [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking cjson v0.1.2 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking rquickjs v0.1.6 (https://github.com/DelSkayn/rquickjs#580cc001) [INFO] [stderr] Checking brioche v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `child` does not live long enough [INFO] [stdout] --> src/bake.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 105 | let mut child = bootstrap_env.spawn(&command)?; [INFO] [stdout] | --------- binding `child` declared here [INFO] [stdout] 106 | let child_stdin = child.take_stdin(); [INFO] [stdout] | ^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `child` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 224 | } [INFO] [stdout] | - `child` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `child` as mutable more than once at a time [INFO] [stdout] --> src/bake.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 106 | let child_stdin = child.take_stdin(); [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `child` is borrowed for `'static` [INFO] [stdout] 107 | let child_stdout = child.take_stdout(); [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `child` as mutable more than once at a time [INFO] [stdout] --> src/bake.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 106 | let child_stdin = child.take_stdin(); [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `child` is borrowed for `'static` [INFO] [stdout] 107 | let child_stdout = child.take_stdout(); [INFO] [stdout] 108 | let child_stderr = child.take_stderr(); [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `child` because it is borrowed [INFO] [stdout] --> src/bake.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 105 | let mut child = bootstrap_env.spawn(&command)?; [INFO] [stdout] | --------- binding `child` declared here [INFO] [stdout] 106 | let child_stdin = child.take_stdin(); [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | borrow of `child` occurs here [INFO] [stdout] | argument requires that `child` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 110 | let child_task = tokio::task::spawn_blocking(move || -> anyhow::Result<_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move out of `child` occurs here [INFO] [stdout] 111 | let exit_status = child.wait()?; [INFO] [stdout] | ----- move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `child` does not live long enough [INFO] [stdout] --> src/bake.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 105 | let mut child = bootstrap_env.spawn(&command)?; [INFO] [stdout] | --------- binding `child` declared here [INFO] [stdout] 106 | let child_stdin = child.take_stdin(); [INFO] [stdout] | ^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `child` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 224 | } [INFO] [stdout] | - `child` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `child` as mutable more than once at a time [INFO] [stdout] --> src/bake.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 106 | let child_stdin = child.take_stdin(); [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `child` is borrowed for `'static` [INFO] [stdout] 107 | let child_stdout = child.take_stdout(); [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `child` as mutable more than once at a time [INFO] [stdout] --> src/bake.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 106 | let child_stdin = child.take_stdin(); [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `child` is borrowed for `'static` [INFO] [stdout] 107 | let child_stdout = child.take_stdout(); [INFO] [stdout] 108 | let child_stderr = child.take_stderr(); [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `child` because it is borrowed [INFO] [stdout] --> src/bake.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 105 | let mut child = bootstrap_env.spawn(&command)?; [INFO] [stdout] | --------- binding `child` declared here [INFO] [stdout] 106 | let child_stdin = child.take_stdin(); [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | borrow of `child` occurs here [INFO] [stdout] | argument requires that `child` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 110 | let child_task = tokio::task::spawn_blocking(move || -> anyhow::Result<_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move out of `child` occurs here [INFO] [stdout] 111 | let exit_status = child.wait()?; [INFO] [stdout] | ----- move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brioche` (bin "brioche") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brioche` (bin "brioche" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "590d5f10590d3540309a0df86cf472a86ab204b9bdcfafdef945537311427b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590d5f10590d3540309a0df86cf472a86ab204b9bdcfafdef945537311427b0b", kill_on_drop: false }` [INFO] [stdout] 590d5f10590d3540309a0df86cf472a86ab204b9bdcfafdef945537311427b0b