[INFO] cloning repository https://github.com/Jachdich/aster-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jachdich/aster-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJachdich%2Faster-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJachdich%2Faster-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07673c0037766f98da1caafa1706974bab154599 [INFO] checking Jachdich/aster-cli against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJachdich%2Faster-cli" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jachdich/aster-cli on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jachdich/aster-cli [INFO] finished tweaking git repo https://github.com/Jachdich/aster-cli [INFO] tweaked toml for git repo https://github.com/Jachdich/aster-cli written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Jachdich/aster-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded json v0.12.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c85c5de0e6b0e3e56c27bc18ed05833f3f03bd9a313c9ed9571b30aff19988b8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c85c5de0e6b0e3e56c27bc18ed05833f3f03bd9a313c9ed9571b30aff19988b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c85c5de0e6b0e3e56c27bc18ed05833f3f03bd9a313c9ed9571b30aff19988b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c85c5de0e6b0e3e56c27bc18ed05833f3f03bd9a313c9ed9571b30aff19988b8", kill_on_drop: false }` [INFO] [stdout] c85c5de0e6b0e3e56c27bc18ed05833f3f03bd9a313c9ed9571b30aff19988b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d4da72aa9b645a9caa013e60d652394e4e447930be35626e557c3d1575fe8671 [INFO] running `Command { std: "docker" "start" "-a" "d4da72aa9b645a9caa013e60d652394e4e447930be35626e557c3d1575fe8671", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking tokio-stream v0.1.3 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `=>`, `if`, or `|`, found `{` [INFO] [stdout] --> src/main.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | Ok(contents) { [INFO] [stdout] | ^ expected one of `=>`, `if`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `=>`, `if`, or `|`, found `{` [INFO] [stdout] --> src/main.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | Ok(contents) { [INFO] [stdout] | ^ expected one of `=>`, `if`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/main.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | let contents = fs::read_to_string("preferences.json"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsonObject` in crate `json` [INFO] [stdout] --> src/main.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | config: json::JsonObject, [INFO] [stdout] | ^^^^^^^^^^ not found in `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/main.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | let contents = fs::read_to_string("preferences.json"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsonObject` in crate `json` [INFO] [stdout] --> src/main.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | config: json::JsonObject, [INFO] [stdout] | ^^^^^^^^^^ not found in `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:231:65 [INFO] [stdout] | [INFO] [stdout] 231 | async fn run_network(tx: std::sync::mpsc::Sender, mut stream: ReadHalf>) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:231:65 [INFO] [stdout] | [INFO] [stdout] 231 | async fn run_network(tx: std::sync::mpsc::Sender, mut stream: ReadHalf>) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 117 | / match contents { [INFO] [stdout] 118 | | Ok(contents) { [INFO] [stdout] 119 | | config = json::parse(contents); [INFO] [stdout] 120 | | } [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 130 | / GUI { [INFO] [stdout] 131 | | scroll: 0, [INFO] [stdout] 132 | | uname: "".to_string(), [INFO] [stdout] 133 | | loaded_messages: Vec::new(), [INFO] [stdout] ... | [INFO] [stdout] 136 | | rx: rx, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 117 | / match contents { [INFO] [stdout] 118 | | Ok(contents) { [INFO] [stdout] 119 | | config = json::parse(contents); [INFO] [stdout] 120 | | } [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 130 | / GUI { [INFO] [stdout] 131 | | scroll: 0, [INFO] [stdout] 132 | | uname: "".to_string(), [INFO] [stdout] 133 | | loaded_messages: Vec::new(), [INFO] [stdout] ... | [INFO] [stdout] 136 | | rx: rx, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `config` in initializer of `GUI` [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | GUI { [INFO] [stdout] | ^^^ missing `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `config` in initializer of `GUI` [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | GUI { [INFO] [stdout] | ^^^ missing `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cli` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d4da72aa9b645a9caa013e60d652394e4e447930be35626e557c3d1575fe8671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4da72aa9b645a9caa013e60d652394e4e447930be35626e557c3d1575fe8671", kill_on_drop: false }` [INFO] [stdout] d4da72aa9b645a9caa013e60d652394e4e447930be35626e557c3d1575fe8671