[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 try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHlibShutov%2Frust_api" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HlibShutov/rust_api on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6bf9cf79d4fcedb98db19a31810d84ca8c8e34cfdc1506fe03ecca93a208ccd0
[INFO] running `Command { std: "docker" "start" "-a" "6bf9cf79d4fcedb98db19a31810d84ca8c8e34cfdc1506fe03ecca93a208ccd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6bf9cf79d4fcedb98db19a31810d84ca8c8e34cfdc1506fe03ecca93a208ccd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6bf9cf79d4fcedb98db19a31810d84ca8c8e34cfdc1506fe03ecca93a208ccd0", kill_on_drop: false }`
[INFO] [stdout] 6bf9cf79d4fcedb98db19a31810d84ca8c8e34cfdc1506fe03ecca93a208ccd0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 286a81abf7c89c40a21437dac17ee6f5d201a66df3cb9eeaad9c39c0d61bb148
[INFO] running `Command { std: "docker" "start" "-a" "286a81abf7c89c40a21437dac17ee6f5d201a66df3cb9eeaad9c39c0d61bb148", 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 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.62s
[INFO] running `Command { std: "docker" "inspect" "286a81abf7c89c40a21437dac17ee6f5d201a66df3cb9eeaad9c39c0d61bb148", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "286a81abf7c89c40a21437dac17ee6f5d201a66df3cb9eeaad9c39c0d61bb148", kill_on_drop: false }`
[INFO] [stdout] 286a81abf7c89c40a21437dac17ee6f5d201a66df3cb9eeaad9c39c0d61bb148
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a175c047cf490806b4adb7b4a54271c62f266665077c07ed3a7dd70703a0bd5f
[INFO] running `Command { std: "docker" "start" "-a" "a175c047cf490806b4adb7b4a54271c62f266665077c07ed3a7dd70703a0bd5f", 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.23s
[INFO] running `Command { std: "docker" "inspect" "a175c047cf490806b4adb7b4a54271c62f266665077c07ed3a7dd70703a0bd5f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a175c047cf490806b4adb7b4a54271c62f266665077c07ed3a7dd70703a0bd5f", kill_on_drop: false }`
[INFO] [stdout] a175c047cf490806b4adb7b4a54271c62f266665077c07ed3a7dd70703a0bd5f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 14f2bb8a03c660454294c5707188d569f73425bc4b66547e709c785669481f12
[INFO] running `Command { std: "docker" "start" "-a" "14f2bb8a03c660454294c5707188d569f73425bc4b66547e709c785669481f12", 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.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_api-46260b05ad62c47c)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test db_object::tests::test_get_all ... ok
[INFO] [stdout] test db_object::tests::test_remove_entry ... ok
[INFO] [stdout] test db_object::tests::test_get_one ... ok
[INFO] [stdout] test utils::tests::test_change_user_name ... ok
[INFO] [stdout] test utils::tests::test_delete_user ... ok
[INFO] [stdout] test utils::tests::test_adds_user_to_the_end ... ok
[INFO] [stdout] test utils::tests::test_show_users ... ok
[INFO] [stdout] test db_object::tests::test_change_user ... ok
[INFO] [stdout] test db_object::tests::test_error_if_id_does_not_exist ... ok
[INFO] [stdout] test db_object::tests::test_add_entry ... ok
[INFO] [stdout] test utils::tests::test_show_user ... ok
[INFO] [stdout] test utils::tests::test_change_user_lastname ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api-3bfaeb578747ee07)
[INFO] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-9b6637551100025b)
[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_adding_user_to_empty ... ok
[INFO] [stdout] test test_adding_user ... ok
[INFO] [stdout] test test_adding_user_invalid_data ... ok
[INFO] [stdout] test test_change_user_name_invalid_body ... 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_delete_user_invalid_id ... ok
[INFO] [stdout] test test_show_users ... ok
[INFO] [stdout] test test_show_user ... ok
[INFO] [stdout] test test_empty_users ... ok
[INFO] [stdout] test test_invalid_user_id ... ok
[INFO] [stderr]    Doc-tests rust_api
[INFO] [stdout] test test_delete_user ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.03s
[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" "14f2bb8a03c660454294c5707188d569f73425bc4b66547e709c785669481f12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14f2bb8a03c660454294c5707188d569f73425bc4b66547e709c785669481f12", kill_on_drop: false }`
[INFO] [stdout] 14f2bb8a03c660454294c5707188d569f73425bc4b66547e709c785669481f12
