[INFO] cloning repository https://github.com/cesarandr/workme [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cesarandr/workme" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcesarandr%2Fworkme", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcesarandr%2Fworkme'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f344fec499ec2ddfbb21959ac6174da8eaf308e [INFO] checking cesarandr/workme against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcesarandr%2Fworkme" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cesarandr/workme [INFO] finished tweaking git repo https://github.com/cesarandr/workme [INFO] tweaked toml for git repo https://github.com/cesarandr/workme written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cesarandr/workme on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cesarandr/workme 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlite v0.26.0 [INFO] [stderr] Downloaded serde_derive v1.0.134 [INFO] [stderr] Downloaded serde v1.0.134 [INFO] [stderr] Downloaded sqlite3-sys v0.13.0 [INFO] [stderr] Downloaded sqlite3-src v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4f2a5b328f1cabf9c0238350a1cf3ddf0a6cb74b631d6ed22947004c162a9f9 [INFO] running `Command { std: "docker" "start" "-a" "b4f2a5b328f1cabf9c0238350a1cf3ddf0a6cb74b631d6ed22947004c162a9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4f2a5b328f1cabf9c0238350a1cf3ddf0a6cb74b631d6ed22947004c162a9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f2a5b328f1cabf9c0238350a1cf3ddf0a6cb74b631d6ed22947004c162a9f9", kill_on_drop: false }` [INFO] [stdout] b4f2a5b328f1cabf9c0238350a1cf3ddf0a6cb74b631d6ed22947004c162a9f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52d9dab505103a42c86e408c7d4c54994ff5bf200c14f043f5d0a5c2e9b9e847 [INFO] running `Command { std: "docker" "start" "-a" "52d9dab505103a42c86e408c7d4c54994ff5bf200c14f043f5d0a5c2e9b9e847", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.134 [INFO] [stderr] Compiling serde v1.0.134 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling sqlite3-src v0.3.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking sqlite3-sys v0.13.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking sqlite v0.26.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.6 [INFO] [stderr] Checking clap v3.0.10 [INFO] [stderr] Checking workme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ArgEnum` and `Args` [INFO] [stdout] --> src/arguments.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{self, Parser, Args, Subcommand, ArgEnum}; [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: `ArgEnum` and `Args` [INFO] [stdout] --> src/arguments.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{self, Parser, Args, Subcommand, ArgEnum}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut started_workout = false; [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] [stdout] warning: unused variable: `started_workout` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut started_workout = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_started_workout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | Some(Commands::Account { name }) => println!("Account changed"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `current`, `generate_excercises`, `generate_breaks`, and `completed` are never used [INFO] [stdout] --> src/workout.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Workout { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn current() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn generate_excercises(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn generate_breaks() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn completed(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_repetitions`, and `get_group` are never used [INFO] [stdout] --> src/workout/exercise.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Exercise { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(name: String ,intensity: u32, duration: u32, section: body_section::BodySection) -> Exercise { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn set_repetitions(&mut self, reps: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_group(section: body_section::BodySection) -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut started_workout = false; [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] [stdout] warning: unused variable: `started_workout` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut started_workout = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_started_workout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | Some(Commands::Account { name }) => println!("Account changed"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `current`, `generate_excercises`, `generate_breaks`, and `completed` are never used [INFO] [stdout] --> src/workout.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Workout { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn current() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn generate_excercises(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn generate_breaks() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn completed(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_repetitions`, and `get_group` are never used [INFO] [stdout] --> src/workout/exercise.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Exercise { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(name: String ,intensity: u32, duration: u32, section: body_section::BodySection) -> Exercise { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn set_repetitions(&mut self, reps: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_group(section: body_section::BodySection) -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.99s [INFO] running `Command { std: "docker" "inspect" "52d9dab505103a42c86e408c7d4c54994ff5bf200c14f043f5d0a5c2e9b9e847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52d9dab505103a42c86e408c7d4c54994ff5bf200c14f043f5d0a5c2e9b9e847", kill_on_drop: false }` [INFO] [stdout] 52d9dab505103a42c86e408c7d4c54994ff5bf200c14f043f5d0a5c2e9b9e847