[INFO] cloning repository https://github.com/manishsingh10895/rust-cli-pika [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manishsingh10895/rust-cli-pika" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Frust-cli-pika", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Frust-cli-pika'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2266c6d099da22c7a5e94a5bf4d74cd3bf457f2f [INFO] testing manishsingh10895/rust-cli-pika against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Frust-cli-pika" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/manishsingh10895/rust-cli-pika [INFO] finished tweaking git repo https://github.com/manishsingh10895/rust-cli-pika [INFO] tweaked toml for git repo https://github.com/manishsingh10895/rust-cli-pika written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/manishsingh10895/rust-cli-pika on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/manishsingh10895/rust-cli-pika 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d [INFO] running `Command { std: "docker" "start" "e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling predicates v1.0.5 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling assert_cmd v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling structopt v0.3.17 [INFO] [stderr] Compiling pikacli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `assert_cmd` [INFO] [stderr] --> Cargo.toml:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | assert_cmd = "1.0.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `assert_cmd` [INFO] [stderr] warning: `pikacli` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 29.98s [INFO] running `Command { std: "docker" "inspect" "e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling pikacli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/main.rs:4:27 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::{self, Read, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `pikacli` (bin "pikacli" test) generated 1 warning (run `cargo fix --bin "pikacli" -p pikacli --tests` to apply 1 suggestion) [INFO] [stderr] warning: `pikacli` (bin "pikacli") generated 1 warning (1 duplicate) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/pikacli/921e8909968871fe/out/pikacli-921e8909968871fe) [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/release/build/pikacli/aad98793d94fb0ac/out/integration_tests-aad98793d94fb0ac) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test run_with_defaults ... FAILED [INFO] [stdout] test fail_on_non_existing_file ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- run_with_defaults stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'run_with_defaults' (883) panicked at tests/integration_tests.rs:8:10: [INFO] [stdout] binary doesn't exists: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/pikacli/aad98793d94fb0ac/out/pikacli" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62efe33fdeb1 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x62efe341334a - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x62efe340337c - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x62efe33d9d86 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x62efe33f64c9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x62efe338e0c0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x62efe33f6682 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x62efe33d9e32 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x62efe33d2b49 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x62efe33daa3d - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x62efe3413a7c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x62efe3413852 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x62efe338123f - >::call_once [INFO] [stdout] 13: 0x62efe338150b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x62efe338e6e5 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x62efe3387fd4 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x62efe3391772 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x62efe33fd68f - ::new::thread_start [INFO] [stdout] 18: 0x7d6f91d2cdfa - [INFO] [stdout] 19: 0x7d6f91dc03d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- fail_on_non_existing_file stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'fail_on_non_existing_file' (882) panicked at tests/integration_tests.rs:19:10: [INFO] [stdout] binary doesn't exists: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/pikacli/aad98793d94fb0ac/out/pikacli" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62efe33fdeb1 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x62efe341334a - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x62efe340337c - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x62efe33d9d86 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x62efe33f64c9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x62efe338e0c0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x62efe33f6682 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x62efe33d9e32 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x62efe33d2b49 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x62efe33daa3d - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x62efe3413a7c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x62efe3413852 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x62efe33813e2 - >::call_once [INFO] [stdout] 13: 0x62efe338150b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x62efe338e6e5 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x62efe3387fd4 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x62efe3391772 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x62efe33fd68f - ::new::thread_start [INFO] [stdout] 18: 0x7d6f91d2cdfa - [INFO] [stdout] 19: 0x7d6f91dc03d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] fail_on_non_existing_file [INFO] [stdout] run_with_defaults [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test integration_tests` [INFO] running `Command { std: "docker" "inspect" "e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d", kill_on_drop: false }` [INFO] [stdout] e02afff4e115c480ab85323904c1813f593f022584aea0871f18a9940fd6eb4d