[INFO] cloning repository https://github.com/myg133/o2cas-adapter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/myg133/o2cas-adapter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyg133%2Fo2cas-adapter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyg133%2Fo2cas-adapter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6177f1435ff3c155055966be83525dc36cc3839c [INFO] building myg133/o2cas-adapter against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyg133%2Fo2cas-adapter" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/myg133/o2cas-adapter [INFO] finished tweaking git repo https://github.com/myg133/o2cas-adapter [INFO] tweaked toml for git repo https://github.com/myg133/o2cas-adapter written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/myg133/o2cas-adapter on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/myg133/o2cas-adapter 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded pest_derive v2.8.1 [INFO] [stderr] Downloaded colored v3.0.0 [INFO] [stderr] Downloaded pest_generator v2.8.1 [INFO] [stderr] Downloaded simple_asn1 v0.6.3 [INFO] [stderr] Downloaded pest_meta v2.8.1 [INFO] [stderr] Downloaded toml_parser v1.0.1 [INFO] [stderr] Downloaded toml v0.9.4 [INFO] [stderr] Downloaded h2 v0.4.11 [INFO] [stderr] Downloaded mockito v1.7.0 [INFO] [stderr] Downloaded pest v2.8.1 [INFO] [stderr] Downloaded roxmltree v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 314ef158ac4fafc246e8b73d136f17f79e1e757ed921fcc3d7aa460424b553d0 [INFO] running `Command { std: "docker" "start" "-a" "314ef158ac4fafc246e8b73d136f17f79e1e757ed921fcc3d7aa460424b553d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "314ef158ac4fafc246e8b73d136f17f79e1e757ed921fcc3d7aa460424b553d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "314ef158ac4fafc246e8b73d136f17f79e1e757ed921fcc3d7aa460424b553d0", kill_on_drop: false }` [INFO] [stdout] 314ef158ac4fafc246e8b73d136f17f79e1e757ed921fcc3d7aa460424b553d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a321af2b3f1f62bfb0b7e5cd033f2fcec788be84f8be05950cce837d3733270 [INFO] running `Command { std: "docker" "start" "-a" "3a321af2b3f1f62bfb0b7e5cd033f2fcec788be84f8be05950cce837d3733270", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling toml_parser v1.0.1 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling toml v0.9.4 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling o2a-adapter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/oauth2_handler.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | State(config): State>, [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: field `expiration` is never read [INFO] [stdout] --> src/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct JWTConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 25 | pub secret: String, [INFO] [stdout] 26 | pub expiration: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JWTConfig` has derived impls for the traits `Clone` and `Debug`, but these are 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: variant `OAuth2Error` is never constructed [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 8 | ConfigLoadError(String), [INFO] [stdout] 9 | OAuth2Error(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grant_type` is never read [INFO] [stdout] --> src/oauth2_handler.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct TokenRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 234 | code: String, [INFO] [stdout] 235 | grant_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserInfo` is never constructed [INFO] [stdout] --> src/oauth2_handler.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct UserInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 54s [INFO] running `Command { std: "docker" "inspect" "3a321af2b3f1f62bfb0b7e5cd033f2fcec788be84f8be05950cce837d3733270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a321af2b3f1f62bfb0b7e5cd033f2fcec788be84f8be05950cce837d3733270", kill_on_drop: false }` [INFO] [stdout] 3a321af2b3f1f62bfb0b7e5cd033f2fcec788be84f8be05950cce837d3733270 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1639f97fee691d17554fbe63fe97ec7babe0d999db70cd7e8fa3d858a583754b [INFO] running `Command { std: "docker" "start" "-a" "1639f97fee691d17554fbe63fe97ec7babe0d999db70cd7e8fa3d858a583754b", kill_on_drop: false }` [INFO] [stderr] Compiling o2a-adapter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/oauth2_handler.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | State(config): State>, [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: field `expiration` is never read [INFO] [stdout] --> src/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct JWTConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 25 | pub secret: String, [INFO] [stdout] 26 | pub expiration: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JWTConfig` has derived impls for the traits `Clone` and `Debug`, but these are 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: variant `OAuth2Error` is never constructed [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 8 | ConfigLoadError(String), [INFO] [stdout] 9 | OAuth2Error(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grant_type` is never read [INFO] [stdout] --> src/oauth2_handler.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct TokenRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 234 | code: String, [INFO] [stdout] 235 | grant_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserInfo` is never constructed [INFO] [stdout] --> src/oauth2_handler.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct UserInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.40s [INFO] running `Command { std: "docker" "inspect" "1639f97fee691d17554fbe63fe97ec7babe0d999db70cd7e8fa3d858a583754b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1639f97fee691d17554fbe63fe97ec7babe0d999db70cd7e8fa3d858a583754b", kill_on_drop: false }` [INFO] [stdout] 1639f97fee691d17554fbe63fe97ec7babe0d999db70cd7e8fa3d858a583754b