[INFO] cloning repository https://github.com/crazycrab0x2/outRank_fileupload_Backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crazycrab0x2/outRank_fileupload_Backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrazycrab0x2%2FoutRank_fileupload_Backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrazycrab0x2%2FoutRank_fileupload_Backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8a796ec66cca3dcfb94d062970c6238b623f89e [INFO] checking crazycrab0x2/outRank_fileupload_Backend/c8a796ec66cca3dcfb94d062970c6238b623f89e 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%2Fcrazycrab0x2%2FoutRank_fileupload_Backend" "/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/crazycrab0x2/outRank_fileupload_Backend 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/crazycrab0x2/outRank_fileupload_Backend [INFO] finished tweaking git repo https://github.com/crazycrab0x2/outRank_fileupload_Backend [INFO] tweaked toml for git repo https://github.com/crazycrab0x2/outRank_fileupload_Backend written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/crazycrab0x2/outRank_fileupload_Backend 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-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] 18bf23a9d104ae04c0655a8430344ac73bc545df1d9d732a79bc9b502634e5a4 [INFO] running `Command { std: "docker" "start" "-a" "18bf23a9d104ae04c0655a8430344ac73bc545df1d9d732a79bc9b502634e5a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18bf23a9d104ae04c0655a8430344ac73bc545df1d9d732a79bc9b502634e5a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18bf23a9d104ae04c0655a8430344ac73bc545df1d9d732a79bc9b502634e5a4", kill_on_drop: false }` [INFO] [stdout] 18bf23a9d104ae04c0655a8430344ac73bc545df1d9d732a79bc9b502634e5a4 [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] a9dbc2edcfbb955e9dffc1b4627ac0cee315d33844bea63337520c1296e7f939 [INFO] running `Command { std: "docker" "start" "-a" "a9dbc2edcfbb955e9dffc1b4627ac0cee315d33844bea63337520c1296e7f939", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.33 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking bytestring v1.3.0 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Checking pin-project v0.4.30 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix-http v2.2.2 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.3 [INFO] [stderr] Checking actix-multipart v0.3.0 [INFO] [stderr] Checking actix-cors v0.5.4 [INFO] [stderr] Checking outrank_file_upload v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:102:39 [INFO] [stdout] | [INFO] [stdout] 102 | let url = format!("{}{}", ress.clone(), file_name); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [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:217:9 [INFO] [stdout] | [INFO] [stdout] 208 | let cors = Cors::default() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | / App::new() [INFO] [stdout] 218 | | .wrap(cors) [INFO] [stdout] 219 | | .route("/upload", web::post().to(upload_file)) [INFO] [stdout] 220 | | .route("/all-files", web::get().to(get_file_names)) [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: 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:221:33 [INFO] [stdout] | [INFO] [stdout] 208 | let cors = Cors::default() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | .route("/get-info", web::get().to(get_canister_info)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `outrank_file_upload` (bin "outrank_file_upload") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:102:39 [INFO] [stdout] | [INFO] [stdout] 102 | let url = format!("{}{}", ress.clone(), file_name); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [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:217:9 [INFO] [stdout] | [INFO] [stdout] 208 | let cors = Cors::default() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | / App::new() [INFO] [stdout] 218 | | .wrap(cors) [INFO] [stdout] 219 | | .route("/upload", web::post().to(upload_file)) [INFO] [stdout] 220 | | .route("/all-files", web::get().to(get_file_names)) [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: 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:221:33 [INFO] [stdout] | [INFO] [stdout] 208 | let cors = Cors::default() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | .route("/get-info", web::get().to(get_canister_info)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `outrank_file_upload` (bin "outrank_file_upload" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a9dbc2edcfbb955e9dffc1b4627ac0cee315d33844bea63337520c1296e7f939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9dbc2edcfbb955e9dffc1b4627ac0cee315d33844bea63337520c1296e7f939", kill_on_drop: false }` [INFO] [stdout] a9dbc2edcfbb955e9dffc1b4627ac0cee315d33844bea63337520c1296e7f939