[INFO] cloning repository https://github.com/stuartZhang/scaffold-wizard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stuartZhang/scaffold-wizard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FstuartZhang%2Fscaffold-wizard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FstuartZhang%2Fscaffold-wizard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2eabbd1b9dedb14fe5fd43e22ce28a9235472ae4 [INFO] testing stuartZhang/scaffold-wizard against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FstuartZhang%2Fscaffold-wizard" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stuartZhang/scaffold-wizard [INFO] finished tweaking git repo https://github.com/stuartZhang/scaffold-wizard [INFO] tweaked toml for git repo https://github.com/stuartZhang/scaffold-wizard written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stuartZhang/scaffold-wizard on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stuartZhang/scaffold-wizard 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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mut_static v5.0.0 [INFO] [stderr] Downloaded serde_derive v1.0.190 [INFO] [stderr] Downloaded thread-id v4.2.1 [INFO] [stderr] Downloaded error-chain v0.10.0 [INFO] [stderr] Downloaded serde v1.0.190 [INFO] [stderr] Downloaded async-global-executor v2.3.1 [INFO] [stderr] Downloaded serde_yaml v0.8.26 [INFO] [stderr] Downloaded async-signal v0.2.5 [INFO] [stderr] Downloaded errno v0.3.5 [INFO] [stderr] Downloaded log4rs v1.2.0 [INFO] [stderr] Downloaded gloo-timers v0.2.6 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.58 [INFO] [stderr] Downloaded waker-fn v1.1.1 [INFO] [stderr] Downloaded pango-sys v0.10.0 [INFO] [stderr] Downloaded eval v0.4.3 [INFO] [stderr] Downloaded gobject-sys v0.10.0 [INFO] [stderr] Downloaded glib-macros v0.10.1 [INFO] [stderr] Downloaded value-bag v1.4.2 [INFO] [stderr] Downloaded concurrent-queue v2.3.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.10.0 [INFO] [stderr] Downloaded unicode-width v0.1.11 [INFO] [stderr] Downloaded async-executor v1.6.0 [INFO] [stderr] Downloaded async-channel v1.9.0 [INFO] [stderr] Downloaded piper v0.2.1 [INFO] [stderr] Downloaded termcolor v1.3.0 [INFO] [stderr] Downloaded blocking v1.4.1 [INFO] [stderr] Downloaded fastrand v2.0.1 [INFO] [stderr] Downloaded gdk-pixbuf v0.9.0 [INFO] [stderr] Downloaded version-compare v0.0.10 [INFO] [stderr] Downloaded pango v0.9.1 [INFO] [stderr] Downloaded futures-lite v1.13.0 [INFO] [stderr] Downloaded event-listener v3.0.1 [INFO] [stderr] Downloaded async-process v1.8.1 [INFO] [stderr] Downloaded bitflags v2.4.1 [INFO] [stderr] Downloaded async-lock v2.8.0 [INFO] [stderr] Downloaded polling v2.8.0 [INFO] [stderr] Downloaded atk v0.9.0 [INFO] [stderr] Downloaded async-io v1.13.0 [INFO] [stderr] Downloaded flate2 v1.0.28 [INFO] [stderr] Downloaded polling v3.3.0 [INFO] [stderr] Downloaded gdk-sys v0.10.0 [INFO] [stderr] Downloaded async-io v2.1.0 [INFO] [stderr] Downloaded gdk v0.13.2 [INFO] [stderr] Downloaded gio-sys v0.10.1 [INFO] [stderr] Downloaded hashbrown v0.14.2 [INFO] [stderr] Downloaded quick-xml v0.22.0 [INFO] [stderr] Downloaded async-task v4.5.0 [INFO] [stderr] Downloaded clap v2.34.0 [INFO] [stderr] Downloaded gio v0.9.1 [INFO] [stderr] Downloaded gtk-sys v0.10.0 [INFO] [stderr] Downloaded glib v0.10.3 [INFO] [stderr] Downloaded async-std v1.12.0 [INFO] [stderr] Downloaded cbindgen v0.24.5 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] [stderr] Downloaded tempfile v3.8.1 [INFO] [stderr] Downloaded yaml-rust v0.3.5 [INFO] [stderr] Downloaded rustix v0.38.21 [INFO] [stderr] Downloaded glib-sys v0.10.1 [INFO] [stderr] Downloaded rustix v0.37.27 [INFO] [stderr] Downloaded windows-core v0.51.1 [INFO] [stderr] Downloaded cairo-rs v0.9.1 [INFO] [stderr] Downloaded os_str_bytes v6.6.1 [INFO] [stderr] Downloaded atk-sys v0.10.0 [INFO] [stderr] Downloaded system-deps v1.3.2 [INFO] [stderr] Downloaded gtk v0.9.2 [INFO] [stderr] Downloaded linux-raw-sys v0.4.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59bb06b93013d358b22552359fee088a57f2e48777e5a4298b872c9faba87a2d [INFO] running `Command { std: "docker" "start" "-a" "59bb06b93013d358b22552359fee088a57f2e48777e5a4298b872c9faba87a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59bb06b93013d358b22552359fee088a57f2e48777e5a4298b872c9faba87a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59bb06b93013d358b22552359fee088a57f2e48777e5a4298b872c9faba87a2d", kill_on_drop: false }` [INFO] [stdout] 59bb06b93013d358b22552359fee088a57f2e48777e5a4298b872c9faba87a2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e2b7f3094c8dd82dd40e1c72172cca3ea9afbc0d1879a6c93e0cafd59ddacfc [INFO] running `Command { std: "docker" "start" "-a" "4e2b7f3094c8dd82dd40e1c72172cca3ea9afbc0d1879a6c93e0cafd59ddacfc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling value-bag v1.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling cbindgen v0.24.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread-id v4.2.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling eval v0.4.3 [INFO] [stderr] Compiling log4rs v1.2.0 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling glib v0.10.3 [INFO] [stderr] Compiling scaffold-wizard v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `process` [INFO] [stdout] --> build.rs:1:73 [INFO] [stdout] | [INFO] [stdout] 1 | use ::std::{env, fs, io::Result as IoResult, os, path::{Path, PathBuf}, process}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> build.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(linux)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> src/bin.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_input_file`, `find_output_file`, and `get_exe_dir` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub use utils::{find_input_file, find_output_file, get_exe_dir, initialize_log4rs, Result, Unwrap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `find_input_file` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub use utils::{find_input_file, find_output_file, get_exe_dir, initialize_log4rs, Result, Unwrap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn inquire(questions: *const c_char, bin_dir: *const c_char, log4rs_file: *const c_char) -> *const c_char { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub extern fn inquire_async(questions: *const c_char, bin_dir: *const c_char, log4rs_file: *const c_char, cb: extern fn(*const c_char, *c... [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:24:111 [INFO] [stdout] | [INFO] [stdout] 24 | ...char, log4rs_file: *const c_char, cb: extern fn(*const c_char, *const c_char)) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4e2b7f3094c8dd82dd40e1c72172cca3ea9afbc0d1879a6c93e0cafd59ddacfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2b7f3094c8dd82dd40e1c72172cca3ea9afbc0d1879a6c93e0cafd59ddacfc", kill_on_drop: false }` [INFO] [stdout] 4e2b7f3094c8dd82dd40e1c72172cca3ea9afbc0d1879a6c93e0cafd59ddacfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e25a294b8571a636c6ec7bde1e5498c0b878ab6ac9446a47628e9e37d64e805d [INFO] running `Command { std: "docker" "start" "-a" "e25a294b8571a636c6ec7bde1e5498c0b878ab6ac9446a47628e9e37d64e805d", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling mut_static v5.0.0 [INFO] [stderr] Compiling concurrent-queue v2.3.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling event-listener v3.0.1 [INFO] [stderr] Compiling async-executor v1.6.0 [INFO] [stderr] Compiling blocking v1.4.1 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] Compiling polling v3.3.0 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling cbindgen v0.24.5 [INFO] [stderr] Compiling async-io v2.1.0 [INFO] [stderr] Compiling async-signal v0.2.5 [INFO] [stderr] Compiling async-process v1.8.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling scaffold-wizard v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `process` [INFO] [stdout] --> build.rs:1:73 [INFO] [stdout] | [INFO] [stdout] 1 | use ::std::{env, fs, io::Result as IoResult, os, path::{Path, PathBuf}, process}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> build.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(linux)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> src/bin.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `find_input_file` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub use utils::{find_input_file, find_output_file, get_exe_dir, initialize_log4rs, Result, Unwrap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_exe_dir` [INFO] [stdout] --> src/main.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | pub use utils::{find_input_file, find_output_file, get_exe_dir, initialize_log4rs, Result, Unwrap}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn inquire(questions: *const c_char, bin_dir: *const c_char, log4rs_file: *const c_char) -> *const c_char { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub extern fn inquire_async(questions: *const c_char, bin_dir: *const c_char, log4rs_file: *const c_char, cb: extern fn(*const c_char, *c... [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:24:111 [INFO] [stdout] | [INFO] [stdout] 24 | ...char, log4rs_file: *const c_char, cb: extern fn(*const c_char, *const c_char)) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | extern fn cb(err: *const c_char, answers: *const c_char) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e25a294b8571a636c6ec7bde1e5498c0b878ab6ac9446a47628e9e37d64e805d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e25a294b8571a636c6ec7bde1e5498c0b878ab6ac9446a47628e9e37d64e805d", kill_on_drop: false }` [INFO] [stdout] e25a294b8571a636c6ec7bde1e5498c0b878ab6ac9446a47628e9e37d64e805d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9fd52f9126e5b241efff9a455e6959b3bdec7ea190e0f7d75b054d01caf4cf05 [INFO] running `Command { std: "docker" "start" "-a" "9fd52f9126e5b241efff9a455e6959b3bdec7ea190e0f7d75b054d01caf4cf05", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `process` [INFO] [stderr] --> build.rs:1:73 [INFO] [stderr] | [INFO] [stderr] 1 | use ::std::{env, fs, io::Result as IoResult, os, path::{Path, PathBuf}, process}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `linux` [INFO] [stderr] --> build.rs:115:15 [INFO] [stderr] | [INFO] [stderr] 115 | #[cfg(linux)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `scaffold-wizard` (build script) generated 2 warnings [INFO] [stderr] warning: found module declaration for main.rs [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | mod main; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: a binary crate cannot be used as library [INFO] [stderr] = note: `#[warn(special_module_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_exe_dir` [INFO] [stderr] --> src/main.rs:12:52 [INFO] [stderr] | [INFO] [stderr] 12 | pub use utils::{find_input_file, find_output_file, get_exe_dir, initialize_log4rs, Result, Unwrap}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/lib.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub extern fn inquire(questions: *const c_char, bin_dir: *const c_char, log4rs_file: *const c_char) -> *const c_char { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/lib.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub extern fn inquire_async(questions: *const c_char, bin_dir: *const c_char, log4rs_file: *const c_char, cb: extern fn(*const c_char, *c... [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/lib.rs:24:111 [INFO] [stderr] | [INFO] [stderr] 24 | ...char, log4rs_file: *const c_char, cb: extern fn(*const c_char, *const c_char)) { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/lib.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | extern fn cb(err: *const c_char, answers: *const c_char) { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: found module declaration for main.rs [INFO] [stderr] --> src/bin.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | mod main; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: a binary crate cannot be used as library [INFO] [stderr] = note: `#[warn(special_module_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `find_input_file` [INFO] [stderr] --> src/main.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | pub use utils::{find_input_file, find_output_file, get_exe_dir, initialize_log4rs, Result, Unwrap}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `scaffold-wizard` (lib test) generated 6 warnings (run `cargo fix --lib -p scaffold-wizard --tests` to apply 5 suggestions) [INFO] [stderr] warning: `scaffold-wizard` (bin "scaffold-wizard" test) generated 2 warnings (run `cargo fix --bin "scaffold-wizard" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scaffold_wizard-72657a484d6c9f4f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] [INFO] [stderr] (process:25): GLib-GIO-CRITICAL **: 05:23:17.697: g_application_run() cannot acquire the default main context because it is already acquired by another thread! [INFO] [stderr] [INFO] [stderr] (scaffold_wizard-72657a484d6c9f4f:25): Gtk-WARNING **: 05:23:17.718: cannot open display: [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/scaffold_wizard-72657a484d6c9f4f` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --no-capture to the harness. [INFO] running `Command { std: "docker" "inspect" "9fd52f9126e5b241efff9a455e6959b3bdec7ea190e0f7d75b054d01caf4cf05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd52f9126e5b241efff9a455e6959b3bdec7ea190e0f7d75b054d01caf4cf05", kill_on_drop: false }` [INFO] [stdout] 9fd52f9126e5b241efff9a455e6959b3bdec7ea190e0f7d75b054d01caf4cf05