[INFO] cloning repository https://github.com/Wachiwi/docker-credential-ci-login [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wachiwi/docker-credential-ci-login" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWachiwi%2Fdocker-credential-ci-login", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWachiwi%2Fdocker-credential-ci-login'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15add89fad5ea572bc4bca0afbea89666f3e9c2d [INFO] checking Wachiwi/docker-credential-ci-login against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWachiwi%2Fdocker-credential-ci-login" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wachiwi/docker-credential-ci-login on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Wachiwi/docker-credential-ci-login [INFO] finished tweaking git repo https://github.com/Wachiwi/docker-credential-ci-login [INFO] tweaked toml for git repo https://github.com/Wachiwi/docker-credential-ci-login written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Wachiwi/docker-credential-ci-login 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v0.3.2 [INFO] [stderr] Downloaded base64 v0.2.1 [INFO] [stderr] Downloaded libc v0.2.19 [INFO] [stderr] Downloaded num-traits v0.1.36 [INFO] [stderr] Downloaded num v0.1.36 [INFO] [stderr] Downloaded json v0.11.4 [INFO] [stderr] Downloaded aho-corasick v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e41e2a0b53f01e9c0f566659bea91ae3b9f51332b9fd8a7428559e50dab4309f [INFO] running `Command { std: "docker" "start" "-a" "e41e2a0b53f01e9c0f566659bea91ae3b9f51332b9fd8a7428559e50dab4309f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e41e2a0b53f01e9c0f566659bea91ae3b9f51332b9fd8a7428559e50dab4309f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e41e2a0b53f01e9c0f566659bea91ae3b9f51332b9fd8a7428559e50dab4309f", kill_on_drop: false }` [INFO] [stdout] e41e2a0b53f01e9c0f566659bea91ae3b9f51332b9fd8a7428559e50dab4309f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d590b23f307552f8f77510b5e1cc0878a984a9e06678ae580bfdf588d7da19ec [INFO] running `Command { std: "docker" "start" "-a" "d590b23f307552f8f77510b5e1cc0878a984a9e06678ae580bfdf588d7da19ec", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.19 [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking json v0.11.4 [INFO] [stderr] Checking base64 v0.2.1 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking thread_local v0.3.2 [INFO] [stderr] Checking aho-corasick v0.6.1 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking docker-credential-ci-login v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/subcommands.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Clone` is imported redundantly [INFO] [stdout] --> src/subcommands.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::clone::Clone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Clone` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/subcommands.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Clone` is imported redundantly [INFO] [stdout] --> src/subcommands.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::clone::Clone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Clone` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/cache.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | let mut p = env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/cache.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | let mut p = env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `why` [INFO] [stdout] --> src/aws.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | Err(why) => panic!("{:?}", AWSError::ParseError) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_why` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `why` [INFO] [stdout] --> src/aws.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | Err(why) => panic!("{:?}", AWSError::ParseError) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_why` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `cache` [INFO] [stdout] --> src/cache.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 63 | let mut cache = OpenOptions::new() [INFO] [stdout] | --------- move occurs because `cache` has type `File`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 72 | file: cache, [INFO] [stdout] | ----- value moved here [INFO] [stdout] ... [INFO] [stdout] 75 | entries: load_cache(&mut cache) [INFO] [stdout] | ^^^^^^^^^^ value borrowed here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `cache` [INFO] [stdout] --> src/cache.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 63 | let mut cache = OpenOptions::new() [INFO] [stdout] | --------- move occurs because `cache` has type `File`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 72 | file: cache, [INFO] [stdout] | ----- value moved here [INFO] [stdout] ... [INFO] [stdout] 75 | entries: load_cache(&mut cache) [INFO] [stdout] | ^^^^^^^^^^ value borrowed here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/cache.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let length = cache.read_to_end(&mut buffer); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/cache.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let length = cache.read_to_end(&mut buffer); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/cache.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn contains_server(&mut self, server: &String) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/cache.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn contains_server(&mut self, server: &String) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/cache.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn contains_entry(&self, entry: CacheEntry) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/cache.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn contains_entry(&self, entry: CacheEntry) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/cache.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn remove_entry(&mut self, server: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/cache.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get_entry(&self, server: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/cache.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn remove_entry(&mut self, server: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/cache.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get_entry(&self, server: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/cache.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let length = self.file.read_to_end(&mut buffer); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/cache.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let length = self.file.read_to_end(&mut buffer); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(status) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(status) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `docker-credential-ci-login` (bin "docker-credential-ci-login") due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `docker-credential-ci-login` (bin "docker-credential-ci-login" test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d590b23f307552f8f77510b5e1cc0878a984a9e06678ae580bfdf588d7da19ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d590b23f307552f8f77510b5e1cc0878a984a9e06678ae580bfdf588d7da19ec", kill_on_drop: false }` [INFO] [stdout] d590b23f307552f8f77510b5e1cc0878a984a9e06678ae580bfdf588d7da19ec