[INFO] cloning repository https://github.com/bebenlebricolo/rust-web-service-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bebenlebricolo/rust-web-service-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbebenlebricolo%2Frust-web-service-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbebenlebricolo%2Frust-web-service-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0d5a9b764d04d29fdf48b76763375611f7b8c2a [INFO] checking bebenlebricolo/rust-web-service-test/c0d5a9b764d04d29fdf48b76763375611f7b8c2a against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbebenlebricolo%2Frust-web-service-test" "/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/bebenlebricolo/rust-web-service-test on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bebenlebricolo/rust-web-service-test [INFO] finished tweaking git repo https://github.com/bebenlebricolo/rust-web-service-test [INFO] tweaked toml for git repo https://github.com/bebenlebricolo/rust-web-service-test written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bebenlebricolo/rust-web-service-test 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4e6ddba89dcbaf98f3bee20049a4cbb2352ea5c3f8186a74a0eccf08817e24d [INFO] running `Command { std: "docker" "start" "-a" "e4e6ddba89dcbaf98f3bee20049a4cbb2352ea5c3f8186a74a0eccf08817e24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4e6ddba89dcbaf98f3bee20049a4cbb2352ea5c3f8186a74a0eccf08817e24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4e6ddba89dcbaf98f3bee20049a4cbb2352ea5c3f8186a74a0eccf08817e24d", kill_on_drop: false }` [INFO] [stdout] e4e6ddba89dcbaf98f3bee20049a4cbb2352ea5c3f8186a74a0eccf08817e24d [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 264542ba0fa4169456f72b8bd8f9e5be9d26f2128b9c11579d7f96d61428b57b [INFO] running `Command { std: "docker" "start" "-a" "264542ba0fa4169456f72b8bd8f9e5be9d26f2128b9c11579d7f96d61428b57b", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling pear_codegen v0.1.5 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking cpufeatures v0.2.8 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling cookie v0.11.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling devise_core v0.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling rocket_codegen v0.4.11 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling devise_codegen v0.2.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling devise v0.2.1 [INFO] [stderr] Compiling pear v0.1.5 [INFO] [stderr] Compiling rocket_http v0.4.11 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling rocket v0.4.11 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling shellexpand v2.1.2 [INFO] [stderr] Compiling rust-embed-utils v7.5.0 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Compiling rust-embed-impl v6.6.0 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling utoipa-gen v3.3.0 [INFO] [stderr] Compiling utoipa-swagger-ui v3.1.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rust-embed v6.7.0 [INFO] [stderr] Compiling rocket_okapi_codegen v0.5.1 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking utoipa v3.3.0 [INFO] [stderr] Checking okapi v0.4.0 [INFO] [stderr] Checking rocket_contrib v0.4.11 [INFO] [stderr] Checking rocket_okapi v0.5.1 [INFO] [stderr] Checking rust-web-service-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FromForm`, `FromRequest`, `Request`, `outcome::Outcome`, and `self` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | outcome::Outcome, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | request::{self, FromRequest}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] 11 | response::{ Responder}, [INFO] [stdout] 12 | FromForm, Request, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/main.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Implicit` and `self` [INFO] [stdout] --> src/main.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | use utoipa::{openapi::{self, security::{OAuth2, Implicit, Scopes, Flow, Password, AuthorizationCode}}, OpenApi, ToSchema}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiKeyValue` and `ApiKey` [INFO] [stdout] --> src/main.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | openapi::security::{ApiKey, ApiKeyValue, SecurityScheme}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromForm`, `FromRequest`, `Request`, `outcome::Outcome`, and `self` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | outcome::Outcome, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | request::{self, FromRequest}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] 11 | response::{ Responder}, [INFO] [stdout] 12 | FromForm, Request, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/main.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Implicit` and `self` [INFO] [stdout] --> src/main.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | use utoipa::{openapi::{self, security::{OAuth2, Implicit, Scopes, Flow, Password, AuthorizationCode}}, OpenApi, ToSchema}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiKeyValue` and `ApiKey` [INFO] [stdout] --> src/main.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | openapi::security::{ApiKey, ApiKeyValue, SecurityScheme}, [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/main.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | .unwrap_or_else(|| Response::build().status(Status::NotFound).finalize()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-web-service-test` (bin "rust-web-service-test") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | .unwrap_or_else(|| Response::build().status(Status::NotFound).finalize()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-web-service-test` (bin "rust-web-service-test" test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "264542ba0fa4169456f72b8bd8f9e5be9d26f2128b9c11579d7f96d61428b57b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "264542ba0fa4169456f72b8bd8f9e5be9d26f2128b9c11579d7f96d61428b57b", kill_on_drop: false }` [INFO] [stdout] 264542ba0fa4169456f72b8bd8f9e5be9d26f2128b9c11579d7f96d61428b57b