[INFO] cloning repository https://github.com/syaiful6/lako [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/syaiful6/lako" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyaiful6%2Flako", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyaiful6%2Flako'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f88bfd4a785143a115e7dd0800b75ab7bc3489e [INFO] checking syaiful6/lako against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyaiful6%2Flako" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/syaiful6/lako 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/syaiful6/lako [INFO] finished tweaking git repo https://github.com/syaiful6/lako [INFO] tweaked toml for git repo https://github.com/syaiful6/lako written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/syaiful6/lako 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded if_chain v1.0.1 [INFO] [stderr] Downloaded validator v0.10.1 [INFO] [stderr] Downloaded gotham_middleware_jwt v0.5.0 [INFO] [stderr] Downloaded const_fn v0.4.8 [INFO] [stderr] Downloaded futures-executor v0.3.15 [INFO] [stderr] Downloaded blowfish v0.7.0 [INFO] [stderr] Downloaded redox_syscall v0.2.9 [INFO] [stderr] Downloaded gotham_middleware_diesel v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.74 [INFO] [stderr] Downloaded bcrypt v0.9.0 [INFO] [stderr] Downloaded anyhow v1.0.42 [INFO] [stderr] Downloaded futures-macro v0.3.15 [INFO] [stderr] Downloaded cookie v0.14.4 [INFO] [stderr] Downloaded backtrace v0.3.60 [INFO] [stderr] Downloaded gotham v0.5.0 [INFO] [stderr] Downloaded js-sys v0.3.51 [INFO] [stderr] Downloaded wasm-bindgen v0.2.74 [INFO] [stderr] Downloaded diesel v1.4.7 [INFO] [stderr] Downloaded openssl-sys v0.9.65 [INFO] [stderr] Downloaded object v0.25.3 [INFO] [stderr] Downloaded openssl v0.10.35 [INFO] [stderr] Downloaded lettre v0.9.6 [INFO] [stderr] Downloaded security-framework v2.3.1 [INFO] [stderr] Downloaded syn v1.0.73 [INFO] [stderr] Downloaded serde v1.0.126 [INFO] [stderr] Downloaded serde_derive v1.0.126 [INFO] [stderr] Downloaded security-framework-sys v2.3.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.27 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.74 [INFO] [stderr] Downloaded ascii_utils v0.9.3 [INFO] [stderr] Downloaded uuid v0.7.4 [INFO] [stderr] Downloaded lettre_email v0.9.4 [INFO] [stderr] Downloaded web-sys v0.3.51 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Downloaded email v0.0.20 [INFO] [stderr] Downloaded fast_chemail v0.9.6 [INFO] [stderr] Downloaded borrow-bag v1.1.0 [INFO] [stderr] Downloaded gotham_derive v0.5.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.74 [INFO] [stderr] Downloaded validator_derive v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 37287101a815c06ae86184d104d057f23190b7dd334b1f1c7aaae66c7c229a5b [INFO] running `Command { std: "docker" "start" "-a" "37287101a815c06ae86184d104d057f23190b7dd334b1f1c7aaae66c7c229a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37287101a815c06ae86184d104d057f23190b7dd334b1f1c7aaae66c7c229a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37287101a815c06ae86184d104d057f23190b7dd334b1f1c7aaae66c7c229a5b", kill_on_drop: false }` [INFO] [stdout] 37287101a815c06ae86184d104d057f23190b7dd334b1f1c7aaae66c7c229a5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 56372fa6d7b2ed63dfd357659cb1bce1617874b51ad30f343a96d4aa899dc581 [INFO] running `Command { std: "docker" "start" "-a" "56372fa6d7b2ed63dfd357659cb1bce1617874b51ad30f343a96d4aa899dc581", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking borrow-bag v1.1.0 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking blowfish v0.7.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling if_chain v1.0.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking bcrypt v0.9.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling gotham_derive v0.5.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking diesel v1.4.7 [INFO] [stderr] Checking validator v0.10.1 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Compiling validator_derive v0.10.1 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking gotham v0.5.0 [INFO] [stderr] Checking gotham_middleware_jwt v0.5.0 [INFO] [stderr] Checking gotham_middleware_diesel v0.2.0 [INFO] [stderr] Checking lako v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/auth.rs:152:50 [INFO] [stdout] | [INFO] [stdout] 152 | let path = TokenPath::borrow_from(&state).clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `TokenPath` does not implement `Clone`, so calling `clone` on `&TokenPath` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 152 - let path = TokenPath::borrow_from(&state).clone(); [INFO] [stdout] 152 + let path = TokenPath::borrow_from(&state); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `TokenPath`, implement `Clone` for it [INFO] [stdout] --> src/routes/paths.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub struct TokenPath { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/auth.rs:152:50 [INFO] [stdout] | [INFO] [stdout] 152 | let path = TokenPath::borrow_from(&state).clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `TokenPath` does not implement `Clone`, so calling `clone` on `&TokenPath` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 152 - let path = TokenPath::borrow_from(&state).clone(); [INFO] [stdout] 152 + let path = TokenPath::borrow_from(&state); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `TokenPath`, implement `Clone` for it [INFO] [stdout] --> src/routes/paths.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub struct TokenPath { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.83s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [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" "56372fa6d7b2ed63dfd357659cb1bce1617874b51ad30f343a96d4aa899dc581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56372fa6d7b2ed63dfd357659cb1bce1617874b51ad30f343a96d4aa899dc581", kill_on_drop: false }` [INFO] [stdout] 56372fa6d7b2ed63dfd357659cb1bce1617874b51ad30f343a96d4aa899dc581 [INFO] checking syaiful6/lako 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%2Fsyaiful6%2Flako" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/syaiful6/lako 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/syaiful6/lako [INFO] finished tweaking git repo https://github.com/syaiful6/lako [INFO] tweaked toml for git repo https://github.com/syaiful6/lako written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/syaiful6/lako 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0349ac7a7e1e53f0feb4e6a647c7e4a3c0361f07bc449527bbd3ed10d3ccd819 [INFO] running `Command { std: "docker" "start" "-a" "0349ac7a7e1e53f0feb4e6a647c7e4a3c0361f07bc449527bbd3ed10d3ccd819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0349ac7a7e1e53f0feb4e6a647c7e4a3c0361f07bc449527bbd3ed10d3ccd819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0349ac7a7e1e53f0feb4e6a647c7e4a3c0361f07bc449527bbd3ed10d3ccd819", kill_on_drop: false }` [INFO] [stdout] 0349ac7a7e1e53f0feb4e6a647c7e4a3c0361f07bc449527bbd3ed10d3ccd819 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 54f57d8e52cd49a2818ae6c1ba5ad6393c41403fe6c0980a08d1ea50f7aae938 [INFO] running `Command { std: "docker" "start" "-a" "54f57d8e52cd49a2818ae6c1ba5ad6393c41403fe6c0980a08d1ea50f7aae938", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking borrow-bag v1.1.0 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking blowfish v0.7.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling if_chain v1.0.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bcrypt v0.9.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling gotham_derive v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking diesel v1.4.7 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking validator v0.10.1 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Compiling validator_derive v0.10.1 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Checking gotham v0.5.0 [INFO] [stderr] Checking gotham_middleware_jwt v0.5.0 [INFO] [stderr] Checking gotham_middleware_diesel v0.2.0 [INFO] [stderr] Checking lako v0.1.0 (/opt/rustwide/workdir) [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/email.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(email.into()) [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/routes/auth.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn register_user_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | / async move { [INFO] [stdout] 43 | | let user = match extract_json::(&mut state).await { [INFO] [stdout] 44 | | Ok(user) => { [INFO] [stdout] 45 | | if user.password1 == user.password2 { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [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/routes/auth.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn login_user_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | / async move { [INFO] [stdout] 96 | | let creds = match extract_json::(&mut state).await { [INFO] [stdout] 97 | | Ok(creds) => creds, [INFO] [stdout] 98 | | Err(e) => return Err((state, e)), [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] 120 | | } [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/routes/auth.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_user(state: State) -> Pin> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | / async move { [INFO] [stdout] 131 | | let result = repo.run(move |conn| find_user(&conn, user_id)).await; [INFO] [stdout] 132 | | [INFO] [stdout] 133 | | if let Ok(Some(user)) = result { [INFO] [stdout] ... | [INFO] [stdout] 139 | | } [INFO] [stdout] 140 | | } [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/routes/auth.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn confirm_user_email(state: State) -> Pin> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | [INFO] [stdout] 157 | / async move { [INFO] [stdout] 158 | | let result = repo [INFO] [stdout] 159 | | .run(move |conn| verify_email_with_token(&conn, token.as_str())) [INFO] [stdout] 160 | | .await; [INFO] [stdout] ... | [INFO] [stdout] 172 | | } [INFO] [stdout] 173 | | } [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/email.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(email.into()) [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/auth.rs:152:50 [INFO] [stdout] | [INFO] [stdout] 152 | let path = TokenPath::borrow_from(&state).clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `TokenPath` does not implement `Clone`, so calling `clone` on `&TokenPath` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 152 - let path = TokenPath::borrow_from(&state).clone(); [INFO] [stdout] 152 + let path = TokenPath::borrow_from(&state); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `TokenPath`, implement `Clone` for it [INFO] [stdout] --> src/routes/paths.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub struct TokenPath { [INFO] [stdout] | [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/routes/auth.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn regenerate_token_and_send(state: State) -> Pin> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | [INFO] [stdout] 193 | / async move { [INFO] [stdout] 194 | | let result = repo [INFO] [stdout] 195 | | .run(move |conn| regenerate_email_token_and_send(&conn, current_user_id)) [INFO] [stdout] 196 | | .await; [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [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/routes/auth.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn user_update_detail_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | [INFO] [stdout] 227 | / async move { [INFO] [stdout] 228 | | let changes = match extract_json::(&mut state).await { [INFO] [stdout] 229 | | Ok(changes) => changes, [INFO] [stdout] 230 | | Err(e) => return Err((state, e)), [INFO] [stdout] ... | [INFO] [stdout] 259 | | } [INFO] [stdout] 260 | | } [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/routes/clients.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn create_client_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | / async move { [INFO] [stdout] 46 | | let new_client = match extract_json::(&mut state).await { [INFO] [stdout] 47 | | Ok(client) => match client.validate() { [INFO] [stdout] 48 | | Ok(_) => client, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [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/routes/clients.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn update_client_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | [INFO] [stdout] 102 | / async move { [INFO] [stdout] 103 | | let changes = match extract_json::(&mut state).await { [INFO] [stdout] 104 | | Ok(changes) => changes, [INFO] [stdout] 105 | | Err(e) => return Err((state, e)), [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | } [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/routes/clients.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn delete_client_handler(state: State) -> Pin> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | [INFO] [stdout] 140 | / async move { [INFO] [stdout] 141 | | let result = repo [INFO] [stdout] 142 | | .run(move |conn| delete_client(client_id, current_user_id, &conn)) [INFO] [stdout] 143 | | .await; [INFO] [stdout] ... | [INFO] [stdout] 162 | | } [INFO] [stdout] 163 | | } [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/routes/clients.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn list_client_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | [INFO] [stdout] 183 | / async move { [INFO] [stdout] 184 | | let result = repo [INFO] [stdout] 185 | | .run(move |mut conn| { [INFO] [stdout] 186 | | use crate::schema::clients; [INFO] [stdout] ... | [INFO] [stdout] 229 | | } [INFO] [stdout] 230 | | } [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/routes/companies.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn create_company_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | / async move { [INFO] [stdout] 42 | | let new_company = match extract_json::(&mut state).await { [INFO] [stdout] 43 | | Ok(company) => match company.validate() { [INFO] [stdout] 44 | | Ok(_) => company, [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [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/routes/companies.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn update_company_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | [INFO] [stdout] 94 | / async move { [INFO] [stdout] 95 | | let changes = match extract_json::(&mut state).await { [INFO] [stdout] 96 | | Ok(changes) => changes, [INFO] [stdout] 97 | | Err(e) => return Err((state, e)), [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] 117 | | } [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/routes/companies.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn delete_company_handler(state: State) -> Pin> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | [INFO] [stdout] 132 | / async move { [INFO] [stdout] 133 | | let result = repo [INFO] [stdout] 134 | | .run(move |conn| delete_company(company_id, current_user_id, &conn)) [INFO] [stdout] 135 | | .await; [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [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/routes/companies.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn list_company_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | [INFO] [stdout] 175 | / async move { [INFO] [stdout] 176 | | let result = repo [INFO] [stdout] 177 | | .run(move |mut conn| { [INFO] [stdout] 178 | | use crate::schema::companies; [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] 222 | | } [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/routes/utils.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | .and_then(|s| serde_json::from_str::(s).map_err_with_status(StatusCode::BAD_REQUEST)) [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/routes/auth.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn register_user_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | / async move { [INFO] [stdout] 43 | | let user = match extract_json::(&mut state).await { [INFO] [stdout] 44 | | Ok(user) => { [INFO] [stdout] 45 | | if user.password1 == user.password2 { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [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/routes/auth.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn login_user_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | / async move { [INFO] [stdout] 96 | | let creds = match extract_json::(&mut state).await { [INFO] [stdout] 97 | | Ok(creds) => creds, [INFO] [stdout] 98 | | Err(e) => return Err((state, e)), [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] 120 | | } [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/routes/auth.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_user(state: State) -> Pin> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | / async move { [INFO] [stdout] 131 | | let result = repo.run(move |conn| find_user(&conn, user_id)).await; [INFO] [stdout] 132 | | [INFO] [stdout] 133 | | if let Ok(Some(user)) = result { [INFO] [stdout] ... | [INFO] [stdout] 139 | | } [INFO] [stdout] 140 | | } [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/routes/auth.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn confirm_user_email(state: State) -> Pin> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | [INFO] [stdout] 157 | / async move { [INFO] [stdout] 158 | | let result = repo [INFO] [stdout] 159 | | .run(move |conn| verify_email_with_token(&conn, token.as_str())) [INFO] [stdout] 160 | | .await; [INFO] [stdout] ... | [INFO] [stdout] 172 | | } [INFO] [stdout] 173 | | } [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/sqlx/pagination.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn load_and_count_pages(self, conn: &mut PgConnection) -> QueryResult<(Vec, i64)> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let results = self.load::<(U, i64)>(conn)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let total = results.get(0).map(|x| x.1).unwrap_or(0); [INFO] [stdout] 42 | let records = results.into_iter().map(|x| x.0).collect(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let total_pages = (total as f64 / per_page as f64).ceil() as i64; [INFO] [stdout] 44 | Ok((records, total_pages)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routes/auth.rs:152:50 [INFO] [stdout] | [INFO] [stdout] 152 | let path = TokenPath::borrow_from(&state).clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `TokenPath` does not implement `Clone`, so calling `clone` on `&TokenPath` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 152 - let path = TokenPath::borrow_from(&state).clone(); [INFO] [stdout] 152 + let path = TokenPath::borrow_from(&state); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `TokenPath`, implement `Clone` for it [INFO] [stdout] --> src/routes/paths.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub struct TokenPath { [INFO] [stdout] | [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/routes/auth.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn regenerate_token_and_send(state: State) -> Pin> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | [INFO] [stdout] 193 | / async move { [INFO] [stdout] 194 | | let result = repo [INFO] [stdout] 195 | | .run(move |conn| regenerate_email_token_and_send(&conn, current_user_id)) [INFO] [stdout] 196 | | .await; [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [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/routes/auth.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn user_update_detail_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | [INFO] [stdout] 227 | / async move { [INFO] [stdout] 228 | | let changes = match extract_json::(&mut state).await { [INFO] [stdout] 229 | | Ok(changes) => changes, [INFO] [stdout] 230 | | Err(e) => return Err((state, e)), [INFO] [stdout] ... | [INFO] [stdout] 259 | | } [INFO] [stdout] 260 | | } [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/routes/clients.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn create_client_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | / async move { [INFO] [stdout] 46 | | let new_client = match extract_json::(&mut state).await { [INFO] [stdout] 47 | | Ok(client) => match client.validate() { [INFO] [stdout] 48 | | Ok(_) => client, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [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/routes/clients.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn update_client_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | [INFO] [stdout] 102 | / async move { [INFO] [stdout] 103 | | let changes = match extract_json::(&mut state).await { [INFO] [stdout] 104 | | Ok(changes) => changes, [INFO] [stdout] 105 | | Err(e) => return Err((state, e)), [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | } [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/routes/clients.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn delete_client_handler(state: State) -> Pin> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | [INFO] [stdout] 140 | / async move { [INFO] [stdout] 141 | | let result = repo [INFO] [stdout] 142 | | .run(move |conn| delete_client(client_id, current_user_id, &conn)) [INFO] [stdout] 143 | | .await; [INFO] [stdout] ... | [INFO] [stdout] 162 | | } [INFO] [stdout] 163 | | } [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/routes/clients.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn list_client_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | [INFO] [stdout] 183 | / async move { [INFO] [stdout] 184 | | let result = repo [INFO] [stdout] 185 | | .run(move |mut conn| { [INFO] [stdout] 186 | | use crate::schema::clients; [INFO] [stdout] ... | [INFO] [stdout] 229 | | } [INFO] [stdout] 230 | | } [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/routes/companies.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn create_company_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | / async move { [INFO] [stdout] 42 | | let new_company = match extract_json::(&mut state).await { [INFO] [stdout] 43 | | Ok(company) => match company.validate() { [INFO] [stdout] 44 | | Ok(_) => company, [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [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/routes/companies.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn update_company_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | [INFO] [stdout] 94 | / async move { [INFO] [stdout] 95 | | let changes = match extract_json::(&mut state).await { [INFO] [stdout] 96 | | Ok(changes) => changes, [INFO] [stdout] 97 | | Err(e) => return Err((state, e)), [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] 117 | | } [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/routes/companies.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn delete_company_handler(state: State) -> Pin> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | [INFO] [stdout] 132 | / async move { [INFO] [stdout] 133 | | let result = repo [INFO] [stdout] 134 | | .run(move |conn| delete_company(company_id, current_user_id, &conn)) [INFO] [stdout] 135 | | .await; [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [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/routes/companies.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn list_company_handler(mut state: State) -> Pin> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let repo = Repo::borrow_from(&state).clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | [INFO] [stdout] 175 | / async move { [INFO] [stdout] 176 | | let result = repo [INFO] [stdout] 177 | | .run(move |mut conn| { [INFO] [stdout] 178 | | use crate::schema::companies; [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] 222 | | } [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/routes/utils.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | .and_then(|s| serde_json::from_str::(s).map_err_with_status(StatusCode::BAD_REQUEST)) [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/sqlx/pagination.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn load_and_count_pages(self, conn: &mut PgConnection) -> QueryResult<(Vec, i64)> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let results = self.load::<(U, i64)>(conn)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let total = results.get(0).map(|x| x.1).unwrap_or(0); [INFO] [stdout] 42 | let records = results.into_iter().map(|x| x.0).collect(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let total_pages = (total as f64 / per_page as f64).ceil() as i64; [INFO] [stdout] 44 | Ok((records, total_pages)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lako` (lib test) due to 18 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lako` (lib) due to 18 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "54f57d8e52cd49a2818ae6c1ba5ad6393c41403fe6c0980a08d1ea50f7aae938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54f57d8e52cd49a2818ae6c1ba5ad6393c41403fe6c0980a08d1ea50f7aae938", kill_on_drop: false }` [INFO] [stdout] 54f57d8e52cd49a2818ae6c1ba5ad6393c41403fe6c0980a08d1ea50f7aae938