[INFO] cloning repository https://github.com/zachwolfe/abs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zachwolfe/abs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachwolfe%2Fabs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachwolfe%2Fabs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cab265c8a204994bed090cd99ed31b7e692c0bea [INFO] testing zachwolfe/abs against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachwolfe%2Fabs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zachwolfe/abs on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zachwolfe/abs [INFO] finished tweaking git repo https://github.com/zachwolfe/abs [INFO] tweaked toml for git repo https://github.com/zachwolfe/abs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/zachwolfe/abs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-recursion v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5f468c1a7f856b5f22287c3832cc56ed7295bc278a86a094513a39921d21a1a [INFO] running `Command { std: "docker" "start" "-a" "e5f468c1a7f856b5f22287c3832cc56ed7295bc278a86a094513a39921d21a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5f468c1a7f856b5f22287c3832cc56ed7295bc278a86a094513a39921d21a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5f468c1a7f856b5f22287c3832cc56ed7295bc278a86a094513a39921d21a1a", kill_on_drop: false }` [INFO] [stdout] e5f468c1a7f856b5f22287c3832cc56ed7295bc278a86a094513a39921d21a1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7855150ef5f3f6b08ee8b452cd6ce948e29b61afe9cadf97ef3fc11d0ab13a7d [INFO] running `Command { std: "docker" "start" "-a" "7855150ef5f3f6b08ee8b452cd6ce948e29b61afe9cadf97ef3fc11d0ab13a7d", 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 syn v1.0.81 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling os_str_bytes v4.2.0 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling clap v3.0.0-beta.5 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling abs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/build.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `self` [INFO] [stdout] --> src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::ErrorKind as IoErrorKind` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::ErrorKind as IoErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Write` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{BufReader, Write, Result as IoResult}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::Parser` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CxxOptions`, `OutputType`, `ProjectConfig` [INFO] [stdout] --> src/main.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | use proj_config::{ProjectConfig, OutputType, CxxOptions, Platform}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BuildOptions`, `CmdOptions`, `CompileMode`, `Subcommand`, `Target` [INFO] [stdout] --> src/main.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use cmd_options::{CmdOptions, CompileMode, Subcommand, Target, BuildOptions}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `build::BuildEnvironment` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use build::BuildEnvironment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toolchain_paths::ToolchainPaths` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use toolchain_paths::ToolchainPaths; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `abs` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::process::Command; [INFO] [stdout] 2 | | use std::path::{Path, PathBuf, Component, Prefix}; [INFO] [stdout] 3 | | use std::fs::{self, File}; [INFO] [stdout] 4 | | use std::io::ErrorKind as IoErrorKind; [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] 529 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/build.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | IntoIter::new(["-command".into(), command]) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `last_write_time` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/build.rs:273:42 [INFO] [stdout] | [INFO] [stdout] 273 | Ok(metadata) => metadata.last_write_time(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/build.rs:337:70 [INFO] [stdout] | [INFO] [stdout] 337 | self.should_build_artifacts_impl(dependency_paths, IntoIter::new([artifact_path]), |_| true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `abs` due to 4 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7855150ef5f3f6b08ee8b452cd6ce948e29b61afe9cadf97ef3fc11d0ab13a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7855150ef5f3f6b08ee8b452cd6ce948e29b61afe9cadf97ef3fc11d0ab13a7d", kill_on_drop: false }` [INFO] [stdout] 7855150ef5f3f6b08ee8b452cd6ce948e29b61afe9cadf97ef3fc11d0ab13a7d