[INFO] cloning repository https://github.com/tbro/votingapp-rest-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tbro/votingapp-rest-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbro%2Fvotingapp-rest-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbro%2Fvotingapp-rest-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6888d4b625547cec2d4167c4213f4ec3e1266bfb
[INFO] testing tbro/votingapp-rest-api against beta-2024-12-08 for beta-1.84.0-4-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbro%2Fvotingapp-rest-api" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tbro/votingapp-rest-api on toolchain beta-2024-12-08
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tbro/votingapp-rest-api
[INFO] finished tweaking git repo https://github.com/tbro/votingapp-rest-api
[INFO] tweaked toml for git repo https://github.com/tbro/votingapp-rest-api written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/tbro/votingapp-rest-api 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" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc8469b64d33cd5ace0c99e409d0cf9d38b16fc0d5dd123cd7f32d80e46838ca
[INFO] running `Command { std: "docker" "start" "-a" "fc8469b64d33cd5ace0c99e409d0cf9d38b16fc0d5dd123cd7f32d80e46838ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc8469b64d33cd5ace0c99e409d0cf9d38b16fc0d5dd123cd7f32d80e46838ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc8469b64d33cd5ace0c99e409d0cf9d38b16fc0d5dd123cd7f32d80e46838ca", kill_on_drop: false }`
[INFO] [stdout] fc8469b64d33cd5ace0c99e409d0cf9d38b16fc0d5dd123cd7f32d80e46838ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d7ab17dcb71fef49c4860836c86eb0bbc6a7ad6619e0035c98d5fcfcc459e933
[INFO] running `Command { std: "docker" "start" "-a" "d7ab17dcb71fef49c4860836c86eb0bbc6a7ad6619e0035c98d5fcfcc459e933", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.116
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling zeroize v1.5.7
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling lock_api v0.4.6
[INFO] [stderr]    Compiling base64ct v1.5.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling const-oid v0.9.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling nom v7.1.0
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling pem-rfc7468 v0.6.0
[INFO] [stderr]    Compiling futures-sink v0.3.19
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling der v0.6.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling getrandom v0.2.4
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling num_threads v0.1.3
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling ff v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling time-macros v0.2.3
[INFO] [stderr]    Compiling group v0.12.1
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling futures-channel v0.3.19
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling crc32fast v1.3.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling crypto-bigint v0.4.9
[INFO] [stderr]    Compiling rusticata-macros v4.1.0
[INFO] [stderr]    Compiling sec1 v0.3.0
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling serde_json v1.0.93
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling rustls v0.20.6
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling keccak v0.1.3
[INFO] [stderr]    Compiling oid-registry v0.6.0
[INFO] [stderr]    Compiling time v0.3.7
[INFO] [stderr]    Compiling sha3 v0.10.6
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling buf_redux v0.8.4
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling elliptic-curve v0.12.3
[INFO] [stderr]    Compiling rfc6979 v0.3.1
[INFO] [stderr]    Compiling twoway v0.1.8
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling anyhow v1.0.53
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling ecdsa v0.14.8
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling headers v0.3.6
[INFO] [stderr]    Compiling multipart v0.18.0
[INFO] [stderr]    Compiling flate2 v1.0.22
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling ripemd v0.1.3
[INFO] [stderr]    Compiling spki v0.6.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling k256 v0.11.6
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling chunked_transfer v1.4.0
[INFO] [stderr]    Compiling data-encoding v2.3.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling pkcs8 v0.9.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling webpki-roots v0.22.2
[INFO] [stderr]    Compiling bip32 v0.4.0
[INFO] [stderr]    Compiling rustls v0.19.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling asn1-rs-impl v0.1.0
[INFO] [stderr]    Compiling asn1-rs-derive v0.4.0
[INFO] [stderr]    Compiling displaydoc v0.2.3
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling tokio v1.16.1
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling asn1-rs v0.5.1
[INFO] [stderr]    Compiling tungstenite v0.14.0
[INFO] [stderr]    Compiling serde_qs v0.10.1
[INFO] [stderr]    Compiling ureq v2.4.0
[INFO] [stderr]    Compiling der-parser v8.1.0
[INFO] [stderr]    Compiling x509-parser v0.14.0
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-stream v0.1.8
[INFO] [stderr]    Compiling tokio-rustls v0.22.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.15.0
[INFO] [stderr]    Compiling h2 v0.3.11
[INFO] [stderr]    Compiling hyper v0.14.16
[INFO] [stderr]    Compiling warp v0.3.2
[INFO] [stderr]    Compiling rest-api v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `root_fingerprint` and `inter_fingerprint` are never read
[INFO] [stdout]   --> src/certs.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct CertStore {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub root_fingerprint: Option<Vec<u8>>, // will be set at application startup
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     /// fingerprint of intermediate certificate
[INFO] [stdout] 17 |     pub inter_fingerprint: Option<Vec<u8>>, // will be set at application startup
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CertStore` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_all` is never used
[INFO] [stdout]   --> src/certs.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl CertStore {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn get_all(&self) -> Result<Vec<X509Certificate>> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `allow_origin` is never read
[INFO] [stdout]   --> src/config.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct Config {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub allow_origin: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `signing_cert` is never read
[INFO] [stdout]   --> src/http_signer.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct HttpSigner {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 76 |     signing_cert: Arc<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpSigner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `agent` is never read
[INFO] [stdout]   --> src/service.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Service {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 9  |     pub config: Arc<Config>,
[INFO] [stdout] 10 |     pub agent: Agent,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Service` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 49s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "d7ab17dcb71fef49c4860836c86eb0bbc6a7ad6619e0035c98d5fcfcc459e933", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7ab17dcb71fef49c4860836c86eb0bbc6a7ad6619e0035c98d5fcfcc459e933", kill_on_drop: false }`
[INFO] [stdout] d7ab17dcb71fef49c4860836c86eb0bbc6a7ad6619e0035c98d5fcfcc459e933
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c3bd4129cbf7b78ba53e6ae50ad916fad94a7183f5db81db7c2d12f22f95332e
[INFO] running `Command { std: "docker" "start" "-a" "c3bd4129cbf7b78ba53e6ae50ad916fad94a7183f5db81db7c2d12f22f95332e", kill_on_drop: false }`
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]    Compiling pretty_assertions v1.1.0
[INFO] [stderr]    Compiling rest-api v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `state_value`
[INFO] [stdout]    --> src/sawtooth/filters.rs:128:13
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let state_value = warp::test::request()
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expected`
[INFO] [stdout]    --> src/sawtooth/filters.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let expected = [svc.config.backend_url.as_str(), query.as_str()].concat();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_statuses_value`
[INFO] [stdout]    --> src/sawtooth/filters.rs:150:13
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let batch_statuses_value = warp::test::request()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_statuses_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expected`
[INFO] [stdout]    --> src/sawtooth/filters.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let expected = [svc.config.backend_url.as_str(), query.as_str()].concat();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state_value`
[INFO] [stdout]    --> src/sawtooth/filters.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let state_value = warp::test::request()
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expected`
[INFO] [stdout]    --> src/sawtooth/filters.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let expected = [svc.config.backend_url.as_str(), query.as_str()].concat();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `root_fingerprint` and `inter_fingerprint` are never read
[INFO] [stdout]   --> src/certs.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct CertStore {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub root_fingerprint: Option<Vec<u8>>, // will be set at application startup
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     /// fingerprint of intermediate certificate
[INFO] [stdout] 17 |     pub inter_fingerprint: Option<Vec<u8>>, // will be set at application startup
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CertStore` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `allow_origin` is never read
[INFO] [stdout]   --> src/config.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct Config {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub allow_origin: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `signing_cert` is never read
[INFO] [stdout]   --> src/http_signer.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct HttpSigner {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 76 |     signing_cert: Arc<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpSigner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EXPECTED_STATE` is never used
[INFO] [stdout]    --> src/response.rs:177:11
[INFO] [stdout]     |
[INFO] [stdout] 177 |     const EXPECTED_STATE: &str = "\nd\n\u{1e}sawtooth.identity.allowed_keys\u{12}B0330511061884952157134400c75f8385a516649c5ea504e9c9bb46...
[INFO] [stdout]     |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UPSTREAM_DATA_SIMPLE` is never used
[INFO] [stdout]    --> src/response.rs:179:11
[INFO] [stdout]     |
[INFO] [stdout] 179 |     const UPSTREAM_DATA_SIMPLE: &str = r##"{
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `CVR_KEY` is never used
[INFO] [stdout]    --> src/sawtooth/filters.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 |     static CVR_KEY: &str = "xpub6A8xBrTys98jLevnXUgN2YfjuzX36E5pfjQQT8PfZtJ7JY2noYDXVYQyqtJhUJJS9ezC6uaUZ5iWAJMBddKBHouKa7omUW6BdV4R9g6qL...
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `agent` is never read
[INFO] [stdout]   --> src/service.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Service {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 9  |     pub config: Arc<Config>,
[INFO] [stdout] 10 |     pub agent: Agent,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Service` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 11.48s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "c3bd4129cbf7b78ba53e6ae50ad916fad94a7183f5db81db7c2d12f22f95332e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3bd4129cbf7b78ba53e6ae50ad916fad94a7183f5db81db7c2d12f22f95332e", kill_on_drop: false }`
[INFO] [stdout] c3bd4129cbf7b78ba53e6ae50ad916fad94a7183f5db81db7c2d12f22f95332e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a3841c7b31573659a34f2e5317636f6078da8b4b79a659c6e15867722ff915f1
[INFO] running `Command { std: "docker" "start" "-a" "a3841c7b31573659a34f2e5317636f6078da8b4b79a659c6e15867722ff915f1", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `state_value`
[INFO] [stderr]    --> src/sawtooth/filters.rs:128:13
[INFO] [stderr]     |
[INFO] [stderr] 128 |         let state_value = warp::test::request()
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_value`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `expected`
[INFO] [stderr]    --> src/sawtooth/filters.rs:133:13
[INFO] [stderr]     |
[INFO] [stderr] 133 |         let expected = [svc.config.backend_url.as_str(), query.as_str()].concat();
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `batch_statuses_value`
[INFO] [stderr]    --> src/sawtooth/filters.rs:150:13
[INFO] [stderr]     |
[INFO] [stderr] 150 |         let batch_statuses_value = warp::test::request()
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_statuses_value`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `expected`
[INFO] [stderr]    --> src/sawtooth/filters.rs:155:13
[INFO] [stderr]     |
[INFO] [stderr] 155 |         let expected = [svc.config.backend_url.as_str(), query.as_str()].concat();
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state_value`
[INFO] [stderr]    --> src/sawtooth/filters.rs:172:13
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let state_value = warp::test::request()
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_value`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `expected`
[INFO] [stderr]    --> src/sawtooth/filters.rs:178:13
[INFO] [stderr]     |
[INFO] [stderr] 178 |         let expected = [svc.config.backend_url.as_str(), query.as_str()].concat();
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `root_fingerprint` and `inter_fingerprint` are never read
[INFO] [stderr]   --> src/certs.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 7  | pub struct CertStore {
[INFO] [stderr]    |            --------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 15 |     pub root_fingerprint: Option<Vec<u8>>, // will be set at application startup
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 16 |     /// fingerprint of intermediate certificate
[INFO] [stderr] 17 |     pub inter_fingerprint: Option<Vec<u8>>, // will be set at application startup
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CertStore` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `allow_origin` is never read
[INFO] [stderr]   --> src/config.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 4  | pub struct Config {
[INFO] [stderr]    |            ------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 10 |     pub allow_origin: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `signing_cert` is never read
[INFO] [stderr]   --> src/http_signer.rs:76:5
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub struct HttpSigner {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 76 |     signing_cert: Arc<Vec<u8>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `HttpSigner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: constant `EXPECTED_STATE` is never used
[INFO] [stderr]    --> src/response.rs:177:11
[INFO] [stderr]     |
[INFO] [stderr] 177 |     const EXPECTED_STATE: &str = "\nd\n\u{1e}sawtooth.identity.allowed_keys\u{12}B0330511061884952157134400c75f8385a516649c5ea504e9c9bb46...
[INFO] [stderr]     |           ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `UPSTREAM_DATA_SIMPLE` is never used
[INFO] [stderr]    --> src/response.rs:179:11
[INFO] [stderr]     |
[INFO] [stderr] 179 |     const UPSTREAM_DATA_SIMPLE: &str = r##"{
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `CVR_KEY` is never used
[INFO] [stderr]    --> src/sawtooth/filters.rs:113:12
[INFO] [stderr]     |
[INFO] [stderr] 113 |     static CVR_KEY: &str = "xpub6A8xBrTys98jLevnXUgN2YfjuzX36E5pfjQQT8PfZtJ7JY2noYDXVYQyqtJhUJJS9ezC6uaUZ5iWAJMBddKBHouKa7omUW6BdV4R9g6qL...
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `agent` is never read
[INFO] [stderr]   --> src/service.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 8  | pub struct Service {
[INFO] [stderr]    |            ------- field in this struct
[INFO] [stderr] 9  |     pub config: Arc<Config>,
[INFO] [stderr] 10 |     pub agent: Agent,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Service` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `rest-api` (bin "rest-api" test) generated 13 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rest_api-d8566f32dbca6637)
[INFO] [stdout] 
[INFO] [stdout] running 30 tests
[INFO] [stdout] test certs::tests::test_cert_store_date_validation ... ok
[INFO] [stdout] test certs::tests::test_cert_store_creation ... ok
[INFO] [stdout] test certs::tests::test_cert_store_get_all ... ok
[INFO] [stdout] test http_signer::tests::test_verify_request ... ignored
[INFO] [stdout] test certs::tests::test_cert_store_load_store ... ok
[INFO] [stdout] test certs::tests::test_fingerprint ... ok
[INFO] [stdout] test certs::tests::test_cert_store_get ... ok
[INFO] [stdout] test http_signer::tests::get_signing_cert_chain ... ok
[INFO] [stdout] test http_signer::tests::gen_pub_key ... ok
[INFO] [stdout] test ledger_addresses::tests::test_bs_prefix ... ok
[INFO] [stdout] test http_signer::tests::test_parse_auth_header ... ok
[INFO] [stdout] test http_signer::tests::get_signing_key_pair ... ok
[INFO] [stdout] test ledger_addresses::tests::test_election_prefix ... ok
[INFO] [stdout] test ledger_addresses::tests::test_namespace ... ok
[INFO] [stdout] test parse::tests::test_parse_header ... ok
[INFO] [stdout] test ledger_addresses::tests::test_election ... ok
[INFO] [stdout] test ledger_addresses::tests::test_hdap ... ok
[INFO] [stdout] test response::tests::response_decode_series_simple ... ok
[INFO] [stdout] test ledger_addresses::tests::test_family ... ok
[INFO] [stdout] test ledger_addresses::tests::test_ballot_style ... ok
[INFO] [stdout] test ledger_addresses::tests::test_type_from_path_str ... ok
[INFO] [stdout] test ledger_addresses::tests::test_to_string ... ok
[INFO] [stdout] test response::tests::response_decode_series_jwt ... ok
[INFO] [stdout] test votingapp::filters::tests::test_hdap ... ok
[INFO] [stdout] test sawtooth::filters::tests::test_get_index ... ok
[INFO] [stdout] test sawtooth::filters::tests::test_get_state ... ok
[INFO] [stdout] test http_signer::tests::test_sign_response ... ok
[INFO] [stdout] test sawtooth::filters::tests::test_get_batch_statuses ... ok
[INFO] [stdout] test http_signer::tests::test_http_signer_verify_sig ... ok
[INFO] [stdout] test http_signer::tests::test_sign_example ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 29 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a3841c7b31573659a34f2e5317636f6078da8b4b79a659c6e15867722ff915f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3841c7b31573659a34f2e5317636f6078da8b4b79a659c6e15867722ff915f1", kill_on_drop: false }`
[INFO] [stdout] a3841c7b31573659a34f2e5317636f6078da8b4b79a659c6e15867722ff915f1
