[INFO] cloning repository https://github.com/OI-EPSI-2022/portalz-integrator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OI-EPSI-2022/portalz-integrator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOI-EPSI-2022%2Fportalz-integrator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOI-EPSI-2022%2Fportalz-integrator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8e2a4cb74689717de09e071fd90f1656d9aee6f [INFO] testing OI-EPSI-2022/portalz-integrator against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOI-EPSI-2022%2Fportalz-integrator" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/OI-EPSI-2022/portalz-integrator [INFO] finished tweaking git repo https://github.com/OI-EPSI-2022/portalz-integrator [INFO] tweaked toml for git repo https://github.com/OI-EPSI-2022/portalz-integrator written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OI-EPSI-2022/portalz-integrator on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/OI-EPSI-2022/portalz-integrator 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" "+1.99.0-beta.8" "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 proc-macro2 v1.0.47 [INFO] [stderr] Downloaded unicode-ident v1.0.5 [INFO] [stderr] Downloaded thiserror-impl v1.0.37 [INFO] [stderr] Downloaded link-cplusplus v1.0.7 [INFO] [stderr] Downloaded linked-hash-map v0.5.6 [INFO] [stderr] Downloaded rust-ini v0.18.0 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded mio-extras v2.0.6 [INFO] [stderr] Downloaded ws2_32-sys v0.2.1 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded iovec v0.1.4 [INFO] [stderr] Downloaded input_buffer v0.5.0 [INFO] [stderr] Downloaded cookie-factory v0.2.4 [INFO] [stderr] Downloaded version_check v0.1.5 [INFO] [stderr] Downloaded mio v0.8.6 [INFO] [stderr] Downloaded sqlx-rt v0.6.3 [INFO] [stderr] Downloaded whoami v1.4.0 [INFO] [stderr] Downloaded digest v0.10.5 [INFO] [stderr] Downloaded itoa v1.0.4 [INFO] [stderr] Downloaded paste v1.0.12 [INFO] [stderr] Downloaded serde-aux v4.0.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.53 [INFO] [stderr] Downloaded iana-time-zone-haiku v0.1.1 [INFO] [stderr] Downloaded scratch v1.0.2 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.80 [INFO] [stderr] Downloaded zeroize v1.5.7 [INFO] [stderr] Downloaded dlv-list v0.3.0 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded pest_derive v2.4.0 [INFO] [stderr] Downloaded pest_generator v2.4.0 [INFO] [stderr] Downloaded pest_meta v2.4.0 [INFO] [stderr] Downloaded snafu-derive v0.7.3 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded security-framework-sys v2.6.1 [INFO] [stderr] Downloaded net2 v0.2.38 [INFO] [stderr] Downloaded miow v0.2.2 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded built v0.5.1 [INFO] [stderr] Downloaded semver v1.0.14 [INFO] [stderr] Downloaded amq-protocol v1.4.0 [INFO] [stderr] Downloaded matches v0.1.9 [INFO] [stderr] Downloaded amq-protocol-types v1.2.0 [INFO] [stderr] Downloaded amq-protocol-codegen v1.4.0 [INFO] [stderr] Downloaded sqlx-macros v0.6.3 [INFO] [stderr] Downloaded once_cell v1.15.0 [INFO] [stderr] Downloaded tokio-stream v0.1.12 [INFO] [stderr] Downloaded thiserror v1.0.37 [INFO] [stderr] Downloaded crossbeam-utils v0.8.12 [INFO] [stderr] Downloaded env_logger v0.9.1 [INFO] [stderr] Downloaded yaml-rust v0.4.5 [INFO] [stderr] Downloaded ordered-multimap v0.4.3 [INFO] [stderr] Downloaded pathdiff v0.2.1 [INFO] [stderr] Downloaded async-trait v0.1.58 [INFO] [stderr] Downloaded schannel v0.1.20 [INFO] [stderr] Downloaded cargo-lock v7.1.0 [INFO] [stderr] Downloaded unicode-bidi v0.3.8 [INFO] [stderr] Downloaded uuid v1.3.1 [INFO] [stderr] Downloaded serde_derive v1.0.147 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.80 [INFO] [stderr] Downloaded ucd-trie v0.1.5 [INFO] [stderr] Downloaded snafu v0.7.3 [INFO] [stderr] Downloaded openssl-sys v0.9.77 [INFO] [stderr] Downloaded handlebars v1.1.0 [INFO] [stderr] Downloaded bumpalo v3.11.1 [INFO] [stderr] Downloaded config v0.13.2 [INFO] [stderr] Downloaded serde v1.0.147 [INFO] [stderr] Downloaded cxx-build v1.0.80 [INFO] [stderr] Downloaded amiquip v0.4.2 [INFO] [stderr] Downloaded security-framework v2.7.0 [INFO] [stderr] Downloaded mio v0.6.23 [INFO] [stderr] Downloaded pest v2.4.0 [INFO] [stderr] Downloaded nom v4.2.3 [INFO] [stderr] Downloaded sqlx v0.6.3 [INFO] [stderr] Downloaded aho-corasick v0.7.19 [INFO] [stderr] Downloaded serde_json v1.0.87 [INFO] [stderr] Downloaded cxx v1.0.80 [INFO] [stderr] Downloaded chrono v0.4.24 [INFO] [stderr] Downloaded openssl v0.10.42 [INFO] [stderr] Downloaded sqlx-core v0.6.3 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded libc v0.2.137 [INFO] [stderr] Downloaded tokio v1.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894 [INFO] running `Command { std: "docker" "start" "b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling semver v1.0.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling pest v2.4.0 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling pest_meta v2.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling pest_generator v2.4.0 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling pest_derive v2.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling amq-protocol-types v1.2.0 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling cargo-lock v7.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Compiling built v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling uuid v1.3.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling whoami v1.4.0 [INFO] [stderr] Compiling async-trait v0.1.58 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling amiquip v0.4.2 [INFO] [stderr] Compiling snafu-derive v0.7.3 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling snafu v0.7.3 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling input_buffer v0.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling config v0.13.2 [INFO] [stderr] Compiling env_logger v0.9.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling serde-aux v4.0.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling sqlx v0.6.3 [INFO] [stderr] Compiling portalz-integrator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [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: `Connection` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use amiquip::{Connection, ConsumerMessage, ConsumerOptions, QueueDeclareOptions, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_configuration` [INFO] [stdout] --> src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::configuration::{get_configuration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExposeSecret` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use secrecy::{ExposeSecret}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let config = configuration::get_configuration().expect("Failed to read configuration."); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `database` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let database = database::open_connection() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `github` is never read [INFO] [stdout] --> src/configuration.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub github: GithubSettings, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/configuration.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct GithubSettings { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 38 | pub token: Secret, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GithubSettings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 5m 18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, openssl v0.10.42, sqlx-core v0.6.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling portalz-integrator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [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: `Connection` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use amiquip::{Connection, ConsumerMessage, ConsumerOptions, QueueDeclareOptions, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_configuration` [INFO] [stdout] --> src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::configuration::{get_configuration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExposeSecret` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use secrecy::{ExposeSecret}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let config = configuration::get_configuration().expect("Failed to read configuration."); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `database` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let database = database::open_connection() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `github` is never read [INFO] [stdout] --> src/configuration.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub github: GithubSettings, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/configuration.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct GithubSettings { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 38 | pub token: Secret, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GithubSettings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 3.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, openssl v0.10.42, sqlx-core v0.6.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::time::Instant` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Connection` [INFO] [stderr] --> src/main.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use amiquip::{Connection, ConsumerMessage, ConsumerOptions, QueueDeclareOptions, Result}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_configuration` [INFO] [stderr] --> src/main.rs:4:28 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::configuration::{get_configuration}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ExposeSecret` [INFO] [stderr] --> src/main.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use secrecy::{ExposeSecret}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let config = configuration::get_configuration().expect("Failed to read configuration."); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `database` [INFO] [stderr] --> src/main.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let database = database::open_connection() [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database` [INFO] [stderr] [INFO] [stderr] warning: field `github` is never read [INFO] [stderr] --> src/configuration.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Settings { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | pub github: GithubSettings, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Settings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `token` is never read [INFO] [stderr] --> src/configuration.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct GithubSettings { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 38 | pub token: Secret, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GithubSettings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `portalz-integrator` (bin "portalz-integrator" test) generated 9 warnings (run `cargo fix --bin "portalz-integrator" -p portalz-integrator --tests` to apply 7 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, openssl v0.10.42, sqlx-core v0.6.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/portalz_integrator-b71a6eeb40a7e73b) [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" "b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894", kill_on_drop: false }` [INFO] [stdout] b3b1c74998dc5f5bdac09d52159e705a3ddffab08c68a5a378bde296c7b03894