[INFO] cloning repository https://github.com/rexsum420/pwin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rexsum420/pwin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frexsum420%2Fpwin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frexsum420%2Fpwin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f75302992ab7048ea034d7b6d4417d7b3577ac6b [INFO] checking rexsum420/pwin against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frexsum420%2Fpwin" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rexsum420/pwin [INFO] finished tweaking git repo https://github.com/rexsum420/pwin [INFO] tweaked toml for git repo https://github.com/rexsum420/pwin written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rexsum420/pwin on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rexsum420/pwin 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termion v3.0.0 [INFO] [stderr] Downloaded redox_termios v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a06578e28a5163f0ac76e9081f1531fe9e5d695a0866ff000167754818508ff4 [INFO] running `Command { std: "docker" "start" "-a" "a06578e28a5163f0ac76e9081f1531fe9e5d695a0866ff000167754818508ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a06578e28a5163f0ac76e9081f1531fe9e5d695a0866ff000167754818508ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06578e28a5163f0ac76e9081f1531fe9e5d695a0866ff000167754818508ff4", kill_on_drop: false }` [INFO] [stdout] a06578e28a5163f0ac76e9081f1531fe9e5d695a0866ff000167754818508ff4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c5ff6b75a3f0af024a173e0d8e9fbdf2a92b673d54ac5490a18e2e567d6db24 [INFO] running `Command { std: "docker" "start" "-a" "6c5ff6b75a3f0af024a173e0d8e9fbdf2a92b673d54ac5490a18e2e567d6db24", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking termion v3.0.0 [INFO] [stderr] Checking pwin v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `use` [INFO] [stdout] --> examples/main.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate pwin [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use pwin::pw; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io` [INFO] [stdout] --> examples/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | io::stdin().read_line(&mut username).expect("Failed to read username."); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - io::stdin().read_line(&mut username).expect("Failed to read username."); [INFO] [stdout] 7 + i8::stdin().read_line(&mut username).expect("Failed to read username."); [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use std::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> examples/main.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | io::stdin().read_line(&mut username).expect("Failed to read username."); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `readpw` in module `pw` [INFO] [stdout] --> examples/main.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | let password = pw::readpw(); [INFO] [stdout] | ^^^^^^ not found in `pw` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 3 + use crate::pw::pw::readpw; [INFO] [stdout] | [INFO] [stdout] 3 + use pwin::readpw; [INFO] [stdout] | [INFO] [stdout] help: if you import `readpw`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - let password = pw::readpw(); [INFO] [stdout] 10 + let password = readpw(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> examples/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | println!("{}, {}", username, password) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pwin` (example "main") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "6c5ff6b75a3f0af024a173e0d8e9fbdf2a92b673d54ac5490a18e2e567d6db24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c5ff6b75a3f0af024a173e0d8e9fbdf2a92b673d54ac5490a18e2e567d6db24", kill_on_drop: false }` [INFO] [stdout] 6c5ff6b75a3f0af024a173e0d8e9fbdf2a92b673d54ac5490a18e2e567d6db24