[INFO] cloning repository https://github.com/ChrisMacNaughton/cargo-cacher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChrisMacNaughton/cargo-cacher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisMacNaughton%2Fcargo-cacher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisMacNaughton%2Fcargo-cacher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b874d97fa0e65005df6c8456c7879fa08056d530 [INFO] checking ChrisMacNaughton/cargo-cacher/b874d97fa0e65005df6c8456c7879fa08056d530 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%2FChrisMacNaughton%2Fcargo-cacher" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ChrisMacNaughton/cargo-cacher 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/ChrisMacNaughton/cargo-cacher [INFO] finished tweaking git repo https://github.com/ChrisMacNaughton/cargo-cacher [INFO] tweaked toml for git repo https://github.com/ChrisMacNaughton/cargo-cacher written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ChrisMacNaughton/cargo-cacher 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9de554dd1562e41e008abf7dc5b6df6ff8e022ac84b413fe396dd103e387e507 [INFO] running `Command { std: "docker" "start" "-a" "9de554dd1562e41e008abf7dc5b6df6ff8e022ac84b413fe396dd103e387e507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9de554dd1562e41e008abf7dc5b6df6ff8e022ac84b413fe396dd103e387e507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9de554dd1562e41e008abf7dc5b6df6ff8e022ac84b413fe396dd103e387e507", kill_on_drop: false }` [INFO] [stdout] 9de554dd1562e41e008abf7dc5b6df6ff8e022ac84b413fe396dd103e387e507 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6051f757235fe15fea0544b46511dec136e713ede525bd535a375631930ea8e6 [INFO] running `Command { std: "docker" "start" "-a" "6051f757235fe15fea0544b46511dec136e713ede525bd535a375631930ea8e6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking rusqlite v0.21.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking simple_logger v1.6.0 [INFO] [stderr] Compiling gumdrop_derive v0.7.0 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking logger v0.4.0 [INFO] [stderr] Checking gumdrop v0.7.0 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking cargo-lock v4.0.1 [INFO] [stderr] Checking cargo-cacher v1.2.5 (/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:383:8 [INFO] [stdout] | [INFO] [stdout] 381 | let db = Database::new(None::<&str>); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 382 | let stats = db.stats(); [INFO] [stdout] 383 | Ok(Response::with(( [INFO] [stdout] | ________^ [INFO] [stdout] 384 | | status::Ok, [INFO] [stdout] 385 | | format!( [INFO] [stdout] 386 | | include_str!("stats.html"), [INFO] [stdout] ... | [INFO] [stdout] 389 | | Mime(TopLevel::Text, SubLevel::Html, vec![]), [INFO] [stdout] 390 | | ))) [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:396:8 [INFO] [stdout] | [INFO] [stdout] 394 | let db = Database::new(None::<&str>); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | let stats = db.stats(); [INFO] [stdout] 396 | Ok(Response::with(( [INFO] [stdout] | ________^ [INFO] [stdout] 397 | | status::Ok, [INFO] [stdout] 398 | | stats.as_json(), [INFO] [stdout] 399 | | Mime(TopLevel::Text, SubLevel::Json, vec![]), [INFO] [stdout] 400 | | ))) [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/git.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 44 | let mut cmd = Command::new("git"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let mut p = match cmd.spawn() { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Ok(s) => s, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let mut rdr = io::BufReader::new(io::Cursor::new(out.stdout)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | Ok(Response::with((Status::Ok, [INFO] [stdout] | ________^ [INFO] [stdout] 109 | | BodyReader(rdr), [INFO] [stdout] 110 | | Mime(TopLevel::Application, SubLevel::Ext(content_type), vec![])))) [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/main.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 381 | let db = Database::new(None::<&str>); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 382 | let stats = db.stats(); [INFO] [stdout] 383 | Ok(Response::with(( [INFO] [stdout] | ________^ [INFO] [stdout] 384 | | status::Ok, [INFO] [stdout] 385 | | format!( [INFO] [stdout] 386 | | include_str!("stats.html"), [INFO] [stdout] ... | [INFO] [stdout] 389 | | Mime(TopLevel::Text, SubLevel::Html, vec![]), [INFO] [stdout] 390 | | ))) [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:396:8 [INFO] [stdout] | [INFO] [stdout] 394 | let db = Database::new(None::<&str>); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | let stats = db.stats(); [INFO] [stdout] 396 | Ok(Response::with(( [INFO] [stdout] | ________^ [INFO] [stdout] 397 | | status::Ok, [INFO] [stdout] 398 | | stats.as_json(), [INFO] [stdout] 399 | | Mime(TopLevel::Text, SubLevel::Json, vec![]), [INFO] [stdout] 400 | | ))) [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/git.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 44 | let mut cmd = Command::new("git"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let mut p = match cmd.spawn() { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Ok(s) => s, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let mut rdr = io::BufReader::new(io::Cursor::new(out.stdout)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | Ok(Response::with((Status::Ok, [INFO] [stdout] | ________^ [INFO] [stdout] 109 | | BodyReader(rdr), [INFO] [stdout] 110 | | Mime(TopLevel::Application, SubLevel::Ext(content_type), vec![])))) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-cacher` (bin "cargo-cacher" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-cacher` (bin "cargo-cacher") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "6051f757235fe15fea0544b46511dec136e713ede525bd535a375631930ea8e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6051f757235fe15fea0544b46511dec136e713ede525bd535a375631930ea8e6", kill_on_drop: false }` [INFO] [stdout] 6051f757235fe15fea0544b46511dec136e713ede525bd535a375631930ea8e6