[INFO] cloning repository https://github.com/jenr24/bldr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jenr24/bldr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjenr24%2Fbldr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjenr24%2Fbldr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 867064b9c49ca2156c5909625b9d2a0aeb46114f [INFO] checking jenr24/bldr against try#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjenr24%2Fbldr" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jenr24/bldr on toolchain 44e31dee3cf6f37b4f652572897bb0eb25c477ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jenr24/bldr [INFO] finished tweaking git repo https://github.com/jenr24/bldr [INFO] tweaked toml for git repo https://github.com/jenr24/bldr written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jenr24/bldr 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" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "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 libc v0.2.123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf1e4c993978a471950eb55e9c15606b8cb728bb67f8445d7fa173919c880f6b [INFO] running `Command { std: "docker" "start" "-a" "cf1e4c993978a471950eb55e9c15606b8cb728bb67f8445d7fa173919c880f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf1e4c993978a471950eb55e9c15606b8cb728bb67f8445d7fa173919c880f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf1e4c993978a471950eb55e9c15606b8cb728bb67f8445d7fa173919c880f6b", kill_on_drop: false }` [INFO] [stdout] cf1e4c993978a471950eb55e9c15606b8cb728bb67f8445d7fa173919c880f6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f718a4aeaf0ddb32a9587086e4d7cfcf6dd8c73c6bbfbaeffe29139bb4a9b296 [INFO] running `Command { std: "docker" "start" "-a" "f718a4aeaf0ddb32a9587086e4d7cfcf6dd8c73c6bbfbaeffe29139bb4a9b296", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking bldr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> src/derivation.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrorKind` in this scope [INFO] [stdout] --> src/executor_parser.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub type IResult = Result<(I, O), Err>; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 1 + use nom::error::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `ReadDir`, and `read_dir` [INFO] [stdout] --> src/derivation.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::fs::{ReadDir, read_dir, File}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncRead` [INFO] [stdout] --> src/derivation.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{AsyncRead, AsyncReadExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/derivation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yaml_rust::YamlLoader` [INFO] [stdout] --> src/derivation.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | use yaml_rust::YamlLoader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::number::complete::be_u16` [INFO] [stdout] --> src/executor_parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::number::complete::be_u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::bytes::complete::take` [INFO] [stdout] --> src/executor_parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::bytes::complete::take; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `absolute_path` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(absolute_path)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> src/derivation.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrorKind` in this scope [INFO] [stdout] --> src/executor_parser.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub type IResult = Result<(I, O), Err>; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 1 + use nom::error::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/derivation.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | phases: yaml["phases"] [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Vec`, found `Yaml` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `Yaml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/derivation.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | executor: yaml["executor"] [INFO] [stdout] | _________________^ [INFO] [stdout] 62 | | .into_string() [INFO] [stdout] 63 | | .ok_or(DerivationError::DerivationPhaseMissingExecutor)? [INFO] [stdout] | |________________________________________________________________^ expected `Box ...>`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `std::string::String` to `Box<(dyn for<'a> FnMut(&'a mut Derivation) -> std::result::Result + 'static)>` [INFO] [stdout] = note: expected struct `Box<(dyn for<'a> FnMut(&'a mut Derivation) -> std::result::Result + 'static)>` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `ReadDir`, and `read_dir` [INFO] [stdout] --> src/derivation.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::fs::{ReadDir, read_dir, File}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncRead` [INFO] [stdout] --> src/derivation.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{AsyncRead, AsyncReadExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/derivation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yaml_rust::YamlLoader` [INFO] [stdout] --> src/derivation.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | use yaml_rust::YamlLoader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::number::complete::be_u16` [INFO] [stdout] --> src/executor_parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::number::complete::be_u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::bytes::complete::take` [INFO] [stdout] --> src/executor_parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::bytes::complete::take; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `absolute_path` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(absolute_path)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bldr` (bin "bldr") due to 4 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/derivation.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | phases: yaml["phases"] [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Vec`, found `Yaml` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `Yaml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/derivation.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | executor: yaml["executor"] [INFO] [stdout] | _________________^ [INFO] [stdout] 62 | | .into_string() [INFO] [stdout] 63 | | .ok_or(DerivationError::DerivationPhaseMissingExecutor)? [INFO] [stdout] | |________________________________________________________________^ expected `Box ...>`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `std::string::String` to `Box<(dyn for<'a> FnMut(&'a mut Derivation) -> std::result::Result + 'static)>` [INFO] [stdout] = note: expected struct `Box<(dyn for<'a> FnMut(&'a mut Derivation) -> std::result::Result + 'static)>` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bldr` (bin "bldr" test) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f718a4aeaf0ddb32a9587086e4d7cfcf6dd8c73c6bbfbaeffe29139bb4a9b296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f718a4aeaf0ddb32a9587086e4d7cfcf6dd8c73c6bbfbaeffe29139bb4a9b296", kill_on_drop: false }` [INFO] [stdout] f718a4aeaf0ddb32a9587086e4d7cfcf6dd8c73c6bbfbaeffe29139bb4a9b296