[INFO] cloning repository https://github.com/vassilux/rustadvance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vassilux/rustadvance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvassilux%2Frustadvance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvassilux%2Frustadvance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71e64cb21c86e6368885a2a4a245d7884569dace [INFO] building vassilux/rustadvance against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvassilux%2Frustadvance" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vassilux/rustadvance [INFO] finished tweaking git repo https://github.com/vassilux/rustadvance [INFO] tweaked toml for git repo https://github.com/vassilux/rustadvance written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vassilux/rustadvance on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vassilux/rustadvance 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df99cb20a1361d3567a687247bc4d6a832e4c3d87833b8a1e3e0dc15cb4790f2 [INFO] running `Command { std: "docker" "start" "-a" "df99cb20a1361d3567a687247bc4d6a832e4c3d87833b8a1e3e0dc15cb4790f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df99cb20a1361d3567a687247bc4d6a832e4c3d87833b8a1e3e0dc15cb4790f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df99cb20a1361d3567a687247bc4d6a832e4c3d87833b8a1e3e0dc15cb4790f2", kill_on_drop: false }` [INFO] [stdout] df99cb20a1361d3567a687247bc4d6a832e4c3d87833b8a1e3e0dc15cb4790f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57dfdaa22043d738d1d6ab4a31e43fa9c7ce9c10615bcf98aa9cfd7fa0f111b3 [INFO] running `Command { std: "docker" "start" "-a" "57dfdaa22043d738d1d6ab4a31e43fa9c7ce9c10615bcf98aa9cfd7fa0f111b3", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-tls v3.4.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.4.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling oracle v0.6.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling validator_derive v0.18.1 [INFO] [stderr] Compiling oracle_procmacro v0.1.2 [INFO] [stderr] Compiling async-native-tls v0.4.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling asynchronous-codec v0.6.2 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling connection-string v0.2.0 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling pretty-hex v0.3.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling tiberius v0.12.3 [INFO] [stderr] Compiling actix-http v3.8.0 [INFO] [stderr] Compiling actix-web v4.8.0 [INFO] [stderr] Compiling actix-cors v0.7.0 [INFO] [stderr] Compiling rustadvance v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::Log` [INFO] [stdout] --> src/api/login_cred_post_api.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log::Log; [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: `Error as OracleError` [INFO] [stdout] --> src/database/database.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use oracle::{Connection, Error as OracleError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete_customer` is never used [INFO] [stdout] --> src/database/database.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl OracleDatabase { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn delete_customer(&self, email: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FromEnvVarError` is never used [INFO] [stdout] --> src/errors/errors_handling.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait FromEnvVarError: Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppOracleError` is never constructed [INFO] [stdout] --> src/errors/errors_handling.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AppOracleError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_customer_id` is never used [INFO] [stdout] --> src/models/customer.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait CustomerOps { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 42 | fn get_customer_id(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/login_credentials.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl LoginParams { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(email: String, password: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_cert_file` is never used [INFO] [stdout] --> src/tls.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn load_cert_file(path: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_private_keys` is never used [INFO] [stdout] --> src/tls.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn load_private_keys(path: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_rustls_config` is never used [INFO] [stdout] --> src/tls.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn load_rustls_config() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "57dfdaa22043d738d1d6ab4a31e43fa9c7ce9c10615bcf98aa9cfd7fa0f111b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57dfdaa22043d738d1d6ab4a31e43fa9c7ce9c10615bcf98aa9cfd7fa0f111b3", kill_on_drop: false }` [INFO] [stdout] 57dfdaa22043d738d1d6ab4a31e43fa9c7ce9c10615bcf98aa9cfd7fa0f111b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9c76399c163787161658ab18747ed437a42e7e981ecdb5c9341f686b8463034 [INFO] running `Command { std: "docker" "start" "-a" "a9c76399c163787161658ab18747ed437a42e7e981ecdb5c9341f686b8463034", kill_on_drop: false }` [INFO] [stderr] Compiling rustadvance v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::Log` [INFO] [stdout] --> src/api/login_cred_post_api.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log::Log; [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: `Error as OracleError` [INFO] [stdout] --> src/database/database.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use oracle::{Connection, Error as OracleError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FromEnvVarError` is never used [INFO] [stdout] --> src/errors/errors_handling.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait FromEnvVarError: Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppOracleError` is never constructed [INFO] [stdout] --> src/errors/errors_handling.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AppOracleError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_customer_id` is never used [INFO] [stdout] --> src/models/customer.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait CustomerOps { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 42 | fn get_customer_id(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/login_credentials.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl LoginParams { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(email: String, password: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_cert_file` is never used [INFO] [stdout] --> src/tls.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn load_cert_file(path: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_private_keys` is never used [INFO] [stdout] --> src/tls.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn load_private_keys(path: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_rustls_config` is never used [INFO] [stdout] --> src/tls.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn load_rustls_config() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/database.rs:160:48 [INFO] [stdout] | [INFO] [stdout] 160 | let target_email = customer.get_email().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "a9c76399c163787161658ab18747ed437a42e7e981ecdb5c9341f686b8463034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c76399c163787161658ab18747ed437a42e7e981ecdb5c9341f686b8463034", kill_on_drop: false }` [INFO] [stdout] a9c76399c163787161658ab18747ed437a42e7e981ecdb5c9341f686b8463034