[INFO] cloning repository https://github.com/Bartek-wki/rest_api_for_peoplecar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bartek-wki/rest_api_for_peoplecar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBartek-wki%2Frest_api_for_peoplecar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBartek-wki%2Frest_api_for_peoplecar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02f359ff4c89bea48b8711349fe7fae25fc113df [INFO] testing Bartek-wki/rest_api_for_peoplecar against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBartek-wki%2Frest_api_for_peoplecar" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Bartek-wki/rest_api_for_peoplecar [INFO] finished tweaking git repo https://github.com/Bartek-wki/rest_api_for_peoplecar [INFO] tweaked toml for git repo https://github.com/Bartek-wki/rest_api_for_peoplecar written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Bartek-wki/rest_api_for_peoplecar on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Bartek-wki/rest_api_for_peoplecar 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vin v1.0.0 [INFO] [stderr] Downloaded sha2 v0.10.3 [INFO] [stderr] Downloaded socket2 v0.4.6 [INFO] [stderr] Downloaded cpufeatures v0.2.4 [INFO] [stderr] Downloaded time v0.3.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a966636fdf2a1f446eaa0d0a6007d7b011d2ff522956c18da834a75b3782b46 [INFO] running `Command { std: "docker" "start" "-a" "1a966636fdf2a1f446eaa0d0a6007d7b011d2ff522956c18da834a75b3782b46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a966636fdf2a1f446eaa0d0a6007d7b011d2ff522956c18da834a75b3782b46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a966636fdf2a1f446eaa0d0a6007d7b011d2ff522956c18da834a75b3782b46", kill_on_drop: false }` [INFO] [stdout] 1a966636fdf2a1f446eaa0d0a6007d7b011d2ff522956c18da834a75b3782b46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44e66f06a6a44751db2c71f81459d668270ee38b8f27b0141ef5d5ea98b33381 [INFO] running `Command { std: "docker" "start" "-a" "44e66f06a6a44751db2c71f81459d668270ee38b8f27b0141ef5d5ea98b33381", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling socket2 v0.4.6 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling cpufeatures v0.2.4 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling ref-cast v1.0.9 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling sha2 v0.10.3 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling ref-cast-impl v1.0.9 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.3 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling vin v1.0.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling ubyte v0.10.2 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Compiling rest_api_for_peoplecar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `calculate_dissel_usage_for_distance` [INFO] [stdout] --> src/routes/people_car.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn calculate_dissel_usage_for_distance( [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: `probability_of_unit_injector_fail` [INFO] [stdout] --> src/routes/people_car.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn probability_of_unit_injector_fail(VIN: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year_of_production` [INFO] [stdout] --> src/routes/people_car.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | year_of_production: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_year_of_production` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VIN` should have a snake case name [INFO] [stdout] --> src/routes/people_car.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn probability_of_unit_injector_fail(VIN: &str) -> String { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `vin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.48s [INFO] running `Command { std: "docker" "inspect" "44e66f06a6a44751db2c71f81459d668270ee38b8f27b0141ef5d5ea98b33381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e66f06a6a44751db2c71f81459d668270ee38b8f27b0141ef5d5ea98b33381", kill_on_drop: false }` [INFO] [stdout] 44e66f06a6a44751db2c71f81459d668270ee38b8f27b0141ef5d5ea98b33381 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1b5694c2deec1750d7caad3f6e61786a30b67848f7028a055dc683164637224 [INFO] running `Command { std: "docker" "start" "-a" "f1b5694c2deec1750d7caad3f6e61786a30b67848f7028a055dc683164637224", kill_on_drop: false }` [INFO] [stderr] Compiling rest_api_for_peoplecar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `calculate_dissel_usage_for_distance` [INFO] [stdout] --> src/routes/people_car.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn calculate_dissel_usage_for_distance( [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: `probability_of_unit_injector_fail` [INFO] [stdout] --> src/routes/people_car.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn probability_of_unit_injector_fail(VIN: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year_of_production` [INFO] [stdout] --> src/routes/people_car.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | year_of_production: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_year_of_production` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VIN` should have a snake case name [INFO] [stdout] --> src/routes/people_car.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn probability_of_unit_injector_fail(VIN: &str) -> String { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `vin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "f1b5694c2deec1750d7caad3f6e61786a30b67848f7028a055dc683164637224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1b5694c2deec1750d7caad3f6e61786a30b67848f7028a055dc683164637224", kill_on_drop: false }` [INFO] [stdout] f1b5694c2deec1750d7caad3f6e61786a30b67848f7028a055dc683164637224 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 168cdcadae0c83c75e4eb1ac0539d9610eb1868e4a0b7a710ba7f062dd58ce41 [INFO] running `Command { std: "docker" "start" "-a" "168cdcadae0c83c75e4eb1ac0539d9610eb1868e4a0b7a710ba7f062dd58ce41", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `calculate_dissel_usage_for_distance` [INFO] [stderr] --> src/routes/people_car.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn calculate_dissel_usage_for_distance( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `probability_of_unit_injector_fail` [INFO] [stderr] --> src/routes/people_car.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn probability_of_unit_injector_fail(VIN: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `year_of_production` [INFO] [stderr] --> src/routes/people_car.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | year_of_production: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_year_of_production` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `VIN` should have a snake case name [INFO] [stderr] --> src/routes/people_car.rs:15:42 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn probability_of_unit_injector_fail(VIN: &str) -> String { [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `vin` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rest_api_for_peoplecar` (bin "rest_api_for_peoplecar" test) generated 4 warnings (run `cargo fix --bin "rest_api_for_peoplecar" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rest_api_for_peoplecar-8eb420e9e7b8b792) [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" "168cdcadae0c83c75e4eb1ac0539d9610eb1868e4a0b7a710ba7f062dd58ce41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "168cdcadae0c83c75e4eb1ac0539d9610eb1868e4a0b7a710ba7f062dd58ce41", kill_on_drop: false }` [INFO] [stdout] 168cdcadae0c83c75e4eb1ac0539d9610eb1868e4a0b7a710ba7f062dd58ce41