[INFO] fetching crate cllog 0.2.0... [INFO] testing cllog-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cllog 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate cllog 0.2.0 [INFO] finished tweaking crates.io crate cllog 0.2.0 [INFO] tweaked toml for crates.io crate cllog 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cllog 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cllog 0.2.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-3-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `cl` [INFO] [stderr] * `bin` target `cllog` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hambands v0.1.2 [INFO] [stderr] Downloaded autojson v0.1.0 [INFO] [stderr] Downloaded cli-table v0.4.6 [INFO] [stderr] Downloaded rustc-demangle v0.1.19 [INFO] [stderr] Downloaded lexical v5.2.2 [INFO] [stderr] Downloaded adif v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9b49bf7633f88ba89eeced83af78084f309b8712a2cc4eac80c904c15e3b185 [INFO] running `Command { std: "docker" "start" "-a" "a9b49bf7633f88ba89eeced83af78084f309b8712a2cc4eac80c904c15e3b185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9b49bf7633f88ba89eeced83af78084f309b8712a2cc4eac80c904c15e3b185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b49bf7633f88ba89eeced83af78084f309b8712a2cc4eac80c904c15e3b185", kill_on_drop: false }` [INFO] [stdout] a9b49bf7633f88ba89eeced83af78084f309b8712a2cc4eac80c904c15e3b185 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 270dfc9d5ac346897d0c82c19152216d9bad7a2d10dae1b31fc53ca70633fed1 [INFO] running `Command { std: "docker" "start" "-a" "270dfc9d5ac346897d0c82c19152216d9bad7a2d10dae1b31fc53ca70633fed1", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `cl` [INFO] [stderr] * `bin` target `cllog` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling rustc-demangle v0.1.19 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling hambands v0.1.2 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling cli-table-derive v0.4.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling adif v0.1.0 [INFO] [stderr] Compiling autojson v0.1.0 [INFO] [stderr] Compiling cli-table v0.4.6 [INFO] [stderr] Compiling cllog v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value_t` [INFO] [stdout] --> src/cli.rs:1:105 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, crate_authors, crate_description, crate_name, value_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Border`, `ColorChoice`, and `HorizontalLine` [INFO] [stdout] --> src/commands/book/dump.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/log/new.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/commands/log/edit.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/query.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value_t` [INFO] [stdout] --> src/cli.rs:1:105 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, crate_authors, crate_description, crate_name, value_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Border`, `ColorChoice`, and `HorizontalLine` [INFO] [stdout] --> src/commands/book/dump.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/log/new.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/commands/log/edit.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/query.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/commands/book/dump.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/book/publish.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn exec_publish_book(name: &str, outfile: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/log/edit.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut split_index = id.split(':').collect::>(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/log/edit.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut entry = entry.unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/commands/book/dump.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/book/publish.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn exec_publish_book(name: &str, outfile: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/log/edit.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut split_index = id.split(':').collect::>(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/log/edit.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut entry = entry.unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.48s [INFO] running `Command { std: "docker" "inspect" "270dfc9d5ac346897d0c82c19152216d9bad7a2d10dae1b31fc53ca70633fed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "270dfc9d5ac346897d0c82c19152216d9bad7a2d10dae1b31fc53ca70633fed1", kill_on_drop: false }` [INFO] [stdout] 270dfc9d5ac346897d0c82c19152216d9bad7a2d10dae1b31fc53ca70633fed1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e10718cd61ed4b0bae6ba9b20de404fcb879ec8c9a260725a10c6577bd3b10b3 [INFO] running `Command { std: "docker" "start" "-a" "e10718cd61ed4b0bae6ba9b20de404fcb879ec8c9a260725a10c6577bd3b10b3", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `cl` [INFO] [stderr] * `bin` target `cllog` [INFO] [stderr] Compiling cllog v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value_t` [INFO] [stdout] --> src/cli.rs:1:105 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, crate_authors, crate_description, crate_name, value_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Border`, `ColorChoice`, and `HorizontalLine` [INFO] [stdout] --> src/commands/book/dump.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/log/new.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/commands/log/edit.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/query.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value_t` [INFO] [stdout] --> src/cli.rs:1:105 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, crate_authors, crate_description, crate_name, value_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Border`, `ColorChoice`, and `HorizontalLine` [INFO] [stdout] --> src/commands/book/dump.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/log/new.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/commands/log/edit.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_data_default_book_path` [INFO] [stdout] --> src/commands/query.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/commands/book/dump.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/commands/book/dump.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/book/publish.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn exec_publish_book(name: &str, outfile: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/log/edit.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut split_index = id.split(':').collect::>(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/log/edit.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut entry = entry.unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/book/publish.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn exec_publish_book(name: &str, outfile: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/log/edit.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut split_index = id.split(':').collect::>(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/log/edit.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut entry = entry.unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "e10718cd61ed4b0bae6ba9b20de404fcb879ec8c9a260725a10c6577bd3b10b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10718cd61ed4b0bae6ba9b20de404fcb879ec8c9a260725a10c6577bd3b10b3", kill_on_drop: false }` [INFO] [stdout] e10718cd61ed4b0bae6ba9b20de404fcb879ec8c9a260725a10c6577bd3b10b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0dee7349d45785a2ced3a45565062f74c47b2e3c8ea566621a9fb1e6ebd4f6c9 [INFO] running `Command { std: "docker" "start" "-a" "0dee7349d45785a2ced3a45565062f74c47b2e3c8ea566621a9fb1e6ebd4f6c9", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `cl` [INFO] [stderr] * `bin` target `cllog` [INFO] [stderr] warning: found module declaration for lib.rs [INFO] [stderr] --> src/main.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | mod lib; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lib.rs is the root of this crate's library target [INFO] [stderr] = help: to refer to it from other targets, use the library's name as the path [INFO] [stderr] = note: `#[warn(special_module_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `value_t` [INFO] [stderr] --> src/cli.rs:1:105 [INFO] [stderr] | [INFO] [stderr] 1 | use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, crate_authors, crate_description, crate_name, value_t}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Border`, `ColorChoice`, and `HorizontalLine` [INFO] [stderr] --> src/commands/book/dump.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_data_default_book_path` [INFO] [stderr] --> src/commands/log/new.rs:8:58 [INFO] [stderr] | [INFO] [stderr] 8 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TimeZone` [INFO] [stderr] --> src/commands/log/edit.rs:1:31 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{DateTime, Local, TimeZone}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_data_default_book_path` [INFO] [stderr] --> src/commands/query.rs:7:58 [INFO] [stderr] | [INFO] [stderr] 7 | ensure_storage_location_exists, get_data_books_path, get_data_default_book_path, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Style` [INFO] [stderr] --> src/commands/book/dump.rs:1:30 [INFO] [stderr] | [INFO] [stderr] 1 | use cli_table::{ColorChoice, Style, Table, format::{Border, HorizontalLine}}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/commands/book/publish.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn exec_publish_book(name: &str, outfile: &str) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/commands/log/edit.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let mut split_index = id.split(':').collect::>(); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/commands/log/edit.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | let mut entry = entry.unwrap(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `cllog` (bin "cl" test) generated 10 warnings (run `cargo fix --bin "cl" --tests` to apply 7 suggestions) [INFO] [stderr] warning: `cllog` (bin "cllog" test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cl-029f1e7de61cd024) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cllog-9013b15a96b9c249) [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" "0dee7349d45785a2ced3a45565062f74c47b2e3c8ea566621a9fb1e6ebd4f6c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dee7349d45785a2ced3a45565062f74c47b2e3c8ea566621a9fb1e6ebd4f6c9", kill_on_drop: false }` [INFO] [stdout] 0dee7349d45785a2ced3a45565062f74c47b2e3c8ea566621a9fb1e6ebd4f6c9