[INFO] cloning repository https://github.com/OfficialGeniusTools/rust_api_template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OfficialGeniusTools/rust_api_template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOfficialGeniusTools%2Frust_api_template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOfficialGeniusTools%2Frust_api_template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2a7f4afa7ed5654bc255e1eb43a794d424b92a8 [INFO] checking OfficialGeniusTools/rust_api_template/f2a7f4afa7ed5654bc255e1eb43a794d424b92a8 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%2FOfficialGeniusTools%2Frust_api_template" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OfficialGeniusTools/rust_api_template 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/OfficialGeniusTools/rust_api_template [INFO] finished tweaking git repo https://github.com/OfficialGeniusTools/rust_api_template [INFO] tweaked toml for git repo https://github.com/OfficialGeniusTools/rust_api_template written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/OfficialGeniusTools/rust_api_template 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 686941e9d4771397beb7c89ec8e30912a7d7dd7e1ae45282558bc54d40c330d3 [INFO] running `Command { std: "docker" "start" "-a" "686941e9d4771397beb7c89ec8e30912a7d7dd7e1ae45282558bc54d40c330d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "686941e9d4771397beb7c89ec8e30912a7d7dd7e1ae45282558bc54d40c330d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "686941e9d4771397beb7c89ec8e30912a7d7dd7e1ae45282558bc54d40c330d3", kill_on_drop: false }` [INFO] [stdout] 686941e9d4771397beb7c89ec8e30912a7d7dd7e1ae45282558bc54d40c330d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 028403792e3d565b4a856c533ba3f123a5141d9ec935ddec5f5ba07e2450285d [INFO] running `Command { std: "docker" "start" "-a" "028403792e3d565b4a856c533ba3f123a5141d9ec935ddec5f5ba07e2450285d", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling cpufeatures v0.2.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling pear_codegen v0.1.5 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling futures-sink v0.3.23 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking polyval v0.4.5 [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 mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling rocket_codegen v0.4.11 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling ref-cast v1.0.9 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling pq-sys v0.4.7 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling rocket v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling futures-io v0.3.23 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling futures v0.3.23 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.17 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling time v0.3.13 [INFO] [stderr] Compiling devise_core v0.2.1 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling devise_codegen v0.2.1 [INFO] [stderr] Compiling devise v0.2.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling ref-cast-impl v1.0.9 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling pear v0.1.5 [INFO] [stderr] Checking rocket_http v0.4.11 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Checking rocket_contrib v0.4.11 [INFO] [stderr] Checking r2d2-diesel v1.0.0 [INFO] [stderr] Checking rust_api_template 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/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | let pool = db::init_pool(&database_url); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | / rocket::Rocket::ignite() [INFO] [stdout] 23 | | .manage(pool) [INFO] [stdout] 24 | | .mount("/api/v1", routes![ [INFO] [stdout] 25 | | get_post, get_all_posts, index, delete_post, create_post, update_post [INFO] [stdout] 26 | | ]) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_api_template` (bin "rust_api_template") due to 2 previous errors [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:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | let pool = db::init_pool(&database_url); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | / rocket::Rocket::ignite() [INFO] [stdout] 23 | | .manage(pool) [INFO] [stdout] 24 | | .mount("/api/v1", routes![ [INFO] [stdout] 25 | | get_post, get_all_posts, index, delete_post, create_post, update_post [INFO] [stdout] 26 | | ]) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_api_template` (bin "rust_api_template" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "028403792e3d565b4a856c533ba3f123a5141d9ec935ddec5f5ba07e2450285d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "028403792e3d565b4a856c533ba3f123a5141d9ec935ddec5f5ba07e2450285d", kill_on_drop: false }` [INFO] [stdout] 028403792e3d565b4a856c533ba3f123a5141d9ec935ddec5f5ba07e2450285d