[INFO] fetching crate zero-trust-sdk 0.1.0... [INFO] testing zero-trust-sdk-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate zero-trust-sdk 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate zero-trust-sdk 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate zero-trust-sdk 0.1.0 [INFO] tweaked toml for crates.io crate zero-trust-sdk 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zero-trust-sdk 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zero-trust-sdk 0.1.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b614b0a2038265cf29e7371fc304f574474f8c8cb9a6c16df7627a7dc6ec667 [INFO] running `Command { std: "docker" "start" "-a" "1b614b0a2038265cf29e7371fc304f574474f8c8cb9a6c16df7627a7dc6ec667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b614b0a2038265cf29e7371fc304f574474f8c8cb9a6c16df7627a7dc6ec667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b614b0a2038265cf29e7371fc304f574474f8c8cb9a6c16df7627a7dc6ec667", kill_on_drop: false }` [INFO] [stdout] 1b614b0a2038265cf29e7371fc304f574474f8c8cb9a6c16df7627a7dc6ec667 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7b4ff76260a07d04771553cb350d039d4c5943bcf5c219c0ac0b6966d5cd745 [INFO] running `Command { std: "docker" "start" "-a" "c7b4ff76260a07d04771553cb350d039d4c5943bcf5c219c0ac0b6966d5cd745", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling indexmap v2.11.3 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling zero-trust-sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "c7b4ff76260a07d04771553cb350d039d4c5943bcf5c219c0ac0b6966d5cd745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b4ff76260a07d04771553cb350d039d4c5943bcf5c219c0ac0b6966d5cd745", kill_on_drop: false }` [INFO] [stdout] c7b4ff76260a07d04771553cb350d039d4c5943bcf5c219c0ac0b6966d5cd745 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ea010372cc6bb90626edbfaf20025b854d6f2e6737c88f07421fff266ded723 [INFO] running `Command { std: "docker" "start" "-a" "1ea010372cc6bb90626edbfaf20025b854d6f2e6737c88f07421fff266ded723", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling zero-trust-sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Matcher` [INFO] [stdout] --> src/auth.rs:397:19 [INFO] [stdout] | [INFO] [stdout] 397 | use mockito::{Matcher, Server}; [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: `std::time::Duration` [INFO] [stdout] --> src/auth.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matcher` [INFO] [stdout] --> src/client.rs:420:19 [INFO] [stdout] | [INFO] [stdout] 420 | use mockito::{Matcher, Server}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matcher` [INFO] [stdout] --> src/database.rs:635:19 [INFO] [stdout] | [INFO] [stdout] 635 | use mockito::{Matcher, Server}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matcher` [INFO] [stdout] --> src/sync.rs:774:19 [INFO] [stdout] | [INFO] [stdout] 774 | use mockito::{Matcher, Server}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "1ea010372cc6bb90626edbfaf20025b854d6f2e6737c88f07421fff266ded723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ea010372cc6bb90626edbfaf20025b854d6f2e6737c88f07421fff266ded723", kill_on_drop: false }` [INFO] [stdout] 1ea010372cc6bb90626edbfaf20025b854d6f2e6737c88f07421fff266ded723 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc79e0ab3ab9c0718f0d15f6a35f2d05ae6586de4282451e077182c99170945c [INFO] running `Command { std: "docker" "start" "-a" "cc79e0ab3ab9c0718f0d15f6a35f2d05ae6586de4282451e077182c99170945c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Matcher` [INFO] [stderr] --> src/auth.rs:397:19 [INFO] [stderr] | [INFO] [stderr] 397 | use mockito::{Matcher, Server}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/auth.rs:398:9 [INFO] [stderr] | [INFO] [stderr] 398 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Matcher` [INFO] [stderr] --> src/client.rs:420:19 [INFO] [stderr] | [INFO] [stderr] 420 | use mockito::{Matcher, Server}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Matcher` [INFO] [stderr] --> src/database.rs:635:19 [INFO] [stderr] | [INFO] [stderr] 635 | use mockito::{Matcher, Server}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Matcher` [INFO] [stderr] --> src/sync.rs:774:19 [INFO] [stderr] | [INFO] [stderr] 774 | use mockito::{Matcher, Server}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `zero-trust-sdk` (lib test) generated 5 warnings (run `cargo fix --lib -p zero-trust-sdk --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zero_trust_sdk-84cd4aa716855879) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test config::tests::test_config_builder ... ok [INFO] [stdout] test config::tests::test_config_creation ... ok [INFO] [stdout] test config::tests::test_invalid_url ... ok [INFO] [stdout] test config::tests::test_validation ... ok [INFO] [stdout] test error::tests::test_error_creation ... ok [INFO] [stdout] test types::tests::test_pagination_default ... ok [INFO] [stdout] test types::tests::test_query_options_default ... ok [INFO] [stdout] test types::tests::test_user_serialization ... ok [INFO] [stdout] test database::tests::test_query_execute ... ok [INFO] [stdout] test sync::tests::test_create_database_sync ... ok [INFO] [stdout] test client::tests::test_health_check ... ok [INFO] [stdout] test auth::tests::test_login_failure ... ok [INFO] [stdout] test sync::tests::test_list_syncs ... ok [INFO] [stdout] test auth::tests::test_login_success ... ok [INFO] [stdout] test client::tests::test_client_creation ... ok [INFO] [stdout] test database::tests::test_list_databases ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s [INFO] [stdout] [INFO] [stderr] Doc-tests zero_trust_sdk [INFO] [stdout] [INFO] [stdout] running 56 tests [INFO] [stdout] test src/client.rs - client::ZeroTrustClient::auth (line 175) - compile ... ok [INFO] [stdout] test src/auth.rs - auth::AuthManager::change_password (line 328) - compile ... ok [INFO] [stdout] test src/client.rs - client::ZeroTrustClient (line 27) - compile ... ok [INFO] [stdout] test src/client.rs - client::ZeroTrustClient::stats (line 304) - compile ... ok [INFO] [stdout] test src/client.rs - client::ZeroTrustClient::health (line 279) - compile ... ok [INFO] [stdout] test src/client.rs - client::ZeroTrustClient::migration (line 219) - compile ... ok [INFO] [stdout] test src/client.rs - client::ZeroTrustClient::new (line 71) - compile ... ok [INFO] [stdout] test src/auth.rs - auth::AuthManager::me (line 215) - compile ... ok [INFO] [stdout] test src/auth.rs - auth::AuthManager::login (line 37) - compile ... ok [INFO] [stdout] test src/client.rs - client::ZeroTrustClient::databases (line 197) - compile ... ok [INFO] [stdout] test src/auth.rs - auth::AuthManager::register (line 100) - compile ... ok [INFO] [stdout] test src/client.rs - client::ZeroTrustClient::set_token (line 340) - compile ... ok [INFO] [stdout] test src/auth.rs - auth::AuthManager::logout (line 167) - compile ... ok [INFO] [stdout] test src/client.rs - client::ZeroTrustClient::with_default_config (line 157) - compile ... ok [INFO] [stdout] test src/auth.rs - auth::AuthManager::refresh_token (line 267) - compile ... ok [INFO] [stdout] test src/config.rs - config::Config::save_default (line 296) - compile ... ok [INFO] [stdout] test src/config.rs - config::Config::save_to_file (line 241) - compile ... ok [INFO] [stdout] test src/config.rs - config::Config::load_default (line 276) - compile ... ok [INFO] [stdout] test src/config.rs - config::Config::from_file (line 216) - compile ... ok [INFO] [stdout] test src/client.rs - client::ZeroTrustClient::sync (line 249) - compile ... FAILED [INFO] [stdout] test src/database.rs - database::DatabaseManager::get (line 118) - compile ... ok [INFO] [stdout] test src/database.rs - database::DatabaseManager::delete (line 157) - compile ... ok [INFO] [stdout] test src/database.rs - database::DatabaseManager::create (line 73) - compile ... ok [INFO] [stdout] test src/database.rs - database::DatabaseManager::get_table (line 276) - compile ... ok [INFO] [stdout] test src/database.rs - database::DatabaseManager::list (line 32) - compile ... ok [INFO] [stdout] test src/database.rs - database::QueryBuilder::batch (line 538) - compile ... ok [INFO] [stdout] test src/database.rs - database::DatabaseManager::list_tables (line 229) - compile ... ok [INFO] [stdout] test src/database.rs - database::DatabaseManager::query (line 195) - compile ... ok [INFO] [stdout] test src/database.rs - database::QueryBuilder::execute (line 476) - compile ... ok [INFO] [stdout] test src/database.rs - database::QueryBuilder::timeout (line 414) - compile ... ok [INFO] [stdout] test src/database.rs - database::QueryBuilder::max_rows (line 383) - compile ... ok [INFO] [stdout] test src/database.rs - database::QueryBuilder::include_meta (line 441) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 15) - compile ... ok [INFO] [stdout] test src/migration.rs - migration::MigrationManager::export_csv (line 104) - compile ... ok [INFO] [stdout] test src/migration.rs - migration::MigrationManager::export_json (line 138) - compile ... ok [INFO] [stdout] test src/migration.rs - migration::MigrationManager::cancel (line 256) - compile ... ok [INFO] [stdout] test src/migration.rs - migration::MigrationManager::import_csv (line 38) - compile ... ok [INFO] [stdout] test src/migration.rs - migration::MigrationManager::list (line 215) - compile ... ok [INFO] [stdout] test src/sync.rs - sync::SyncManager::delete (line 297) - compile ... ok [INFO] [stdout] test src/migration.rs - migration::MigrationManager::status (line 174) - compile ... ok [INFO] [stdout] test src/migration.rs - migration::MigrationManager::import_json (line 72) - compile ... ok [INFO] [stdout] test src/sync.rs - sync::SyncManager::from_api (line 72) - compile ... ok [INFO] [stdout] test src/sync.rs - sync::SyncManager::get (line 182) - compile ... ok [INFO] [stdout] test src/sync.rs - sync::SyncManager::start (line 221) - compile ... ok [INFO] [stdout] test src/sync.rs - sync::SyncManager::from_csv (line 106) - compile ... ok [INFO] [stdout] test src/sync.rs - sync::SyncManager::from_database (line 38) - compile ... ok [INFO] [stdout] test src/sync.rs - sync::SyncManager::stop (line 259) - compile ... ok [INFO] [stdout] test src/sync.rs - sync::SyncManager::trigger (line 335) - compile ... ok [INFO] [stdout] test src/sync.rs - sync::SyncManager::list (line 140) - compile ... ok [INFO] [stdout] test src/config.rs - config::Config::with_token (line 75) ... ok [INFO] [stdout] test src/config.rs - config::Config::new (line 48) ... ok [INFO] [stdout] test src/config.rs - config::Config::with_user_agent (line 136) ... ok [INFO] [stdout] test src/config.rs - config::Config::with_timeout (line 95) ... ok [INFO] [stdout] test src/config.rs - config::Config::with_max_retries (line 116) ... ok [INFO] [stdout] test src/config.rs - config::Config::disable_ssl_verification (line 152) ... ok [INFO] [stdout] test src/config.rs - config::Config::from_env (line 174) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client::ZeroTrustClient::sync (line 249) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/client.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | .with_interval(Duration::from_secs(300)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 251 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 251 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 251 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client::ZeroTrustClient::sync (line 249) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 55 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.05s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cc79e0ab3ab9c0718f0d15f6a35f2d05ae6586de4282451e077182c99170945c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc79e0ab3ab9c0718f0d15f6a35f2d05ae6586de4282451e077182c99170945c", kill_on_drop: false }` [INFO] [stdout] cc79e0ab3ab9c0718f0d15f6a35f2d05ae6586de4282451e077182c99170945c