[INFO] cloning repository https://github.com/hhertout/rs_auth_ms_boilerplate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hhertout/rs_auth_ms_boilerplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhhertout%2Frs_auth_ms_boilerplate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhhertout%2Frs_auth_ms_boilerplate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5f1cbb218799bdd9b34f4904d6263e0ef3ff3a9 [INFO] testing hhertout/rs_auth_ms_boilerplate against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhhertout%2Frs_auth_ms_boilerplate" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hhertout/rs_auth_ms_boilerplate on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hhertout/rs_auth_ms_boilerplate [INFO] finished tweaking git repo https://github.com/hhertout/rs_auth_ms_boilerplate [INFO] tweaked toml for git repo https://github.com/hhertout/rs_auth_ms_boilerplate written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hhertout/rs_auth_ms_boilerplate 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d4c7295449084b5e51c3bca9991ebfb868a0ecc9d362c89384857c766ff3aec [INFO] running `Command { std: "docker" "start" "-a" "1d4c7295449084b5e51c3bca9991ebfb868a0ecc9d362c89384857c766ff3aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d4c7295449084b5e51c3bca9991ebfb868a0ecc9d362c89384857c766ff3aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d4c7295449084b5e51c3bca9991ebfb868a0ecc9d362c89384857c766ff3aec", kill_on_drop: false }` [INFO] [stdout] 1d4c7295449084b5e51c3bca9991ebfb868a0ecc9d362c89384857c766ff3aec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e82556841fd0063dedb189078658f09e3e233e8ca988eafcab41ee941415b60c [INFO] running `Command { std: "docker" "start" "-a" "e82556841fd0063dedb189078658f09e3e233e8ca988eafcab41ee941415b60c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.10 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Compiling axum-core v0.4.2 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling axum v0.7.3 [INFO] [stderr] Compiling cookie v0.18.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling pem v3.0.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling argon2 v0.5.2 [INFO] [stderr] Compiling tower-http v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.0 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling hyper-util v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling jsonwebtoken v9.2.0 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling sqlx-core v0.7.3 [INFO] [stderr] Compiling sqlx-postgres v0.7.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Compiling sqlx v0.7.3 [INFO] [stderr] Compiling auth_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from_role` is never used [INFO] [stdout] --> src/services/access_control.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait GrantAccess { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] 14 | fn from_role(role: Vec, granted_roles: Vec) -> Authorization; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 24s [INFO] running `Command { std: "docker" "inspect" "e82556841fd0063dedb189078658f09e3e233e8ca988eafcab41ee941415b60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e82556841fd0063dedb189078658f09e3e233e8ca988eafcab41ee941415b60c", kill_on_drop: false }` [INFO] [stdout] e82556841fd0063dedb189078658f09e3e233e8ca988eafcab41ee941415b60c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a360cd2c5a38328a57dd2cd06f429f0f1d03c2b95a3391aec9b7b279ff39aea [INFO] running `Command { std: "docker" "start" "-a" "0a360cd2c5a38328a57dd2cd06f429f0f1d03c2b95a3391aec9b7b279ff39aea", kill_on_drop: false }` [INFO] [stderr] Compiling auth_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from_role` is never used [INFO] [stdout] --> src/services/access_control.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait GrantAccess { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] 14 | fn from_role(role: Vec, granted_roles: Vec) -> Authorization; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_role` is never used [INFO] [stdout] --> src/services/access_control.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait GrantAccess { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] 14 | fn from_role(role: Vec, granted_roles: Vec) -> Authorization; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.00s [INFO] running `Command { std: "docker" "inspect" "0a360cd2c5a38328a57dd2cd06f429f0f1d03c2b95a3391aec9b7b279ff39aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a360cd2c5a38328a57dd2cd06f429f0f1d03c2b95a3391aec9b7b279ff39aea", kill_on_drop: false }` [INFO] [stdout] 0a360cd2c5a38328a57dd2cd06f429f0f1d03c2b95a3391aec9b7b279ff39aea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e001e2e0e4f7407877c9d0d216fa649b11720d3d12b7b56b4bfa76d646a73963 [INFO] running `Command { std: "docker" "start" "-a" "e001e2e0e4f7407877c9d0d216fa649b11720d3d12b7b56b4bfa76d646a73963", kill_on_drop: false }` [INFO] [stderr] warning: associated function `from_role` is never used [INFO] [stderr] --> src/services/access_control.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub trait GrantAccess { [INFO] [stderr] | ----------- associated function in this trait [INFO] [stderr] 14 | fn from_role(role: Vec, granted_roles: Vec) -> Authorization; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `auth_api` (bin "auth_api" test) generated 1 warning [INFO] [stderr] warning: `auth_api` (bin "auth_api") generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/auth_api-574ce58f7e423e18) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/auth_api-b2f9a0404816cc9c) [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] [stderr] Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-da204b69e95ffb29) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test specs::csrf_test::test_generate_csrf_token_error ... ok [INFO] [stdout] test integration::test ... ok [INFO] [stdout] test specs::csrf_test::test_generate_csrf_token ... ok [INFO] [stdout] test specs::csrf_test::test_generate_csrf_token_consistency ... ok [INFO] [stdout] test e2e::test ... ok [INFO] [stdout] test specs::hash_test::test_check_password_invalid_hash ... ok [INFO] [stdout] test specs::hash_test::test_hash_password_empty ... ok [INFO] [stdout] test specs::jwt_test::test_generate_jwt_empty_email ... ok [INFO] [stdout] test specs::hash_test::test_hash_password_random ... ok [INFO] [stdout] test specs::jwt_test::test_generate_jwt_success ... ok [INFO] [stdout] test specs::hash_test::test_check_password_empty ... ok [INFO] [stdout] test specs::jwt_test::test_verify_jwt_empty_token ... ok [INFO] [stdout] test specs::jwt_test::test_verify_jwt_invalid_secret ... ok [INFO] [stdout] test specs::jwt_test::test_verify_jwt_success ... ok [INFO] [stdout] test specs::role::test_from_str_invalid ... ok [INFO] [stdout] test specs::role::test_from_str_valid ... ok [INFO] [stdout] test specs::role::test_to_str ... ok [INFO] [stdout] test specs::hash_test::test_check_password_not_matching ... ok [INFO] [stdout] test specs::role::test_display ... ok [INFO] [stdout] test specs::hash_test::test_hash_password_success ... ok [INFO] [stdout] test specs::test ... ok [INFO] [stdout] test specs::jwt_test::test_generate_jwt_missing_secret - should panic ... ok [INFO] [stdout] test specs::access_control_test::verify_from_role_test - should panic ... ok [INFO] [stdout] test specs::hash_test::test_check_password_matching ... ok [INFO] [stderr] Doc-tests auth_api [INFO] [stdout] test specs::csrf_test::test_generate_csrf_token_with_different_timestamps ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.82s [INFO] [stdout] [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" "e001e2e0e4f7407877c9d0d216fa649b11720d3d12b7b56b4bfa76d646a73963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e001e2e0e4f7407877c9d0d216fa649b11720d3d12b7b56b4bfa76d646a73963", kill_on_drop: false }` [INFO] [stdout] e001e2e0e4f7407877c9d0d216fa649b11720d3d12b7b56b4bfa76d646a73963 [INFO] testing hhertout/rs_auth_ms_boilerplate against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhhertout%2Frs_auth_ms_boilerplate" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hhertout/rs_auth_ms_boilerplate on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hhertout/rs_auth_ms_boilerplate [INFO] finished tweaking git repo https://github.com/hhertout/rs_auth_ms_boilerplate [INFO] tweaked toml for git repo https://github.com/hhertout/rs_auth_ms_boilerplate written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hhertout/rs_auth_ms_boilerplate 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48aa3453b5b38fbbfdb52f4389aa76f180ccc51e9a18d615342e376a2be2e7dd [INFO] running `Command { std: "docker" "start" "-a" "48aa3453b5b38fbbfdb52f4389aa76f180ccc51e9a18d615342e376a2be2e7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48aa3453b5b38fbbfdb52f4389aa76f180ccc51e9a18d615342e376a2be2e7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48aa3453b5b38fbbfdb52f4389aa76f180ccc51e9a18d615342e376a2be2e7dd", kill_on_drop: false }` [INFO] [stdout] 48aa3453b5b38fbbfdb52f4389aa76f180ccc51e9a18d615342e376a2be2e7dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd84ea5c4425e2888217a655b912644d7d2f39c193ba7d1cbc4354a22c5a46dd [INFO] running `Command { std: "docker" "start" "-a" "bd84ea5c4425e2888217a655b912644d7d2f39c193ba7d1cbc4354a22c5a46dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.10 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling axum-core v0.4.2 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling axum v0.7.3 [INFO] [stderr] Compiling cookie v0.18.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling pem v3.0.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling argon2 v0.5.2 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling tower-http v0.5.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.4.0 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling sqlx-core v0.7.3 [INFO] [stderr] Compiling jsonwebtoken v9.2.0 [INFO] [stderr] Compiling sqlx-postgres v0.7.3 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling hyper-util v0.1.2 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Compiling sqlx v0.7.3 [INFO] [stderr] Compiling auth_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from_role` is never used [INFO] [stdout] --> src/services/access_control.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait GrantAccess { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] 14 | fn from_role(role: Vec, granted_roles: Vec) -> Authorization; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7m 07s [INFO] running `Command { std: "docker" "inspect" "bd84ea5c4425e2888217a655b912644d7d2f39c193ba7d1cbc4354a22c5a46dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd84ea5c4425e2888217a655b912644d7d2f39c193ba7d1cbc4354a22c5a46dd", kill_on_drop: false }` [INFO] [stdout] bd84ea5c4425e2888217a655b912644d7d2f39c193ba7d1cbc4354a22c5a46dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b0b7f6dc18dee8cffad5c37d175313f55b5f3cb6fe9308d78052bf53185ff68 [INFO] running `Command { std: "docker" "start" "-a" "0b0b7f6dc18dee8cffad5c37d175313f55b5f3cb6fe9308d78052bf53185ff68", kill_on_drop: false }` [INFO] [stderr] Compiling auth_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from_role` is never used [INFO] [stdout] --> src/services/access_control.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait GrantAccess { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] 14 | fn from_role(role: Vec, granted_roles: Vec) -> Authorization; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_role` is never used [INFO] [stdout] --> src/services/access_control.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait GrantAccess { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] 14 | fn from_role(role: Vec, granted_roles: Vec) -> Authorization; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] running `Command { std: "docker" "inspect" "0b0b7f6dc18dee8cffad5c37d175313f55b5f3cb6fe9308d78052bf53185ff68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b0b7f6dc18dee8cffad5c37d175313f55b5f3cb6fe9308d78052bf53185ff68", kill_on_drop: false }` [INFO] [stdout] 0b0b7f6dc18dee8cffad5c37d175313f55b5f3cb6fe9308d78052bf53185ff68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7649048c6b2b8ee556dfa6707336da96c821724698c8b158977d19ed947087be [INFO] running `Command { std: "docker" "start" "-a" "7649048c6b2b8ee556dfa6707336da96c821724698c8b158977d19ed947087be", kill_on_drop: false }` [INFO] [stderr] warning: associated function `from_role` is never used [INFO] [stderr] --> src/services/access_control.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub trait GrantAccess { [INFO] [stderr] | ----------- associated function in this trait [INFO] [stderr] 14 | fn from_role(role: Vec, granted_roles: Vec) -> Authorization; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `auth_api` (bin "auth_api") generated 1 warning [INFO] [stderr] warning: `auth_api` (bin "auth_api" test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/auth_api-574ce58f7e423e18) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/auth_api-b2f9a0404816cc9c) [INFO] [stdout] [INFO] [stderr] Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-da204b69e95ffb29) [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] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test e2e::test ... ok [INFO] [stdout] test integration::test ... ok [INFO] [stdout] test specs::csrf_test::test_generate_csrf_token_error ... ok [INFO] [stdout] test specs::hash_test::test_check_password_invalid_hash ... ok [INFO] [stdout] test specs::csrf_test::test_generate_csrf_token_consistency ... ok [INFO] [stdout] test specs::csrf_test::test_generate_csrf_token ... ok [INFO] [stdout] test specs::hash_test::test_hash_password_empty ... ok [INFO] [stdout] test specs::jwt_test::test_generate_jwt_empty_email ... ok [INFO] [stdout] test specs::hash_test::test_hash_password_random ... ok [INFO] [stdout] test specs::jwt_test::test_generate_jwt_success ... ok [INFO] [stdout] test specs::jwt_test::test_verify_jwt_empty_token ... ok [INFO] [stdout] test specs::hash_test::test_check_password_matching ... ok [INFO] [stdout] test specs::jwt_test::test_verify_jwt_invalid_secret ... ok [INFO] [stdout] test specs::hash_test::test_check_password_empty ... ok [INFO] [stdout] test specs::hash_test::test_hash_password_success ... ok [INFO] [stdout] test specs::jwt_test::test_verify_jwt_success ... ok [INFO] [stdout] test specs::role::test_from_str_invalid ... ok [INFO] [stdout] test specs::role::test_to_str ... ok [INFO] [stdout] test specs::role::test_display ... ok [INFO] [stdout] test specs::test ... ok [INFO] [stdout] test specs::role::test_from_str_valid ... ok [INFO] [stdout] test specs::hash_test::test_check_password_not_matching ... ok [INFO] [stdout] test specs::access_control_test::verify_from_role_test - should panic ... ok [INFO] [stdout] test specs::jwt_test::test_generate_jwt_missing_secret - should panic ... ok [INFO] [stdout] test specs::csrf_test::test_generate_csrf_token_with_different_timestamps ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- specs::csrf_test::test_generate_csrf_token_with_different_timestamps stdout ---- [INFO] [stdout] thread 'specs::csrf_test::test_generate_csrf_token_with_different_timestamps' panicked at tests/specs/csrf_test.rs:26:5: [INFO] [stdout] assertion `left != right` failed [INFO] [stdout] left: "75637ec534c87270fc8b4d1b039422f24a3985dbb7aad6c38f98fdca52e2eaab" [INFO] [stdout] right: "75637ec534c87270fc8b4d1b039422f24a3985dbb7aad6c38f98fdca52e2eaab" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x558ab44a2ed6 - std::backtrace_rs::backtrace::libunwind::trace::hbf3981e6c8a62f19 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x558ab44a2ed6 - std::backtrace_rs::backtrace::trace_unsynchronized::h5d13053d67c404cc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x558ab44a2ed6 - std::sys_common::backtrace::_print_fmt::hd24dc5b701eaf8ad [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x558ab44a2ed6 - ::fmt::h1d0155c7c5a7d116 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x558ab44cb33c - core::fmt::rt::Argument::fmt::h462c7a4781d69908 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x558ab44cb33c - core::fmt::write::h3cadc3d0c35667c3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x558ab44a054f - std::io::Write::write_fmt::h7b46babfe8aff3fc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x558ab44a2c84 - std::sys_common::backtrace::_print::h21e0ad4a03aa55df [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x558ab44a2c84 - std::sys_common::backtrace::print::hb7cfd89cda9bdca7 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x558ab44a497b - std::panicking::default_hook::{{closure}}::hceb0cad555a61bc8 [INFO] [stdout] 10: 0x558ab44a464d - std::panicking::default_hook::h00eb745c4c12778b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x558ab4403c27 - as core::ops::function::Fn>::call::h6a7083dbc9bd7b5f [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x558ab4403c27 - test::test_main::{{closure}}::h4db87ac2515c25e3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x558ab44a4fb0 - as core::ops::function::Fn>::call::hf3b7bc2e2257730b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x558ab44a4fb0 - std::panicking::rust_panic_with_hook::hccddb3269d601551 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x558ab44a4cf2 - std::panicking::begin_panic_handler::{{closure}}::h1759cdf989495c64 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:660:13 [INFO] [stdout] 16: 0x558ab44a33b6 - std::sys_common::backtrace::__rust_end_short_backtrace::h209794238b4d13a4 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x558ab44a4a24 - rust_begin_unwind [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x558ab43ccc35 - core::panicking::panic_fmt::ha17ebef8fbaa0a3e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x558ab43ccf7b - core::panicking::assert_failed_inner::ha58dcb02ce0b2e95 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:342:17 [INFO] [stdout] 20: 0x558ab43c618f - core::panicking::assert_failed::h76cfae053de9f273 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:297:5 [INFO] [stdout] 21: 0x558ab43cd745 - mod::specs::csrf_test::test_generate_csrf_token_with_different_timestamps::hf0cb6f49fda62c3b [INFO] [stdout] at /opt/rustwide/workdir/tests/specs/csrf_test.rs:26:5 [INFO] [stdout] 22: 0x558ab43ce8f9 - mod::specs::csrf_test::test_generate_csrf_token_with_different_timestamps::{{closure}}::h41ca675e95514f22 [INFO] [stdout] at /opt/rustwide/workdir/tests/specs/csrf_test.rs:16:56 [INFO] [stdout] 23: 0x558ab43ce8f9 - core::ops::function::FnOnce::call_once::hd9f0de8f2debde7c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x558ab440942f - core::ops::function::FnOnce::call_once::hb293dddd1a0c8d0c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x558ab440942f - test::__rust_begin_short_backtrace::hcc33cf50a0d42744 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:620:18 [INFO] [stdout] 26: 0x558ab4407fa0 - test::run_test_in_process::{{closure}}::h1a67b8b225cf5559 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:60 [INFO] [stdout] 27: 0x558ab4407fa0 - as core::ops::function::FnOnce<()>>::call_once::h6c8366f6b1a529d0 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x558ab4407fa0 - std::panicking::try::do_call::h3ac771f4eea356d5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 29: 0x558ab4407fa0 - std::panicking::try::h2b1799e4f57e5bcf [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 30: 0x558ab4407fa0 - std::panic::catch_unwind::h0a3cc3fea72ac271 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x558ab4407fa0 - test::run_test_in_process::h47356101e0c4cc43 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:27 [INFO] [stdout] 32: 0x558ab4407fa0 - test::run_test::{{closure}}::hfc86d13e98ee1936 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:566:43 [INFO] [stdout] 33: 0x558ab43d02e3 - test::run_test::{{closure}}::h077c30ad86447616 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:594:41 [INFO] [stdout] 34: 0x558ab43d02e3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7a0647371687c548 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 35: 0x558ab43d4f7f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h0ade0df8a561803e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 36: 0x558ab43d4f7f - as core::ops::function::FnOnce<()>>::call_once::h94e6781319385c1d [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x558ab43d4f7f - std::panicking::try::do_call::h2d8e7d2812ed142e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 38: 0x558ab43d4f7f - std::panicking::try::hfec8a6adb9bfcaea [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 39: 0x558ab43d4f7f - std::panic::catch_unwind::hf488fb91a41eb5b5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x558ab43d4f7f - std::thread::Builder::spawn_unchecked_::{{closure}}::h306975a3cadd5153 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 41: 0x558ab43d4f7f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4f4ed26f27d558ae [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x558ab44a9805 - as core::ops::function::FnOnce>::call_once::h17d6fdbdde1f730c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 43: 0x558ab44a9805 - as core::ops::function::FnOnce>::call_once::h298d88b0d0cf4d06 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 44: 0x558ab44a9805 - std::sys::pal::unix::thread::Thread::new::thread_start::h1ecd97591626fa72 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fa585a8bac3 - [INFO] [stdout] 46: 0x7fa585b1cbf4 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] specs::csrf_test::test_generate_csrf_token_with_different_timestamps [INFO] [stdout] [INFO] [stdout] test result: FAILED. 24 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.82s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test mod` [INFO] running `Command { std: "docker" "inspect" "7649048c6b2b8ee556dfa6707336da96c821724698c8b158977d19ed947087be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7649048c6b2b8ee556dfa6707336da96c821724698c8b158977d19ed947087be", kill_on_drop: false }` [INFO] [stdout] 7649048c6b2b8ee556dfa6707336da96c821724698c8b158977d19ed947087be