[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] checking tbro/votingapp-rest-api against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbro%2Fvotingapp-rest-api" "/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/tbro/votingapp-rest-api on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-7-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_assertions v1.1.0 [INFO] [stderr] Downloaded headers v0.3.6 [INFO] [stderr] Downloaded bip32 v0.4.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88da1a13a67c7befee35d410ec846b4393503a2b675aae3ce9468c7a60f05b19 [INFO] running `Command { std: "docker" "start" "-a" "88da1a13a67c7befee35d410ec846b4393503a2b675aae3ce9468c7a60f05b19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88da1a13a67c7befee35d410ec846b4393503a2b675aae3ce9468c7a60f05b19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88da1a13a67c7befee35d410ec846b4393503a2b675aae3ce9468c7a60f05b19", kill_on_drop: false }` [INFO] [stdout] 88da1a13a67c7befee35d410ec846b4393503a2b675aae3ce9468c7a60f05b19 [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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf15a04a091cd157dacf481e32b38e8099dda46ad3b8c213be9c1d4e245f45e8 [INFO] running `Command { std: "docker" "start" "-a" "cf15a04a091cd157dacf481e32b38e8099dda46ad3b8c213be9c1d4e245f45e8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking 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] Checking once_cell v1.9.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking base64ct v1.5.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking const-oid v0.9.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking der v0.6.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking keccak v0.1.3 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling oid-registry v0.6.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking sha3 v0.10.6 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking headers v0.3.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking k256 v0.11.6 [INFO] [stderr] Checking flate2 v1.0.22 [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 displaydoc v0.2.3 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking webpki-roots v0.22.2 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking asn1-rs v0.5.1 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking serde_qs v0.10.1 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking bip32 v0.4.0 [INFO] [stderr] Checking ureq v2.4.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking pretty_assertions v1.1.0 [INFO] [stderr] Checking der-parser v8.1.0 [INFO] [stderr] Checking x509-parser v0.14.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking warp v0.3.2 [INFO] [stderr] Checking 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>, // will be set at application startup [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | /// fingerprint of intermediate certificate [INFO] [stdout] 17 | pub inter_fingerprint: Option>, // 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> { [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, [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>, [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, [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] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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>, // will be set at application startup [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | /// fingerprint of intermediate certificate [INFO] [stdout] 17 | pub inter_fingerprint: Option>, // 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, [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>, [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, [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] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.21s [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" "cf15a04a091cd157dacf481e32b38e8099dda46ad3b8c213be9c1d4e245f45e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf15a04a091cd157dacf481e32b38e8099dda46ad3b8c213be9c1d4e245f45e8", kill_on_drop: false }` [INFO] [stdout] cf15a04a091cd157dacf481e32b38e8099dda46ad3b8c213be9c1d4e245f45e8 [INFO] checking tbro/votingapp-rest-api against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbro%2Fvotingapp-rest-api" "/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/tbro/votingapp-rest-api on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-7-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e87bfe1987089f9d39489ea4421211fb207a44ec9a25079d4dc64fbf1f3b1adc [INFO] running `Command { std: "docker" "start" "-a" "e87bfe1987089f9d39489ea4421211fb207a44ec9a25079d4dc64fbf1f3b1adc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e87bfe1987089f9d39489ea4421211fb207a44ec9a25079d4dc64fbf1f3b1adc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e87bfe1987089f9d39489ea4421211fb207a44ec9a25079d4dc64fbf1f3b1adc", kill_on_drop: false }` [INFO] [stdout] e87bfe1987089f9d39489ea4421211fb207a44ec9a25079d4dc64fbf1f3b1adc [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40af513d04811505409d1045fc188e0b2dbcd881c5441ee04e9753c6b7e63020 [INFO] running `Command { std: "docker" "start" "-a" "40af513d04811505409d1045fc188e0b2dbcd881c5441ee04e9753c6b7e63020", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking 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] Checking once_cell v1.9.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking base64ct v1.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking const-oid v0.9.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking der v0.6.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking keccak v0.1.3 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling oid-registry v0.6.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking sha3 v0.10.6 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking headers v0.3.6 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking k256 v0.11.6 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking webpki-roots v0.22.2 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking bip32 v0.4.0 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking pretty_assertions v1.1.0 [INFO] [stderr] Checking ureq v2.4.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking asn1-rs v0.5.1 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking serde_qs v0.10.1 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking der-parser v8.1.0 [INFO] [stderr] Checking x509-parser v0.14.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking warp v0.3.2 [INFO] [stderr] Checking 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>, // will be set at application startup [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | /// fingerprint of intermediate certificate [INFO] [stdout] 17 | pub inter_fingerprint: Option>, // 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> { [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, [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>, [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, [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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(()) [INFO] [stdout] | ^^---- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | svc: Service, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | signer: HttpSigner, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ) -> impl Filter + Clone { [INFO] [stdout] 17 | let req = RequestService::new(svc.clone()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | / warp::any() [INFO] [stdout] 19 | | .and(version()) [INFO] [stdout] 20 | | .or(spec()) [INFO] [stdout] 21 | | .or(sawtooth::filters::posts( [INFO] [stdout] ... | [INFO] [stdout] 30 | | .and(warp::method()) [INFO] [stdout] 31 | | .and(with_signer(signer)) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn with_svc(svc: Service) -> impl Filter + Clone { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | warp::any().map(move || svc.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 98 | http_signer: HttpSigner, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | ) -> impl Filter + Clone { [INFO] [stdout] 100 | warp::any().map(move || http_signer.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 103 | req: RequestService, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ) -> impl Filter + Clone { [INFO] [stdout] 105 | warp::any().map(move || req.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_signer.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 93 | let signing_key_pair = match HttpSigner::get_signing_key_pair() { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Ok(key_pair) => Arc::new(key_pair), [INFO] [stdout] 95 | Err(e) => bail!("Failed to get key pair: {}", e), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Err(e) => bail!("Failed to get certificate chain: {}", e), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let signing_cert = Arc::new(signing_cert_chain[0].clone()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Ok(HttpSigner { [INFO] [stdout] | ____________^ [INFO] [stdout] 107 | | signature_algorithm, [INFO] [stdout] 108 | | signing_key_pair, [INFO] [stdout] 109 | | signing_cert_chain, [INFO] [stdout] 110 | | signing_cert, [INFO] [stdout] 111 | | signing_cert_fingerprint, [INFO] [stdout] 112 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | req: RequestService, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | svc: Service, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ) -> impl Filter + Clone { [INFO] [stdout] 17 | / warp::get() [INFO] [stdout] 18 | | .and(get_query(svc.clone())) [INFO] [stdout] 19 | | .or(get_index(svc)) [INFO] [stdout] 20 | | .unify() [INFO] [stdout] 21 | | .and(with_req(req)) [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 27 | req: RequestService, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | signer: HttpSigner, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | svc: Service, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ) -> impl Filter + Clone { [INFO] [stdout] 31 | / warp::post() [INFO] [stdout] 32 | | .and(status_post(svc.clone())) [INFO] [stdout] 33 | | .or(auth(svc, signer)) [INFO] [stdout] 34 | | .unify() [INFO] [stdout] 35 | | .and(warp::body::bytes()) [INFO] [stdout] 36 | | .and(with_req(req)) [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 42 | fn status_post(svc: Service) -> impl Filter + Clone { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | warp::path("batch_statuses").and(query_uri(svc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | svc: Service, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | signer: HttpSigner, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> impl Filter + Clone { [INFO] [stdout] 53 | / warp::path("batches") [INFO] [stdout] 54 | | .and(warp::post()) [INFO] [stdout] 55 | | .and(warp::header::optional::("authorization")) [INFO] [stdout] 56 | | .and(warp::header::optional::("va-signature-chain")) [INFO] [stdout] ... | [INFO] [stdout] 59 | | .and_then(authenticate) [INFO] [stdout] 60 | | .and(warp::path::full()) [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 50 | svc: Service, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | signer: HttpSigner, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | .map(move |_: String, path: FullPath| { [INFO] [stdout] | ______________^ [INFO] [stdout] 62 | | log::info!("post path: {:?}", &path); [INFO] [stdout] 63 | | let req_uri = format!("{}{}", svc.config.backend_url, path.as_str()); [INFO] [stdout] 64 | | log::info!("post req_uri: {:?}", &req_uri); [INFO] [stdout] 65 | | req_uri [INFO] [stdout] 66 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | fn query_uri(svc: Service) -> impl Filter + Clone { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | / warp::any() [INFO] [stdout] 71 | | .and(warp::path::full()) [INFO] [stdout] 72 | | .and(warp::query::>()) [INFO] [stdout] 73 | | .and(with_svc(svc)) [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_query(svc: Service) -> impl Filter + Clone { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | .and(query_uri(svc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_index(svc: Service) -> impl Filter + Clone { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | .map(move |path: FullPath| { [INFO] [stdout] | ______________^ [INFO] [stdout] 96 | | log::debug!("get path: {:?}", &path); [INFO] [stdout] 97 | | let endpoint = if let Some(no_slash) = path.as_str().strip_suffix('/') { [INFO] [stdout] 98 | | format!("{}{}", svc.config.backend_url, no_slash) [INFO] [stdout] ... | [INFO] [stdout] 103 | | endpoint [INFO] [stdout] 104 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | let config = Arc::new(Config::new()?); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let agent: Agent = ureq::AgentBuilder::new() [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Service { agent, config }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 45 | addr: LedgerAddress, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | / warp::path("elections") [INFO] [stdout] 62 | | .and(warp::path::param::()) [INFO] [stdout] 63 | | .and(casted) [INFO] [stdout] 64 | | .and(warp::path::param::()) [INFO] [stdout] 65 | | .and(warp::path::full()) [INFO] [stdout] 66 | | .and(with_addr(addr)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 71 | fn cast_many(addr: LedgerAddress) -> impl Filter + Clone { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | / warp::path("elections") [INFO] [stdout] 87 | | .and(warp::path::param::()) [INFO] [stdout] 88 | | .and(casted) [INFO] [stdout] 89 | | .and(warp::path::end()) [INFO] [stdout] 90 | | .and(warp::path::full()) [INFO] [stdout] 91 | | .and(with_addr(addr)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 97 | addr: LedgerAddress, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | ) -> impl Filter + Clone { [INFO] [stdout] 99 | / warp::path("elections") [INFO] [stdout] 100 | | .and(warp::path::param::()) [INFO] [stdout] 101 | | .and(warp::path("ballot-style-lists")) [INFO] [stdout] 102 | | .and(warp::path::end()) [INFO] [stdout] 103 | | .and(with_addr(addr)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | addr: LedgerAddress, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | ) -> impl Filter + Clone { [INFO] [stdout] 111 | / warp::path("elections") [INFO] [stdout] 112 | | .and(warp::path::param::()) [INFO] [stdout] 113 | | .and(warp::path("ballot-style-lists")) [INFO] [stdout] 114 | | .and(warp::path::param::()) [INFO] [stdout] 115 | | .and(warp::path::end()) [INFO] [stdout] 116 | | .and(with_addr(addr)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 122 | addr: LedgerAddress, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | ) -> impl Filter + Clone { [INFO] [stdout] 124 | / warp::path("elections") [INFO] [stdout] 125 | | .and(warp::path::end()) [INFO] [stdout] 126 | | .and(with_addr(addr)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | fn election(addr: LedgerAddress) -> impl Filter + Clone { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | / warp::path("elections") [INFO] [stdout] 133 | | .and(warp::path::param::()) [INFO] [stdout] 134 | | .and(warp::path::end()) [INFO] [stdout] 135 | | .and(with_addr(addr)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 140 | addr: LedgerAddress, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | ) -> impl Filter + Clone { [INFO] [stdout] 142 | warp::any().map(move || addr.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rest-api` (bin "rest-api") due to 23 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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>, // will be set at application startup [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | /// fingerprint of intermediate certificate [INFO] [stdout] 17 | pub inter_fingerprint: Option>, // 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, [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>, [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, [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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(()) [INFO] [stdout] | ^^---- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | svc: Service, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | signer: HttpSigner, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ) -> impl Filter + Clone { [INFO] [stdout] 17 | let req = RequestService::new(svc.clone()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | / warp::any() [INFO] [stdout] 19 | | .and(version()) [INFO] [stdout] 20 | | .or(spec()) [INFO] [stdout] 21 | | .or(sawtooth::filters::posts( [INFO] [stdout] ... | [INFO] [stdout] 30 | | .and(warp::method()) [INFO] [stdout] 31 | | .and(with_signer(signer)) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn with_svc(svc: Service) -> impl Filter + Clone { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | warp::any().map(move || svc.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 98 | http_signer: HttpSigner, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | ) -> impl Filter + Clone { [INFO] [stdout] 100 | warp::any().map(move || http_signer.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 103 | req: RequestService, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ) -> impl Filter + Clone { [INFO] [stdout] 105 | warp::any().map(move || req.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_signer.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 93 | let signing_key_pair = match HttpSigner::get_signing_key_pair() { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Ok(key_pair) => Arc::new(key_pair), [INFO] [stdout] 95 | Err(e) => bail!("Failed to get key pair: {}", e), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Err(e) => bail!("Failed to get certificate chain: {}", e), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let signing_cert = Arc::new(signing_cert_chain[0].clone()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Ok(HttpSigner { [INFO] [stdout] | ____________^ [INFO] [stdout] 107 | | signature_algorithm, [INFO] [stdout] 108 | | signing_key_pair, [INFO] [stdout] 109 | | signing_cert_chain, [INFO] [stdout] 110 | | signing_cert, [INFO] [stdout] 111 | | signing_cert_fingerprint, [INFO] [stdout] 112 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | req: RequestService, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | svc: Service, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ) -> impl Filter + Clone { [INFO] [stdout] 17 | / warp::get() [INFO] [stdout] 18 | | .and(get_query(svc.clone())) [INFO] [stdout] 19 | | .or(get_index(svc)) [INFO] [stdout] 20 | | .unify() [INFO] [stdout] 21 | | .and(with_req(req)) [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 27 | req: RequestService, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | signer: HttpSigner, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | svc: Service, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ) -> impl Filter + Clone { [INFO] [stdout] 31 | / warp::post() [INFO] [stdout] 32 | | .and(status_post(svc.clone())) [INFO] [stdout] 33 | | .or(auth(svc, signer)) [INFO] [stdout] 34 | | .unify() [INFO] [stdout] 35 | | .and(warp::body::bytes()) [INFO] [stdout] 36 | | .and(with_req(req)) [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 42 | fn status_post(svc: Service) -> impl Filter + Clone { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | warp::path("batch_statuses").and(query_uri(svc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | svc: Service, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | signer: HttpSigner, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> impl Filter + Clone { [INFO] [stdout] 53 | / warp::path("batches") [INFO] [stdout] 54 | | .and(warp::post()) [INFO] [stdout] 55 | | .and(warp::header::optional::("authorization")) [INFO] [stdout] 56 | | .and(warp::header::optional::("va-signature-chain")) [INFO] [stdout] ... | [INFO] [stdout] 59 | | .and_then(authenticate) [INFO] [stdout] 60 | | .and(warp::path::full()) [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 50 | svc: Service, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | signer: HttpSigner, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | .map(move |_: String, path: FullPath| { [INFO] [stdout] | ______________^ [INFO] [stdout] 62 | | log::info!("post path: {:?}", &path); [INFO] [stdout] 63 | | let req_uri = format!("{}{}", svc.config.backend_url, path.as_str()); [INFO] [stdout] 64 | | log::info!("post req_uri: {:?}", &req_uri); [INFO] [stdout] 65 | | req_uri [INFO] [stdout] 66 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | fn query_uri(svc: Service) -> impl Filter + Clone { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | / warp::any() [INFO] [stdout] 71 | | .and(warp::path::full()) [INFO] [stdout] 72 | | .and(warp::query::>()) [INFO] [stdout] 73 | | .and(with_svc(svc)) [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_query(svc: Service) -> impl Filter + Clone { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | .and(query_uri(svc)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sawtooth/filters.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_index(svc: Service) -> impl Filter + Clone { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | .map(move |path: FullPath| { [INFO] [stdout] | ______________^ [INFO] [stdout] 96 | | log::debug!("get path: {:?}", &path); [INFO] [stdout] 97 | | let endpoint = if let Some(no_slash) = path.as_str().strip_suffix('/') { [INFO] [stdout] 98 | | format!("{}{}", svc.config.backend_url, no_slash) [INFO] [stdout] ... | [INFO] [stdout] 103 | | endpoint [INFO] [stdout] 104 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | let config = Arc::new(Config::new()?); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let agent: Agent = ureq::AgentBuilder::new() [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Service { agent, config }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 45 | addr: LedgerAddress, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | / warp::path("elections") [INFO] [stdout] 62 | | .and(warp::path::param::()) [INFO] [stdout] 63 | | .and(casted) [INFO] [stdout] 64 | | .and(warp::path::param::()) [INFO] [stdout] 65 | | .and(warp::path::full()) [INFO] [stdout] 66 | | .and(with_addr(addr)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 71 | fn cast_many(addr: LedgerAddress) -> impl Filter + Clone { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | / warp::path("elections") [INFO] [stdout] 87 | | .and(warp::path::param::()) [INFO] [stdout] 88 | | .and(casted) [INFO] [stdout] 89 | | .and(warp::path::end()) [INFO] [stdout] 90 | | .and(warp::path::full()) [INFO] [stdout] 91 | | .and(with_addr(addr)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 97 | addr: LedgerAddress, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | ) -> impl Filter + Clone { [INFO] [stdout] 99 | / warp::path("elections") [INFO] [stdout] 100 | | .and(warp::path::param::()) [INFO] [stdout] 101 | | .and(warp::path("ballot-style-lists")) [INFO] [stdout] 102 | | .and(warp::path::end()) [INFO] [stdout] 103 | | .and(with_addr(addr)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | addr: LedgerAddress, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | ) -> impl Filter + Clone { [INFO] [stdout] 111 | / warp::path("elections") [INFO] [stdout] 112 | | .and(warp::path::param::()) [INFO] [stdout] 113 | | .and(warp::path("ballot-style-lists")) [INFO] [stdout] 114 | | .and(warp::path::param::()) [INFO] [stdout] 115 | | .and(warp::path::end()) [INFO] [stdout] 116 | | .and(with_addr(addr)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 122 | addr: LedgerAddress, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | ) -> impl Filter + Clone { [INFO] [stdout] 124 | / warp::path("elections") [INFO] [stdout] 125 | | .and(warp::path::end()) [INFO] [stdout] 126 | | .and(with_addr(addr)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | fn election(addr: LedgerAddress) -> impl Filter + Clone { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | / warp::path("elections") [INFO] [stdout] 133 | | .and(warp::path::param::()) [INFO] [stdout] 134 | | .and(warp::path::end()) [INFO] [stdout] 135 | | .and(with_addr(addr)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/votingapp/filters.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 140 | addr: LedgerAddress, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | ) -> impl Filter + Clone { [INFO] [stdout] 142 | warp::any().map(move || addr.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rest-api` (bin "rest-api" test) due to 23 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "40af513d04811505409d1045fc188e0b2dbcd881c5441ee04e9753c6b7e63020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40af513d04811505409d1045fc188e0b2dbcd881c5441ee04e9753c6b7e63020", kill_on_drop: false }` [INFO] [stdout] 40af513d04811505409d1045fc188e0b2dbcd881c5441ee04e9753c6b7e63020