[INFO] fetching crate cargo-winrt 0.7.2... [INFO] testing cargo-winrt-0.7.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cargo-winrt 0.7.2 into /workspace/builds/worker-23/source [INFO] validating manifest of crates.io crate cargo-winrt 0.7.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-winrt 0.7.2 [INFO] finished tweaking crates.io crate cargo-winrt 0.7.2 [INFO] tweaked toml for crates.io crate cargo-winrt 0.7.2 written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate crates.io crate cargo-winrt 0.7.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68943c0f714ce45fd5851a93b8894015e97acd644d86c7bd71eff98ef6f8d454 [INFO] running `Command { std: "docker" "start" "-a" "68943c0f714ce45fd5851a93b8894015e97acd644d86c7bd71eff98ef6f8d454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68943c0f714ce45fd5851a93b8894015e97acd644d86c7bd71eff98ef6f8d454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68943c0f714ce45fd5851a93b8894015e97acd644d86c7bd71eff98ef6f8d454", kill_on_drop: false }` [INFO] [stdout] 68943c0f714ce45fd5851a93b8894015e97acd644d86c7bd71eff98ef6f8d454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67fb8894ca7210247cb3495762e003df61621fa1f9225bedb14616ba86640a25 [INFO] running `Command { std: "docker" "start" "-a" "67fb8894ca7210247cb3495762e003df61621fa1f9225bedb14616ba86640a25", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling curl v0.4.31 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling podio v0.1.7 [INFO] [stderr] Compiling pico-args v0.3.3 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.33+curl-7.71.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling zip v0.5.6 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling cargo_toml v0.8.0 [INFO] [stderr] Compiling cargo-winrt v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:805:26 [INFO] [stdout] | [INFO] [stdout] 805 | std::os::windows::fs::symlink_file(&path, dll_path)?; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:24:85 [INFO] [stdout] | [INFO] [stdout] 24 | eprintln!("{}: {}", console::style("error").red().bold(), format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 33 | ArgsError::MissingSubcommand => cmd_err!("missing subcommand"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `cmd_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:24:85 [INFO] [stdout] | [INFO] [stdout] 24 | eprintln!("{}: {}", console::style("error").red().bold(), format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | ArgsError::NoSuchSubcommand(c) => cmd_err!("no such subcommand: {}", c), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `cmd_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:24:85 [INFO] [stdout] | [INFO] [stdout] 24 | eprintln!("{}: {}", console::style("error").red().bold(), format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 36 | cmd_err!("too many arguments supplied: {:?}", args) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `cmd_err` [INFO] [stdout] = note: this warning originates in the macro `cmd_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:24:85 [INFO] [stdout] | [INFO] [stdout] 24 | eprintln!("{}: {}", console::style("error").red().bold(), format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | ArgsError::Pico(e) => cmd_err!("there was an error: {}", e), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `cmd_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-winrt` due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "67fb8894ca7210247cb3495762e003df61621fa1f9225bedb14616ba86640a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67fb8894ca7210247cb3495762e003df61621fa1f9225bedb14616ba86640a25", kill_on_drop: false }` [INFO] [stdout] 67fb8894ca7210247cb3495762e003df61621fa1f9225bedb14616ba86640a25