[INFO] cloning repository https://github.com/HlibShutov/rust_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HlibShutov/rust_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHlibShutov%2Frust_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHlibShutov%2Frust_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5a4456bf2a5914cbc18697c0cf9777df64884b27
[INFO] testing HlibShutov/rust_api against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHlibShutov%2Frust_api" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HlibShutov/rust_api
[INFO] finished tweaking git repo https://github.com/HlibShutov/rust_api
[INFO] tweaked toml for git repo https://github.com/HlibShutov/rust_api written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HlibShutov/rust_api on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HlibShutov/rust_api 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 63dd20479cfa072d67edb4ea8ae8f33a96735148efb9fda7caab8bc4394ecb7b
[INFO] running `Command { std: "docker" "start" "-a" "63dd20479cfa072d67edb4ea8ae8f33a96735148efb9fda7caab8bc4394ecb7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63dd20479cfa072d67edb4ea8ae8f33a96735148efb9fda7caab8bc4394ecb7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63dd20479cfa072d67edb4ea8ae8f33a96735148efb9fda7caab8bc4394ecb7b", kill_on_drop: false }`
[INFO] [stdout] 63dd20479cfa072d67edb4ea8ae8f33a96735148efb9fda7caab8bc4394ecb7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a3367abde5d2ae786d1a66d088c209667a48ced0bbfb8229103331b399e06e50
[INFO] running `Command { std: "docker" "start" "-a" "a3367abde5d2ae786d1a66d088c209667a48ced0bbfb8229103331b399e06e50", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling rust_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/db_mock.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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: `DataBase`
[INFO] [stdout]  --> src/utils.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 |     db_object::{DataBase, UserEnum},
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.74s
[INFO] running `Command { std: "docker" "inspect" "a3367abde5d2ae786d1a66d088c209667a48ced0bbfb8229103331b399e06e50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3367abde5d2ae786d1a66d088c209667a48ced0bbfb8229103331b399e06e50", kill_on_drop: false }`
[INFO] [stdout] a3367abde5d2ae786d1a66d088c209667a48ced0bbfb8229103331b399e06e50
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7a7883c7a13baed7b8062129ddc18210c5d7cec3d72d9a3a9586039c8fc45b38
[INFO] running `Command { std: "docker" "start" "-a" "7a7883c7a13baed7b8062129ddc18210c5d7cec3d72d9a3a9586039c8fc45b38", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/db_mock.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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: `DataBase`
[INFO] [stdout]  --> src/utils.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 |     db_object::{DataBase, UserEnum},
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/db_mock.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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: `DataBase`
[INFO] [stdout]  --> src/utils.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 |     db_object::{DataBase, UserEnum},
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_user` is never used
[INFO] [stdout]    --> src/utils.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn create_user(id: u32) -> User {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s
[INFO] running `Command { std: "docker" "inspect" "7a7883c7a13baed7b8062129ddc18210c5d7cec3d72d9a3a9586039c8fc45b38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a7883c7a13baed7b8062129ddc18210c5d7cec3d72d9a3a9586039c8fc45b38", kill_on_drop: false }`
[INFO] [stdout] 7a7883c7a13baed7b8062129ddc18210c5d7cec3d72d9a3a9586039c8fc45b38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7eba44641766821629fc5b84323b6879f686520e5501fd02a14b9c66a407537b
[INFO] running `Command { std: "docker" "start" "-a" "7eba44641766821629fc5b84323b6879f686520e5501fd02a14b9c66a407537b", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/db_mock.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `DataBase`
[INFO] [stderr]  --> src/utils.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 |     db_object::{DataBase, UserEnum},
[INFO] [stderr]   |                 ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_user` is never used
[INFO] [stderr]    --> src/utils.rs:121:8
[INFO] [stderr]     |
[INFO] [stderr] 121 |     fn create_user(id: u32) -> User {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_api` (lib) generated 2 warnings (run `cargo fix --lib -p rust_api` to apply 2 suggestions)
[INFO] [stderr] warning: `rust_api` (lib test) generated 3 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_api-273fa441f1f14d50)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test db_object::tests::test_add_entry ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api-56d48a3dab562d83)
[INFO] [stdout] test db_object::tests::test_get_all ... ok
[INFO] [stdout] test db_object::tests::test_remove_entry ... ok
[INFO] [stdout] test utils::tests::test_adds_user_to_the_end ... ok
[INFO] [stdout] test utils::tests::test_change_user_lastname ... ok
[INFO] [stdout] test utils::tests::test_delete_user ... ok
[INFO] [stdout] test utils::tests::test_change_user_name ... ok
[INFO] [stdout] test db_object::tests::test_get_one ... ok
[INFO] [stdout] test db_object::tests::test_error_if_id_does_not_exist ... ok
[INFO] [stdout] test utils::tests::test_show_user ... ok
[INFO] [stdout] test db_object::tests::test_change_user ... ok
[INFO] [stdout] test utils::tests::test_show_users ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-0ffa5612ab8388c4)
[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 13 tests
[INFO] [stdout] test test_change_user_name ... ok
[INFO] [stdout] test test_change_user_name_invalid_body ... ok
[INFO] [stdout] test test_empty_users ... ok
[INFO] [stdout] test test_delete_user ... ok
[INFO] [stdout] test test_show_user ... ok
[INFO] [stdout] test test_change_user_name_invalid_id ... ok
[INFO] [stdout] test test_change_user_name_invalid_body_json ... ok
[INFO] [stdout] test test_adding_user_to_empty ... ok
[INFO] [stdout] test test_invalid_user_id ... ok
[INFO] [stdout] test test_show_users ... ok
[INFO] [stdout] test test_delete_user_invalid_id ... ok
[INFO] [stdout] test test_adding_user ... ok
[INFO] [stdout] test test_adding_user_invalid_data ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.04s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_api
[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" "7eba44641766821629fc5b84323b6879f686520e5501fd02a14b9c66a407537b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7eba44641766821629fc5b84323b6879f686520e5501fd02a14b9c66a407537b", kill_on_drop: false }`
[INFO] [stdout] 7eba44641766821629fc5b84323b6879f686520e5501fd02a14b9c66a407537b
