[INFO] cloning repository https://github.com/dantarian/adventofcode2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dantarian/adventofcode2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdantarian%2Fadventofcode2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdantarian%2Fadventofcode2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d924f025928aa46dca3dd27abaf7bd0a4bfccc7c [INFO] checking dantarian/adventofcode2019/d924f025928aa46dca3dd27abaf7bd0a4bfccc7c 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%2Fdantarian%2Fadventofcode2019" "/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/dantarian/adventofcode2019 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/dantarian/adventofcode2019 [INFO] finished tweaking git repo https://github.com/dantarian/adventofcode2019 [INFO] tweaked toml for git repo https://github.com/dantarian/adventofcode2019 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dantarian/adventofcode2019 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] bf248cacda3a1e5a80842dfc2c9634e2415bfa2da4cd363acce62768ba37503f [INFO] running `Command { std: "docker" "start" "-a" "bf248cacda3a1e5a80842dfc2c9634e2415bfa2da4cd363acce62768ba37503f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf248cacda3a1e5a80842dfc2c9634e2415bfa2da4cd363acce62768ba37503f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf248cacda3a1e5a80842dfc2c9634e2415bfa2da4cd363acce62768ba37503f", kill_on_drop: false }` [INFO] [stdout] bf248cacda3a1e5a80842dfc2c9634e2415bfa2da4cd363acce62768ba37503f [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] 4112e360e5a986090df75c4ab6da50e1c2a49ef57781b94430eabd47aefc4564 [INFO] running `Command { std: "docker" "start" "-a" "4112e360e5a986090df75c4ab6da50e1c2a49ef57781b94430eabd47aefc4564", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking gag v0.1.10 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling serial_test_derive v0.3.2 [INFO] [stderr] Checking serial_test v0.3.2 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking adventofcode2019 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/day1.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 20 | fn read(io: R) -> Result, std::io::Error> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let br = BufReader::new(io); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | / br.lines() [INFO] [stdout] 23 | | .map(|line| line.and_then(|v| v.parse().map_err(|e| std::io::Error::new(ErrorKind::InvalidData, e)))) [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/day3.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 29 | fn read(io: R) -> Result>, std::io::Error> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let br = BufReader::new(io); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | / br.lines() [INFO] [stdout] 32 | | .map(|r| r.and_then(|s| Ok(s.split(",").map(|s| String::from(s)).collect()))) [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/day6.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn read(io: R) -> Result, std::io::Error> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let br = BufReader::new(io); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | br.lines().collect() [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/day7.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 107 | fn make_computer(initial_state: Vec, input: Receiver, output: SyncSender) -> Computer { [INFO] [stdout] | -------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Computer::new(initial_state, Some(ComputerInput::Channel(input)), Some(ComputerOutput::Channel(output))) [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/day7.rs:108:71 [INFO] [stdout] | [INFO] [stdout] 107 | fn make_computer(initial_state: Vec, input: Receiver, output: SyncSender) -> Computer { [INFO] [stdout] | -------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Computer::new(initial_state, Some(ComputerInput::Channel(input)), Some(ComputerOutput::Channel(output))) [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/day7.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 111 | fn launch_computer(initial_state: Vec, input: Receiver, output: SyncSender) -> thread::JoinHandle<()> { [INFO] [stdout] | -------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | thread::spawn(move || { [INFO] [stdout] | ___________________^ [INFO] [stdout] 113 | | let mut c = make_computer(initial_state, input, output); [INFO] [stdout] 114 | | c.run().unwrap_or_else(|e| { [INFO] [stdout] 115 | | eprintln!("Problem running computer: {}", e); [INFO] [stdout] 116 | | process::exit(1); [INFO] [stdout] 117 | | }); [INFO] [stdout] 118 | | }) [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/day10.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 90 | fn read(io: R) -> Result, std::io::Error> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let br = BufReader::new(io); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | br.lines().collect() [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/util.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_comma_separated_integers(io: R) -> Result, std::io::Error> [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | let br = BufReader::new(io); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | / br.split(b',') [INFO] [stdout] 13 | | .map(|r| r.and_then(|v| String::from_utf8(v).map_err(|e| std::io::Error::new(ErrorKind::InvalidData, e)))) [INFO] [stdout] 14 | | .map(|r| r.unwrap()) [INFO] [stdout] 15 | | .map(|s| String::from(s.trim())) [INFO] [stdout] 16 | | .filter(|s| s.len() > 0) [INFO] [stdout] 17 | | .map(|s| s.parse::().map_err(|_| std::io::Error::new(ErrorKind::InvalidData, "Failed to parse value."))) [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/util.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | .map(|s| s.parse::().map_err(|_| std::io::Error::new(ErrorKind::InvalidData, "Failed to parse value."))) [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/util.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn read_digits(io: R) -> Vec { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | / io.bytes() [INFO] [stdout] 23 | | .filter_map(|r| r.ok()) [INFO] [stdout] 24 | | .filter(|&x| x >= b'0' && x <= b'9') [INFO] [stdout] 25 | | .map(|x| x - 48) [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/intcode.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(memory: Vec, input: Option>, output: Option>) -> Self { [INFO] [stdout] | ------------------------------- --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | input: input.unwrap_or(ComputerInput::Queue(VecDeque::new())), [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/intcode.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(memory: Vec, input: Option>, output: Option>) -> Self { [INFO] [stdout] | ------------------------------- --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | output: output.unwrap_or(ComputerOutput::Queue(VecDeque::new())), [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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2019` (lib) due to 13 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/day1.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 20 | fn read(io: R) -> Result, std::io::Error> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let br = BufReader::new(io); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | / br.lines() [INFO] [stdout] 23 | | .map(|line| line.and_then(|v| v.parse().map_err(|e| std::io::Error::new(ErrorKind::InvalidData, e)))) [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/day3.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 29 | fn read(io: R) -> Result>, std::io::Error> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let br = BufReader::new(io); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | / br.lines() [INFO] [stdout] 32 | | .map(|r| r.and_then(|s| Ok(s.split(",").map(|s| String::from(s)).collect()))) [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/day6.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn read(io: R) -> Result, std::io::Error> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let br = BufReader::new(io); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | br.lines().collect() [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/day7.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 107 | fn make_computer(initial_state: Vec, input: Receiver, output: SyncSender) -> Computer { [INFO] [stdout] | -------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Computer::new(initial_state, Some(ComputerInput::Channel(input)), Some(ComputerOutput::Channel(output))) [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/day7.rs:108:71 [INFO] [stdout] | [INFO] [stdout] 107 | fn make_computer(initial_state: Vec, input: Receiver, output: SyncSender) -> Computer { [INFO] [stdout] | -------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Computer::new(initial_state, Some(ComputerInput::Channel(input)), Some(ComputerOutput::Channel(output))) [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/day7.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 111 | fn launch_computer(initial_state: Vec, input: Receiver, output: SyncSender) -> thread::JoinHandle<()> { [INFO] [stdout] | -------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | thread::spawn(move || { [INFO] [stdout] | ___________________^ [INFO] [stdout] 113 | | let mut c = make_computer(initial_state, input, output); [INFO] [stdout] 114 | | c.run().unwrap_or_else(|e| { [INFO] [stdout] 115 | | eprintln!("Problem running computer: {}", e); [INFO] [stdout] 116 | | process::exit(1); [INFO] [stdout] 117 | | }); [INFO] [stdout] 118 | | }) [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/day10.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 90 | fn read(io: R) -> Result, std::io::Error> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let br = BufReader::new(io); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | br.lines().collect() [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/util.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_comma_separated_integers(io: R) -> Result, std::io::Error> [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | let br = BufReader::new(io); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | / br.split(b',') [INFO] [stdout] 13 | | .map(|r| r.and_then(|v| String::from_utf8(v).map_err(|e| std::io::Error::new(ErrorKind::InvalidData, e)))) [INFO] [stdout] 14 | | .map(|r| r.unwrap()) [INFO] [stdout] 15 | | .map(|s| String::from(s.trim())) [INFO] [stdout] 16 | | .filter(|s| s.len() > 0) [INFO] [stdout] 17 | | .map(|s| s.parse::().map_err(|_| std::io::Error::new(ErrorKind::InvalidData, "Failed to parse value."))) [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/util.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | .map(|s| s.parse::().map_err(|_| std::io::Error::new(ErrorKind::InvalidData, "Failed to parse value."))) [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/util.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn read_digits(io: R) -> Vec { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | / io.bytes() [INFO] [stdout] 23 | | .filter_map(|r| r.ok()) [INFO] [stdout] 24 | | .filter(|&x| x >= b'0' && x <= b'9') [INFO] [stdout] 25 | | .map(|x| x - 48) [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/intcode.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(memory: Vec, input: Option>, output: Option>) -> Self { [INFO] [stdout] | ------------------------------- --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | input: input.unwrap_or(ComputerInput::Queue(VecDeque::new())), [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/intcode.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(memory: Vec, input: Option>, output: Option>) -> Self { [INFO] [stdout] | ------------------------------- --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | output: output.unwrap_or(ComputerOutput::Queue(VecDeque::new())), [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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2019` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "4112e360e5a986090df75c4ab6da50e1c2a49ef57781b94430eabd47aefc4564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4112e360e5a986090df75c4ab6da50e1c2a49ef57781b94430eabd47aefc4564", kill_on_drop: false }` [INFO] [stdout] 4112e360e5a986090df75c4ab6da50e1c2a49ef57781b94430eabd47aefc4564