[INFO] cloning repository https://github.com/juanmera01/rent-car-demo-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juanmera01/rent-car-demo-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuanmera01%2Frent-car-demo-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuanmera01%2Frent-car-demo-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f548d41dbe932c47eb4396c12c05a261388d6456 [INFO] checking juanmera01/rent-car-demo-rust against master#b44e14f762fd4062faeba97f8f2bc470298ec1ac for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuanmera01%2Frent-car-demo-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/juanmera01/rent-car-demo-rust on toolchain b44e14f762fd4062faeba97f8f2bc470298ec1ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b44e14f762fd4062faeba97f8f2bc470298ec1ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/juanmera01/rent-car-demo-rust [INFO] finished tweaking git repo https://github.com/juanmera01/rent-car-demo-rust [INFO] tweaked toml for git repo https://github.com/juanmera01/rent-car-demo-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/juanmera01/rent-car-demo-rust 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" "+b44e14f762fd4062faeba97f8f2bc470298ec1ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded magic-crypt v3.1.13 [INFO] [stderr] Downloaded rusoto_dynamodb v0.48.0 [INFO] [stderr] Downloaded rusoto_credential v0.48.0 [INFO] [stderr] Downloaded rusoto_signature v0.48.0 [INFO] [stderr] Downloaded rusoto_core v0.48.0 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+b44e14f762fd4062faeba97f8f2bc470298ec1ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 911f07c5c975be851c2831c90ee392aeac3d1d42db2bed76c0a839cab8fb5007 [INFO] running `Command { std: "docker" "start" "-a" "911f07c5c975be851c2831c90ee392aeac3d1d42db2bed76c0a839cab8fb5007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "911f07c5c975be851c2831c90ee392aeac3d1d42db2bed76c0a839cab8fb5007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "911f07c5c975be851c2831c90ee392aeac3d1d42db2bed76c0a839cab8fb5007", kill_on_drop: false }` [INFO] [stdout] 911f07c5c975be851c2831c90ee392aeac3d1d42db2bed76c0a839cab8fb5007 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+b44e14f762fd4062faeba97f8f2bc470298ec1ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71922e81f77539e47e7af09f2e6c89014a8a8b17f0cccca354f58e6c35489b22 [INFO] running `Command { std: "docker" "start" "-a" "71922e81f77539e47e7af09f2e6c89014a8a8b17f0cccca354f58e6c35489b22", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling async-trait v0.1.75 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking shlex v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking xml-rs v0.8.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Compiling axum-core v0.4.1 [INFO] [stderr] Compiling axum v0.7.2 [INFO] [stderr] Checking debug-helper v0.3.13 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking crc-any v2.4.4 [INFO] [stderr] Checking des v0.7.0 [INFO] [stderr] Compiling rusoto_core v0.48.0 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking tiger v0.1.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking magic-crypt v3.1.13 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking h2 v0.4.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_with v3.4.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Checking hyper-util v0.1.2 [INFO] [stderr] Checking rusoto_credential v0.48.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking rusoto_signature v0.48.0 [INFO] [stderr] Checking rusoto_dynamodb v0.48.0 [INFO] [stderr] Checking rent-car-demo-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `axum::extract::Path` [INFO] [stdout] --> src/handlers/authetication_handlers/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::extract::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user` [INFO] [stdout] --> src/repositories/vehicle_repository/mod.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::{vehicle::{Car, VehicleClass}, user}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::extract::Path` [INFO] [stdout] --> src/handlers/authetication_handlers/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::extract::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user` [INFO] [stdout] --> src/repositories/vehicle_repository/mod.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::{vehicle::{Car, VehicleClass}, user}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> src/repositories/vehicle_repository/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let class:VehicleClass = VehicleClass::Car; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Vehicle` is never used [INFO] [stdout] --> src/model/vehicle/mod.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/model/vehicle/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Car { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn default() -> Car { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/utils/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn decrypt(message: String, key: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> src/repositories/vehicle_repository/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let class:VehicleClass = VehicleClass::Car; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Vehicle` is never used [INFO] [stdout] --> src/model/vehicle/mod.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/model/vehicle/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Car { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn default() -> Car { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/utils/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn decrypt(message: String, key: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.58s [INFO] running `Command { std: "docker" "inspect" "71922e81f77539e47e7af09f2e6c89014a8a8b17f0cccca354f58e6c35489b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71922e81f77539e47e7af09f2e6c89014a8a8b17f0cccca354f58e6c35489b22", kill_on_drop: false }` [INFO] [stdout] 71922e81f77539e47e7af09f2e6c89014a8a8b17f0cccca354f58e6c35489b22