[INFO] cloning repository https://github.com/JonathanKoerber/template_repos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JonathanKoerber/template_repos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathanKoerber%2Ftemplate_repos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathanKoerber%2Ftemplate_repos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5563fc987dafc8ff2fa8f18f8cf0e8d894f99958 [INFO] checking JonathanKoerber/template_repos against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathanKoerber%2Ftemplate_repos" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JonathanKoerber/template_repos on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JonathanKoerber/template_repos [INFO] finished tweaking git repo https://github.com/JonathanKoerber/template_repos [INFO] tweaked toml for git repo https://github.com/JonathanKoerber/template_repos written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JonathanKoerber/template_repos 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded git2 v0.12.0 [INFO] [stderr] Downloaded libgit2-sys v0.11.0+0.99.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95a61c816b1159cf69fd8a540320ee7c21f2bc2cfe5b8193720b3a4642e73527 [INFO] running `Command { std: "docker" "start" "-a" "95a61c816b1159cf69fd8a540320ee7c21f2bc2cfe5b8193720b3a4642e73527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95a61c816b1159cf69fd8a540320ee7c21f2bc2cfe5b8193720b3a4642e73527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95a61c816b1159cf69fd8a540320ee7c21f2bc2cfe5b8193720b3a4642e73527", kill_on_drop: false }` [INFO] [stdout] 95a61c816b1159cf69fd8a540320ee7c21f2bc2cfe5b8193720b3a4642e73527 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e09470c34f4c437c3b8c9e0d7f6d27e6d204701bb226863aa3f08d2b5da386c [INFO] running `Command { std: "docker" "start" "-a" "2e09470c34f4c437c3b8c9e0d7f6d27e6d204701bb226863aa3f08d2b5da386c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling libgit2-sys v0.11.0+0.99.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking git2 v0.12.0 [INFO] [stderr] Checking template_repos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `error::Error` [INFO] [stdout] --> src/publish.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{env, str, error::Error}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BranchType`, `Cred`, `PushOptions`, `RemoteCallbacks`, `Signature`, `Status` [INFO] [stdout] --> src/publish.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use git2::{Repository, Status, Signature, Remote, RemoteCallbacks, Cred, PushOptions, BranchType}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/create_repo.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miniz_oxide::inflate::decompress_to_vec_zlib` [INFO] [stdout] --> src/unzip.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use miniz_oxide::inflate::decompress_to_vec_zlib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Remote` [INFO] [stdout] --> src/git_commands.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use git2::{Repository, Status, Remote, Signature, PushOptions, RemoteCallbacks}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/utils.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/git_credentials.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{env, str, error::Error}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `error::Error` [INFO] [stdout] --> src/publish.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{env, str, error::Error}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BranchType`, `Cred`, `PushOptions`, `RemoteCallbacks`, `Signature`, `Status` [INFO] [stdout] --> src/publish.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use git2::{Repository, Status, Signature, Remote, RemoteCallbacks, Cred, PushOptions, BranchType}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/create_repo.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miniz_oxide::inflate::decompress_to_vec_zlib` [INFO] [stdout] --> src/unzip.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use miniz_oxide::inflate::decompress_to_vec_zlib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Remote` [INFO] [stdout] --> src/git_commands.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use git2::{Repository, Status, Remote, Signature, PushOptions, RemoteCallbacks}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/utils.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/git_credentials.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{env, str, error::Error}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_public_key` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn read_public_key(path: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_public_key` is never used [INFO] [stdout] --> src/git_credentials.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn read_public_key(path: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_public_key` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn read_public_key(path: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_public_key` is never used [INFO] [stdout] --> src/git_credentials.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn read_public_key(path: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.33s [INFO] running `Command { std: "docker" "inspect" "2e09470c34f4c437c3b8c9e0d7f6d27e6d204701bb226863aa3f08d2b5da386c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e09470c34f4c437c3b8c9e0d7f6d27e6d204701bb226863aa3f08d2b5da386c", kill_on_drop: false }` [INFO] [stdout] 2e09470c34f4c437c3b8c9e0d7f6d27e6d204701bb226863aa3f08d2b5da386c