[INFO] cloning repository https://github.com/nibirietz/training-statistics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nibirietz/training-statistics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnibirietz%2Ftraining-statistics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnibirietz%2Ftraining-statistics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0ddaf319daf4fc07d0bc9235cc41e0239525d177
[INFO] checking nibirietz/training-statistics against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnibirietz%2Ftraining-statistics" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nibirietz/training-statistics
[INFO] finished tweaking git repo https://github.com/nibirietz/training-statistics
[INFO] tweaked toml for git repo https://github.com/nibirietz/training-statistics written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nibirietz/training-statistics on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nibirietz/training-statistics 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a7c4b9aa1c93649a8da5ebb4970f1e11f019134771871b9cfdf769a45121be4b
[INFO] running `Command { std: "docker" "start" "-a" "a7c4b9aa1c93649a8da5ebb4970f1e11f019134771871b9cfdf769a45121be4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7c4b9aa1c93649a8da5ebb4970f1e11f019134771871b9cfdf769a45121be4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7c4b9aa1c93649a8da5ebb4970f1e11f019134771871b9cfdf769a45121be4b", kill_on_drop: false }`
[INFO] [stdout] a7c4b9aa1c93649a8da5ebb4970f1e11f019134771871b9cfdf769a45121be4b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc38f8c7363ab3e4f7bc2bb3dcd7598829f807baa33e98254467355cbfb7fe9a
[INFO] running `Command { std: "docker" "start" "-a" "fc38f8c7363ab3e4f7bc2bb3dcd7598829f807baa33e98254467355cbfb7fe9a", kill_on_drop: false }`
[INFO] [stderr]     Checking training-statistics v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Repository`
[INFO] [stdout]  --> src/api.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::repository::{self, Repository};
[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: `ExerciseCreate`
[INFO] [stdout]  --> src/api.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::schema::{self, ExerciseCreate, ExercisePublic};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::database`
[INFO] [stdout]  --> src/repository.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::database;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Repository`
[INFO] [stdout]  --> src/api.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::repository::{self, Repository};
[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: `ExerciseCreate`
[INFO] [stdout]  --> src/api.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::schema::{self, ExerciseCreate, ExercisePublic};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::database`
[INFO] [stdout]  --> src/repository.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::database;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/api.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn edit_exercise(&self, id: u32, name: &str) {
[INFO] [stdout]    |                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[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/api.rs:18:38
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn edit_exercise(&self, id: u32, name: &str) {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]  --> src/repository.rs:9:42
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn get_exercise_by_id<'a>(&self, name: &str, id: u32) -> ExercisePublic<'a> {
[INFO] [stdout]   |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]  --> src/repository.rs:9:54
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn get_exercise_by_id<'a>(&self, name: &str, id: u32) -> ExercisePublic<'a> {
[INFO] [stdout]   |                                                      ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exercise`
[INFO] [stdout]   --> src/repository.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn create_exercise(&self, exercise: schema::ExerciseCreate) {
[INFO] [stdout]    |                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exercise`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exercise`
[INFO] [stdout]   --> src/repository.rs:15:33
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn edit_exercise(&self, exercise: schema::ExerciseEdit) {
[INFO] [stdout]    |                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exercise`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/repository.rs:18:43
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn get_id_of_last_exercise(&self, name: &str) -> u32 {
[INFO] [stdout]    |                                           ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `repository` is never read
[INFO] [stdout]  --> src/api.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct API {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 5 |     repository: repository::Repository,
[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`, `create_exercise`, `edit_exercise`, `edit_last_exercise`, and `get_exercise_by_id` are never used
[INFO] [stdout]   --> src/api.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl API {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout]  9 |     fn new() -> API {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn create_exercise(&self, name: &str, approaches: u32, repetitions: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn edit_exercise(&self, id: u32, name: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn edit_last_exercise(&self, name: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn get_exercise_by_id(&self, name: &str, id: u32) -> ExercisePublic {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/api.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn edit_exercise(&self, id: u32, name: &str) {
[INFO] [stdout]    |                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/schema.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct ExercisePublic<'a> {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 42 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/api.rs:18:38
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn edit_exercise(&self, id: u32, name: &str) {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/schema.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct ExerciseEdit<'a> {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 55 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]  --> src/repository.rs:9:42
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn get_exercise_by_id<'a>(&self, name: &str, id: u32) -> ExercisePublic<'a> {
[INFO] [stdout]   |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]  --> src/repository.rs:9:54
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn get_exercise_by_id<'a>(&self, name: &str, id: u32) -> ExercisePublic<'a> {
[INFO] [stdout]   |                                                      ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exercise`
[INFO] [stdout]   --> src/repository.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn create_exercise(&self, exercise: schema::ExerciseCreate) {
[INFO] [stdout]    |                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exercise`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/api.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn get_exercise_by_id(&self, name: &str, id: u32) -> ExercisePublic {
[INFO] [stdout]    |                           ^^^^^                          ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn get_exercise_by_id(&self, name: &str, id: u32) -> ExercisePublic<'_> {
[INFO] [stdout]    |                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exercise`
[INFO] [stdout]   --> src/repository.rs:15:33
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn edit_exercise(&self, exercise: schema::ExerciseEdit) {
[INFO] [stdout]    |                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exercise`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/repository.rs:18:43
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn get_id_of_last_exercise(&self, name: &str) -> u32 {
[INFO] [stdout]    |                                           ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `repository` is never read
[INFO] [stdout]  --> src/api.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct API {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 5 |     repository: repository::Repository,
[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`, `create_exercise`, `edit_exercise`, `edit_last_exercise`, and `get_exercise_by_id` are never used
[INFO] [stdout]   --> src/api.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl API {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout]  9 |     fn new() -> API {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn create_exercise(&self, name: &str, approaches: u32, repetitions: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn edit_exercise(&self, id: u32, name: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn edit_last_exercise(&self, name: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn get_exercise_by_id(&self, name: &str, id: u32) -> ExercisePublic {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/schema.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct ExercisePublic<'a> {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 42 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/schema.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct ExerciseEdit<'a> {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 55 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/api.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn get_exercise_by_id(&self, name: &str, id: u32) -> ExercisePublic {
[INFO] [stdout]    |                           ^^^^^                          ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn get_exercise_by_id(&self, name: &str, id: u32) -> ExercisePublic<'_> {
[INFO] [stdout]    |                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] running `Command { std: "docker" "inspect" "fc38f8c7363ab3e4f7bc2bb3dcd7598829f807baa33e98254467355cbfb7fe9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc38f8c7363ab3e4f7bc2bb3dcd7598829f807baa33e98254467355cbfb7fe9a", kill_on_drop: false }`
[INFO] [stdout] fc38f8c7363ab3e4f7bc2bb3dcd7598829f807baa33e98254467355cbfb7fe9a
