[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] da23c5d480fff3d7baae2dcce1b396015bd442a6 [INFO] testing zachwolfe/abs against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachwolfe%2Fabs" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zachwolfe/abs on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-19/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" "+722e1797249a965b6335aebd65d777f917e498f1" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68681bf27ac53fd73a528d0a0f561893595c647c1b7fa1f2a309785c8fa06dcc [INFO] running `Command { std: "docker" "start" "-a" "68681bf27ac53fd73a528d0a0f561893595c647c1b7fa1f2a309785c8fa06dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68681bf27ac53fd73a528d0a0f561893595c647c1b7fa1f2a309785c8fa06dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68681bf27ac53fd73a528d0a0f561893595c647c1b7fa1f2a309785c8fa06dcc", kill_on_drop: false }` [INFO] [stdout] 68681bf27ac53fd73a528d0a0f561893595c647c1b7fa1f2a309785c8fa06dcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fb20eb838499150e35057e90fe74e5d2ae29b3dd4d0b7ebb62aaf9fc9923316 [INFO] running `Command { std: "docker" "start" "-a" "5fb20eb838499150e35057e90fe74e5d2ae29b3dd4d0b7ebb62aaf9fc9923316", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling os_str_bytes v4.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling clap v3.0.0-beta.5 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.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 import: `PathBuf` [INFO] [stdout] --> src/main.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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}; [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: `clap::Parser` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CxxOptions`, `OutputType`, `Platform`, `ProjectConfig` [INFO] [stdout] --> src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use proj_config::{ProjectConfig, OutputType, CxxOptions, Platform}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BuildOptions`, `CmdOptions`, `CompileMode`, `Subcommand` [INFO] [stdout] --> src/main.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | use cmd_options::{CmdOptions, CompileMode, Subcommand, BuildOptions}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BuildEnvironment`, `ToolchainPaths` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use build::{BuildEnvironment, 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}; [INFO] [stdout] 3 | | use std::fs::{self, File}; [INFO] [stdout] 4 | | use std::io::ErrorKind as IoErrorKind; [INFO] [stdout] ... | [INFO] [stdout] 357 | | } [INFO] [stdout] 358 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [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:290:42 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(metadata) => metadata.last_write_time(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 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; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5fb20eb838499150e35057e90fe74e5d2ae29b3dd4d0b7ebb62aaf9fc9923316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fb20eb838499150e35057e90fe74e5d2ae29b3dd4d0b7ebb62aaf9fc9923316", kill_on_drop: false }` [INFO] [stdout] 5fb20eb838499150e35057e90fe74e5d2ae29b3dd4d0b7ebb62aaf9fc9923316