[INFO] fetching crate rtd 0.3.3... [INFO] testing rtd-0.3.3 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rtd 0.3.3 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate rtd 0.3.3 [INFO] finished tweaking crates.io crate rtd 0.3.3 [INFO] tweaked toml for crates.io crate rtd 0.3.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rtd 0.3.3 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rtd 0.3.3 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74ef84a0787f1ca122c96c5692d723df673873fde59d9a500c5effaf55146f1d [INFO] running `Command { std: "docker" "start" "-a" "74ef84a0787f1ca122c96c5692d723df673873fde59d9a500c5effaf55146f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74ef84a0787f1ca122c96c5692d723df673873fde59d9a500c5effaf55146f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74ef84a0787f1ca122c96c5692d723df673873fde59d9a500c5effaf55146f1d", kill_on_drop: false }` [INFO] [stdout] 74ef84a0787f1ca122c96c5692d723df673873fde59d9a500c5effaf55146f1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f06846c463d1fef97aa63cb33e4005cda2b3140d26663bbf5f25c85f7300296a [INFO] running `Command { std: "docker" "start" "-a" "f06846c463d1fef97aa63cb33e4005cda2b3140d26663bbf5f25c85f7300296a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling addr2line v0.12.2 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling rusqlite v0.21.0 [INFO] [stderr] Compiling migrant_lib v0.28.0 [INFO] [stderr] Compiling rtd v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Task` instead of cloning the inner type [INFO] [stdout] --> src/view/list.rs:50:52 [INFO] [stdout] | [INFO] [stdout] 50 | let formatter = Formatter::new(task.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/view/single.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | let formatter = Formatter::new(task.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Task` does not implement `Clone`, so calling `clone` on `&Task` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 7 - let formatter = Formatter::new(task.clone()); [INFO] [stdout] 7 + let formatter = Formatter::new(task); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Task`, implement `Clone` for it [INFO] [stdout] --> src/model/task.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Clone)] [INFO] [stdout] 10| pub struct Task { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.70s [INFO] running `Command { std: "docker" "inspect" "f06846c463d1fef97aa63cb33e4005cda2b3140d26663bbf5f25c85f7300296a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06846c463d1fef97aa63cb33e4005cda2b3140d26663bbf5f25c85f7300296a", kill_on_drop: false }` [INFO] [stdout] f06846c463d1fef97aa63cb33e4005cda2b3140d26663bbf5f25c85f7300296a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 538c16002b76241e8350c134d1a23bd45eea24258189b4a2017656776c052a7b [INFO] running `Command { std: "docker" "start" "-a" "538c16002b76241e8350c134d1a23bd45eea24258189b4a2017656776c052a7b", kill_on_drop: false }` [INFO] [stderr] Compiling rtd v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Task` instead of cloning the inner type [INFO] [stdout] --> src/view/list.rs:50:52 [INFO] [stdout] | [INFO] [stdout] 50 | let formatter = Formatter::new(task.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/view/single.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | let formatter = Formatter::new(task.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Task` does not implement `Clone`, so calling `clone` on `&Task` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 7 - let formatter = Formatter::new(task.clone()); [INFO] [stdout] 7 + let formatter = Formatter::new(task); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Task`, implement `Clone` for it [INFO] [stdout] --> src/model/task.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Clone)] [INFO] [stdout] 10| pub struct Task { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Task` instead of cloning the inner type [INFO] [stdout] --> src/view/list.rs:50:52 [INFO] [stdout] | [INFO] [stdout] 50 | let formatter = Formatter::new(task.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/view/single.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | let formatter = Formatter::new(task.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Task` does not implement `Clone`, so calling `clone` on `&Task` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 7 - let formatter = Formatter::new(task.clone()); [INFO] [stdout] 7 + let formatter = Formatter::new(task); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Task`, implement `Clone` for it [INFO] [stdout] --> src/model/task.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Clone)] [INFO] [stdout] 10| pub struct Task { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "538c16002b76241e8350c134d1a23bd45eea24258189b4a2017656776c052a7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "538c16002b76241e8350c134d1a23bd45eea24258189b4a2017656776c052a7b", kill_on_drop: false }` [INFO] [stdout] 538c16002b76241e8350c134d1a23bd45eea24258189b4a2017656776c052a7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54d2efecd3e81beba50c8aac6625a32d9363dee52037f6824e6fbaa599bd6315 [INFO] running `Command { std: "docker" "start" "-a" "54d2efecd3e81beba50c8aac6625a32d9363dee52037f6824e6fbaa599bd6315", kill_on_drop: false }` [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Task` instead of cloning the inner type [INFO] [stderr] --> src/view/list.rs:50:52 [INFO] [stderr] | [INFO] [stderr] 50 | let formatter = Formatter::new(task.clone()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/view/single.rs:7:40 [INFO] [stderr] | [INFO] [stderr] 7 | let formatter = Formatter::new(task.clone()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Task` does not implement `Clone`, so calling `clone` on `&Task` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 7 - let formatter = Formatter::new(task.clone()); [INFO] [stderr] 7 + let formatter = Formatter::new(task); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `Task`, implement `Clone` for it [INFO] [stderr] --> src/model/task.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 + #[derive(Clone)] [INFO] [stderr] 10| pub struct Task { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rtd` (lib) generated 2 warnings (run `cargo fix --lib -p rtd` to apply 1 suggestion) [INFO] [stderr] warning: `rtd` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rtd-a981426702b88909) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test model::smart_date::test::format_as_weekday ... ok [INFO] [stdout] test model::priority::test::test_parse_priority ... ok [INFO] [stdout] test model::smart_date::test::format_as_tomorrow ... ok [INFO] [stdout] test model::smart_date::test::format_as_today ... ok [INFO] [stdout] test model::smart_date::test::format_as_iso_date_if_past_date ... ok [INFO] [stdout] test model::smart_date::test::format_future_dates_in_this_week_as_weekday ... ok [INFO] [stdout] test model::smart_date::test::format_date_in_next_week_as_iso_date ... ok [INFO] [stdout] test model::smart_date::test::format_past_date_as_iso_date ... ok [INFO] [stdout] test model::smart_date::test::test_smart_date_in_next_week ... ok [INFO] [stdout] test model::smart_date::test::test_smart_date_iso_format ... ok [INFO] [stdout] test model::smart_date::test::test_smart_date_in_this_week ... ok [INFO] [stdout] test model::task::test::test_mark_completed ... ok [INFO] [stdout] test model::task::test::test_in_list ... ok [INFO] [stdout] test model::smart_date::test::test_invalid_smart_date ... ok [INFO] [stdout] test model::smart_date::test::test_smart_date ... ok [INFO] [stdout] test model::task::test::test_mark_for_today ... ok [INFO] [stderr] Running unittests src/bin/rtd.rs (/opt/rustwide/target/debug/deps/rtd-f8a5d1c04cea33a2) [INFO] [stdout] test command::todo_args::test::test_parse_due_date ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests rtd [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 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] running `Command { std: "docker" "inspect" "54d2efecd3e81beba50c8aac6625a32d9363dee52037f6824e6fbaa599bd6315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54d2efecd3e81beba50c8aac6625a32d9363dee52037f6824e6fbaa599bd6315", kill_on_drop: false }` [INFO] [stdout] 54d2efecd3e81beba50c8aac6625a32d9363dee52037f6824e6fbaa599bd6315