[INFO] cloning repository https://github.com/cairesvs/city [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cairesvs/city" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcairesvs%2Fcity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcairesvs%2Fcity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3af6636e158de0d4152c6b92873c433c46a6cfb1 [INFO] checking cairesvs/city/3af6636e158de0d4152c6b92873c433c46a6cfb1 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%2Fcairesvs%2Fcity" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cairesvs/city 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/cairesvs/city [INFO] finished tweaking git repo https://github.com/cairesvs/city [INFO] tweaked toml for git repo https://github.com/cairesvs/city written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cairesvs/city 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4b15624e29b24b5433dba1f6327fa6566a43b0b2afb1ce666799ddb6c47a20e1 [INFO] running `Command { std: "docker" "start" "-a" "4b15624e29b24b5433dba1f6327fa6566a43b0b2afb1ce666799ddb6c47a20e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b15624e29b24b5433dba1f6327fa6566a43b0b2afb1ce666799ddb6c47a20e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b15624e29b24b5433dba1f6327fa6566a43b0b2afb1ce666799ddb6c47a20e1", kill_on_drop: false }` [INFO] [stdout] 4b15624e29b24b5433dba1f6327fa6566a43b0b2afb1ce666799ddb6c47a20e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b8e0932f92251fd752f53483ac638ae508c3e6ec2d6d029888cf525b3a67e3d6 [INFO] running `Command { std: "docker" "start" "-a" "b8e0932f92251fd752f53483ac638ae508c3e6ec2d6d029888cf525b3a67e3d6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling ryu v0.2.4 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking slog v2.3.2 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking isatty v0.1.8 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking route-recognizer v0.1.12 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling phf_shared v0.7.22 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking phf v0.7.22 [INFO] [stderr] Checking slog-async v2.3.0 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking chrono v0.4.5 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Checking slog-term v2.4.0 [INFO] [stderr] Checking hyper v0.10.13 [INFO] [stderr] Checking serde_json v1.0.26 [INFO] [stderr] Checking iron v0.6.0 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking logger v0.4.0 (https://github.com/iron/logger.git#59873ba2) [INFO] [stderr] Checking slog-json v2.2.0 [INFO] [stderr] Checking bodyparser v0.8.0 (https://github.com/iron/body-parser.git#49ae53cd) [INFO] [stderr] Checking city v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/components/json.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | err.response = try!(self.after(req, err.response)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/components/json.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | err.response = try!(self.after(req, err.response)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `environment` is never read [INFO] [stdout] --> src/components/context.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub environment: &'static str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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:24:11 [INFO] [stdout] | [INFO] [stdout] 20 | let services = Services::new(Context::new()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let mut chain = Chain::new(services.get_router()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | match Iron::new(chain).http("127.0.0.1:3000") { [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] warning: field `environment` is never read [INFO] [stdout] --> src/components/context.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub environment: &'static str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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:24:11 [INFO] [stdout] | [INFO] [stdout] 20 | let services = Services::new(Context::new()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let mut chain = Chain::new(services.get_router()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | match Iron::new(chain).http("127.0.0.1:3000") { [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/components/json.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(value: T) -> JsonResponse { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | JsonResponse { [INFO] [stdout] 21 | value: value::to_value(&value).unwrap_or(Json::Null), [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/components/json.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(value: T) -> JsonResponse { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | JsonResponse { [INFO] [stdout] 21 | value: value::to_value(&value).unwrap_or(Json::Null), [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `city` (bin "city") due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `city` (bin "city" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b8e0932f92251fd752f53483ac638ae508c3e6ec2d6d029888cf525b3a67e3d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e0932f92251fd752f53483ac638ae508c3e6ec2d6d029888cf525b3a67e3d6", kill_on_drop: false }` [INFO] [stdout] b8e0932f92251fd752f53483ac638ae508c3e6ec2d6d029888cf525b3a67e3d6