[INFO] cloning repository https://github.com/kprestel/amort [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kprestel/amort" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkprestel%2Famort", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkprestel%2Famort'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70427610629ed086750ed2697c3b2f759c68fbc0 [INFO] testing kprestel/amort 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%2Fkprestel%2Famort" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kprestel/amort [INFO] finished tweaking git repo https://github.com/kprestel/amort [INFO] tweaked toml for git repo https://github.com/kprestel/amort written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kprestel/amort 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/kprestel/amort 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-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02 [INFO] running `Command { std: "docker" "start" "ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02", 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" "ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02" "/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" "ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02", 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" "ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling amort v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:203:71 [INFO] [stdout] | [INFO] [stdout] 203 | Err(why) => panic!("Couldn't create {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:208:73 [INFO] [stdout] | [INFO] [stdout] 208 | Err(why) => panic!("Couldn't write to {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last` is never used [INFO] [stdout] --> src/main.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl List { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 40 | fn last(&mut self) -> Option<&PeriodInfo> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 12.73s [INFO] running `Command { std: "docker" "inspect" "ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02", 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" "ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02" "/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 cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling itertools v0.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling float-cmp v0.5.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling predicates v1.0.1 [INFO] [stderr] Compiling ignore v0.4.10 [INFO] [stderr] Compiling globwalk v0.5.0 [INFO] [stderr] Compiling assert_fs v0.11.3 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling assert_cmd v0.11.1 [INFO] [stderr] Compiling amort v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::str::FromStr; [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 imports: `Read`, `Write`, and `self` [INFO] [stdout] --> src/main.rs:219:19 [INFO] [stdout] | [INFO] [stdout] 219 | use std::io::{self, BufRead, BufReader, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:203:71 [INFO] [stdout] | [INFO] [stdout] 203 | Err(why) => panic!("Couldn't create {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:208:73 [INFO] [stdout] | [INFO] [stdout] 208 | Err(why) => panic!("Couldn't write to {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:268:14 [INFO] [stdout] | [INFO] [stdout] 268 | for (i, p) in enumerate(vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut f = NamedTempFile::new().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `assert_fs` [INFO] [stderr] --> Cargo.toml:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | assert_fs = "0.11.3" [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_fs` [INFO] [stderr] warning: `amort` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 36.98s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: escargot v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02", 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" "ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stderr] --> src/main.rs:219:19 [INFO] [stderr] | [INFO] [stderr] 219 | use std::io::{self, BufRead, BufReader, Read, Write}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:203:71 [INFO] [stderr] | [INFO] [stderr] 203 | Err(why) => panic!("Couldn't create {}: {}", display, why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:208:73 [INFO] [stderr] | [INFO] [stderr] 208 | Err(why) => panic!("Couldn't write to {}: {}", display, why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:268:14 [INFO] [stderr] | [INFO] [stderr] 268 | for (i, p) in enumerate(vec) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:284:13 [INFO] [stderr] | [INFO] [stderr] 284 | let mut f = NamedTempFile::new().unwrap(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `amort` (bin "amort" test) generated 6 warnings (run `cargo fix --bin "amort" -p amort --tests` to apply 4 suggestions) [INFO] [stderr] warning: unused dependency `assert_fs` [INFO] [stderr] --> Cargo.toml:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | assert_fs = "0.11.3" [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_fs` [INFO] [stderr] warning: `amort` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: escargot v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/amort/c28279c81e17f01f/out/amort-c28279c81e17f01f) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test::test_amort_period ... ok [INFO] [stdout] test test::test_amort ... ok [INFO] [stderr] error: test failed, to rerun pass `--bin amort` [INFO] [stdout] test test::test_cli_file_output ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_cli_file_output stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test::test_cli_file_output' (1252) panicked at src/main.rs:287:51: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/opt/rustwide/target/release/build/amort/c28279c81e17f01f/out/amort" }) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5768932d0e01 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5768932e6aca - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x5768932d62cc - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5768932acad6 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5768932c9339 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x5768932606c0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x5768932c94f2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5768932acb82 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5768932a57e9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5768932ad78d - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 10: 0x5768932e71fc - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 11: 0x5768932e6fd2 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 12: 0x576893253859 - >::call_once [INFO] [stdout] 13: 0x576893253b0b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x576893260ce5 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x57689325a5d4 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x576893263d72 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x5768932d05df - ::new::thread_start [INFO] [stdout] 18: 0x796859ff8dfa - [INFO] [stdout] 19: 0x79685a08c3d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::test_cli_file_output [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02", kill_on_drop: false }` [INFO] [stdout] ea108e009383c8815cae40045007ad032ba921725503475f7d72ce1a8bcd3b02