[INFO] fetching crate clearshell 0.0.1-alpha-2... [INFO] testing clearshell-0.0.1-alpha-2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate clearshell 0.0.1-alpha-2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate clearshell 0.0.1-alpha-2 [INFO] finished tweaking crates.io crate clearshell 0.0.1-alpha-2 [INFO] tweaked toml for crates.io crate clearshell 0.0.1-alpha-2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate clearshell 0.0.1-alpha-2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate clearshell 0.0.1-alpha-2 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytesize v1.0.1 [INFO] [stderr] Downloaded redox_users v0.2.0 [INFO] [stderr] Downloaded dirs-2 v3.0.1 [INFO] [stderr] Downloaded proctitle v0.1.1 [INFO] [stderr] Downloaded systemstat v0.1.7 [INFO] [stderr] Downloaded bitvec v0.19.4 [INFO] [stderr] Downloaded lexical-core v0.7.5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 336dcb948b08e5765c9b98822d585046048806954f71a9d48fa8fb3bf12132db [INFO] running `Command { std: "docker" "start" "-a" "336dcb948b08e5765c9b98822d585046048806954f71a9d48fa8fb3bf12132db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "336dcb948b08e5765c9b98822d585046048806954f71a9d48fa8fb3bf12132db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "336dcb948b08e5765c9b98822d585046048806954f71a9d48fa8fb3bf12132db", kill_on_drop: false }` [INFO] [stdout] 336dcb948b08e5765c9b98822d585046048806954f71a9d48fa8fb3bf12132db [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cf783749b5cad260efc58df739c22a51234b2c54bd97a63cb67a23459a72085c [INFO] running `Command { std: "docker" "start" "-a" "cf783749b5cad260efc58df739c22a51234b2c54bd97a63cb67a23459a72085c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytesize v1.0.1 [INFO] [stderr] Compiling is_executable v1.0.1 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-2 v3.0.1 [INFO] [stderr] Compiling proctitle v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling crossterm v0.19.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ctrlc v3.1.8 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling systemstat v0.1.7 [INFO] [stderr] Compiling clearshell v0.0.1-alpha-2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Read`, `Stdin`, and `stdin` [INFO] [stdout] --> src/utilities/readline.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdin, stdout, Read, Stdin, Stdout, Write}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyModifiers` [INFO] [stdout] --> src/utilities/readline.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use crossterm::event::{read, Event, KeyCode, KeyModifiers}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/utilities/handle_custom.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | let program = if cfg!(target = "windows") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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(target, values("windows"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"windows\"))");` to the top of the `build.rs` [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: variable `diff` is assigned to, but never used [INFO] [stdout] --> src/utilities/readline.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut diff = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_diff` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diff` is never read [INFO] [stdout] --> src/utilities/readline.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | ... diff = d2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diff` is never read [INFO] [stdout] --> src/utilities/readline.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | ... diff = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diff` is never read [INFO] [stdout] --> src/utilities/readline.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | ... diff = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diff` is never read [INFO] [stdout] --> src/utilities/readline.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | ... diff = d2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [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" "cf783749b5cad260efc58df739c22a51234b2c54bd97a63cb67a23459a72085c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf783749b5cad260efc58df739c22a51234b2c54bd97a63cb67a23459a72085c", kill_on_drop: false }` [INFO] [stdout] cf783749b5cad260efc58df739c22a51234b2c54bd97a63cb67a23459a72085c [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cbb0d50504412cc2983eb3880ac7ea2bf8dd789d471a1d1f32dcf678823f3c75 [INFO] running `Command { std: "docker" "start" "-a" "cbb0d50504412cc2983eb3880ac7ea2bf8dd789d471a1d1f32dcf678823f3c75", kill_on_drop: false }` [INFO] [stderr] Compiling clearshell v0.0.1-alpha-2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/tests.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Stdin`, and `stdin` [INFO] [stdout] --> src/utilities/readline.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdin, stdout, Read, Stdin, Stdout, Write}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyModifiers` [INFO] [stdout] --> src/utilities/readline.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use crossterm::event::{read, Event, KeyCode, KeyModifiers}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/utilities/handle_custom.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | let program = if cfg!(target = "windows") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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(target, values("windows"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"windows\"))");` to the top of the `build.rs` [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] error[E0063]: missing fields `path_color` and `time_color` in initializer of `BaseConfig` [INFO] [stdout] --> src/tests.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | base: BaseConfig { [INFO] [stdout] | ^^^^^^^^^^ missing `path_color` and `time_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `pre_prompt` in initializer of `TerminalState` [INFO] [stdout] --> src/tests.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | pub static ref BASE_CONFIG: TerminalState = TerminalState { [INFO] [stdout] | ^^^^^^^^^^^^^ missing `pre_prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `diff` is assigned to, but never used [INFO] [stdout] --> src/utilities/readline.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut diff = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_diff` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diff` is never read [INFO] [stdout] --> src/utilities/readline.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | ... diff = d2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diff` is never read [INFO] [stdout] --> src/utilities/readline.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | ... diff = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diff` is never read [INFO] [stdout] --> src/utilities/readline.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | ... diff = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diff` is never read [INFO] [stdout] --> src/utilities/readline.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | ... diff = d2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0468. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clearshell` (bin "clearshell" test) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cbb0d50504412cc2983eb3880ac7ea2bf8dd789d471a1d1f32dcf678823f3c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb0d50504412cc2983eb3880ac7ea2bf8dd789d471a1d1f32dcf678823f3c75", kill_on_drop: false }` [INFO] [stdout] cbb0d50504412cc2983eb3880ac7ea2bf8dd789d471a1d1f32dcf678823f3c75