[INFO] cloning repository https://github.com/NathanRoyer/async-exec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NathanRoyer/async-exec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNathanRoyer%2Fasync-exec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNathanRoyer%2Fasync-exec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8acc10a013951156099237da5cd161a011749c72 [INFO] checking NathanRoyer/async-exec against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNathanRoyer%2Fasync-exec" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NathanRoyer/async-exec [INFO] finished tweaking git repo https://github.com/NathanRoyer/async-exec [INFO] tweaked toml for git repo https://github.com/NathanRoyer/async-exec written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NathanRoyer/async-exec on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NathanRoyer/async-exec 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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking NathanRoyer/async-exec against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNathanRoyer%2Fasync-exec" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NathanRoyer/async-exec [INFO] finished tweaking git repo https://github.com/NathanRoyer/async-exec [INFO] tweaked toml for git repo https://github.com/NathanRoyer/async-exec written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NathanRoyer/async-exec on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NathanRoyer/async-exec 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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", 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] Downloading crates ... [INFO] [stderr] Downloaded async-fifo v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 181e3bc7f39e0029894cef4278c77b9575744ff4e16455bbbb326ea3ba4b96ad [INFO] running `Command { std: "docker" "start" "-a" "181e3bc7f39e0029894cef4278c77b9575744ff4e16455bbbb326ea3ba4b96ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "181e3bc7f39e0029894cef4278c77b9575744ff4e16455bbbb326ea3ba4b96ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "181e3bc7f39e0029894cef4278c77b9575744ff4e16455bbbb326ea3ba4b96ad", kill_on_drop: false }` [INFO] [stdout] 181e3bc7f39e0029894cef4278c77b9575744ff4e16455bbbb326ea3ba4b96ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e803ce6ecd1fa5234e856fbbbcf47a9ac7b1e1dceb70123c16fa3b80900b104e [INFO] running `Command { std: "docker" "start" "-a" "e803ce6ecd1fa5234e856fbbbcf47a9ac7b1e1dceb70123c16fa3b80900b104e", kill_on_drop: false }` [INFO] [stderr] Checking async-fifo v0.6.5 [INFO] [stderr] Checking async-exec v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/utils.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 91 | fn test_select() { [INFO] [stdout] | ----------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 100 | Sel::A(ret_1) => self.handle_1(ret_1), [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/utils.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 91 | fn test_select() { [INFO] [stdout] | ----------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 101 | Sel::B(ret_2) => self.handle_2(ret_2), [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sel_opt` in this scope [INFO] [stdout] --> src/utils.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let opt_1 = sel_opt(task_1); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sel_opt` in this scope [INFO] [stdout] --> src/utils.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let opt_2 = sel_opt(task_2); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `select` in this scope [INFO] [stdout] --> src/utils.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 54 | / pub async fn select2(a: A, b: B) -> Sel2 [INFO] [stdout] 55 | | where [INFO] [stdout] 56 | | A: Future, [INFO] [stdout] 57 | | B: Future, [INFO] [stdout] ... | [INFO] [stdout] 61 | | race([&mut wrapper_a, &mut wrapper_b]).await [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- similarly named function `select2` defined here [INFO] [stdout] ... [INFO] [stdout] 99 | let ret = match select(task_1, task_2) { [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `select2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sel` [INFO] [stdout] --> src/utils.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | Sel::A(ret_1) => self.handle_1(ret_1), [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Sel` [INFO] [stdout] | help: an enum with a similar name exists: `Sel2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sel` [INFO] [stdout] --> src/utils.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | Sel::B(ret_2) => self.handle_2(ret_2), [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Sel` [INFO] [stdout] | help: an enum with a similar name exists: `Sel2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0424, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-exec` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "e803ce6ecd1fa5234e856fbbbcf47a9ac7b1e1dceb70123c16fa3b80900b104e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e803ce6ecd1fa5234e856fbbbcf47a9ac7b1e1dceb70123c16fa3b80900b104e", kill_on_drop: false }` [INFO] [stdout] e803ce6ecd1fa5234e856fbbbcf47a9ac7b1e1dceb70123c16fa3b80900b104e