[INFO] cloning repository https://github.com/doy/nbsh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/doy/nbsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoy%2Fnbsh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoy%2Fnbsh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4151ab7aab939a12721a0f4207c87b5c09ace339 [INFO] checking doy/nbsh against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoy%2Fnbsh" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/doy/nbsh on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/doy/nbsh [INFO] finished tweaking git repo https://github.com/doy/nbsh [INFO] tweaked toml for git repo https://github.com/doy/nbsh written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/doy/nbsh already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 022e91bc0836727b2b46bf7a0df57af141fce682444bc23c6764e764fb325301 [INFO] running `Command { std: "docker" "start" "-a" "022e91bc0836727b2b46bf7a0df57af141fce682444bc23c6764e764fb325301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "022e91bc0836727b2b46bf7a0df57af141fce682444bc23c6764e764fb325301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "022e91bc0836727b2b46bf7a0df57af141fce682444bc23c6764e764fb325301", kill_on_drop: false }` [INFO] [stdout] 022e91bc0836727b2b46bf7a0df57af141fce682444bc23c6764e764fb325301 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bee9be4980070b95514fd6744d1290562f1468a4cba2fdee3ddad2e35156109 [INFO] running `Command { std: "docker" "start" "-a" "2bee9be4980070b95514fd6744d1290562f1468a4cba2fdee3ddad2e35156109", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking nix v0.23.1 (https://github.com/nix-rust/nix#9312f1c4) [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libgit2-sys v0.13.1+1.4.2 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking notify v5.0.0-pre.13 (https://github.com/notify-rs/notify#b1802ecc) [INFO] [stderr] Checking vt100 v0.15.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking clap v3.1.5 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Checking textmode v0.3.0 (https://github.com/doy/textmode#193e1963) [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking pty-process v0.2.0 (https://github.com/doy/pty-process#b2733e64) [INFO] [stderr] Checking git2 v0.14.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking nbsh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `runner::wait_children` [INFO] [stdout] --> src/runner/mod.rs:411:36 [INFO] [stdout] | [INFO] [stdout] 411 | builtins.map(Res::Builtin).boxed(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/runner/mod.rs:383:42: 385:14]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `runner::wait_children`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `runner::wait_children` [INFO] [stdout] --> src/runner/mod.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 | / async fn wait_children( [INFO] [stdout] 350 | | children: Vec, [INFO] [stdout] 351 | | pg: Option, [INFO] [stdout] 352 | | shell_write: &mut Option, [INFO] [stdout] 353 | | ) -> std::process::ExitStatus { [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 E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nbsh` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `runner::wait_children` [INFO] [stdout] --> src/runner/mod.rs:411:36 [INFO] [stdout] | [INFO] [stdout] 411 | builtins.map(Res::Builtin).boxed(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/runner/mod.rs:383:42: 385:14]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `runner::wait_children::{closure#0}::{closure#2}::{closure#0}`... [INFO] [stdout] --> src/runner/mod.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(i, child)| async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 384 | | (child.status().await, i == count - 1) [INFO] [stdout] 385 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `runner::wait_children`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `runner::wait_children` [INFO] [stdout] --> src/runner/mod.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 | / async fn wait_children( [INFO] [stdout] 350 | | children: Vec, [INFO] [stdout] 351 | | pg: Option, [INFO] [stdout] 352 | | shell_write: &mut Option, [INFO] [stdout] 353 | | ) -> std::process::ExitStatus { [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 E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nbsh` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "2bee9be4980070b95514fd6744d1290562f1468a4cba2fdee3ddad2e35156109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bee9be4980070b95514fd6744d1290562f1468a4cba2fdee3ddad2e35156109", kill_on_drop: false }` [INFO] [stdout] 2bee9be4980070b95514fd6744d1290562f1468a4cba2fdee3ddad2e35156109