[INFO] cloning repository https://github.com/openstax-poland/gitpub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/openstax-poland/gitpub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopenstax-poland%2Fgitpub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopenstax-poland%2Fgitpub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44c3a7db0d0db3d1f94fab8bb386ecc8c9204e83 [INFO] building openstax-poland/gitpub against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopenstax-poland%2Fgitpub" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/openstax-poland/gitpub on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/openstax-poland/gitpub [INFO] finished tweaking git repo https://github.com/openstax-poland/gitpub [INFO] tweaked toml for git repo https://github.com/openstax-poland/gitpub written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/openstax-poland/gitpub already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded git2 v0.13.23 [INFO] [stderr] Downloaded argh v0.1.6 [INFO] [stderr] Downloaded argh_derive v0.1.6 [INFO] [stderr] Downloaded argh_shared v0.1.6 [INFO] [stderr] Downloaded libgit2-sys v0.12.24+1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3f3d5b4d794068fbf5422e2a2577d7a2a48fa64113b9a324eb90ccca980ffbe [INFO] running `Command { std: "docker" "start" "-a" "d3f3d5b4d794068fbf5422e2a2577d7a2a48fa64113b9a324eb90ccca980ffbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3f3d5b4d794068fbf5422e2a2577d7a2a48fa64113b9a324eb90ccca980ffbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f3d5b4d794068fbf5422e2a2577d7a2a48fa64113b9a324eb90ccca980ffbe", kill_on_drop: false }` [INFO] [stdout] d3f3d5b4d794068fbf5422e2a2577d7a2a48fa64113b9a324eb90ccca980ffbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e1ede77e3e6cfd9914660b3b9ba8976fbc38f4637ff5e55cb926ac60fd40f3f [INFO] running `Command { std: "docker" "start" "-a" "8e1ede77e3e6cfd9914660b3b9ba8976fbc38f4637ff5e55cb926ac60fd40f3f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling argh_shared v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tar v0.4.37 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.12.24+1.3.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling argh_derive v0.1.6 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling argh v0.1.6 [INFO] [stderr] Compiling git2 v0.13.23 [INFO] [stderr] Compiling gitpub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `stdout` [INFO] [stdout] --> src/output.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, io::{self, Write, stdout}, sync::atomic::{AtomicBool, Ordering}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clear` [INFO] [stdout] --> src/output.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use termion::{clear, color::{self, LightGreen}, cursor, style::{self, Bold}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/javascript.rs:286:20 [INFO] [stdout] | [INFO] [stdout] 286 | fn postpublish(engine: &JavaScript) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/javascript.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | fn archive_name(engine: &JavaScript) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/javascript.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 306 | fn archive_prefix(engine: &JavaScript) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/javascript.rs:310:20 [INFO] [stdout] | [INFO] [stdout] 310 | fn postpublish(engine: &JavaScript) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yarn3` [INFO] [stdout] --> src/engine/javascript.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn yarn3() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.15s [INFO] running `Command { std: "docker" "inspect" "8e1ede77e3e6cfd9914660b3b9ba8976fbc38f4637ff5e55cb926ac60fd40f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e1ede77e3e6cfd9914660b3b9ba8976fbc38f4637ff5e55cb926ac60fd40f3f", kill_on_drop: false }` [INFO] [stdout] 8e1ede77e3e6cfd9914660b3b9ba8976fbc38f4637ff5e55cb926ac60fd40f3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5d8d846e746c2b4ef08b0b64d581d9b4b550111594104934fbd49c015476952 [INFO] running `Command { std: "docker" "start" "-a" "a5d8d846e746c2b4ef08b0b64d581d9b4b550111594104934fbd49c015476952", kill_on_drop: false }` [INFO] [stderr] Compiling gitpub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `stdout` [INFO] [stdout] --> src/output.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, io::{self, Write, stdout}, sync::atomic::{AtomicBool, Ordering}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clear` [INFO] [stdout] --> src/output.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use termion::{clear, color::{self, LightGreen}, cursor, style::{self, Bold}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/javascript.rs:286:20 [INFO] [stdout] | [INFO] [stdout] 286 | fn postpublish(engine: &JavaScript) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/javascript.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | fn archive_name(engine: &JavaScript) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/javascript.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 306 | fn archive_prefix(engine: &JavaScript) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/javascript.rs:310:20 [INFO] [stdout] | [INFO] [stdout] 310 | fn postpublish(engine: &JavaScript) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yarn3` [INFO] [stdout] --> src/engine/javascript.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn yarn3() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.61s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/gitpub-3f10d0aec80d799e) [INFO] running `Command { std: "docker" "inspect" "a5d8d846e746c2b4ef08b0b64d581d9b4b550111594104934fbd49c015476952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d8d846e746c2b4ef08b0b64d581d9b4b550111594104934fbd49c015476952", kill_on_drop: false }` [INFO] [stdout] a5d8d846e746c2b4ef08b0b64d581d9b4b550111594104934fbd49c015476952