[INFO] cloning repository https://github.com/abhijat/ya2d2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abhijat/ya2d2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijat%2Fya2d2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijat%2Fya2d2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 541f6c51a1c5ef8ba2053cad8c2519ecf847b9be [INFO] checking abhijat/ya2d2/541f6c51a1c5ef8ba2053cad8c2519ecf847b9be 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%2Fabhijat%2Fya2d2" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abhijat/ya2d2 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/abhijat/ya2d2 [INFO] finished tweaking git repo https://github.com/abhijat/ya2d2 [INFO] tweaked toml for git repo https://github.com/abhijat/ya2d2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/abhijat/ya2d2 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f4c83830948ab4ca03dfeb3a3bab027340cf6b680b0110ea37124c63ac3b486b [INFO] running `Command { std: "docker" "start" "-a" "f4c83830948ab4ca03dfeb3a3bab027340cf6b680b0110ea37124c63ac3b486b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4c83830948ab4ca03dfeb3a3bab027340cf6b680b0110ea37124c63ac3b486b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4c83830948ab4ca03dfeb3a3bab027340cf6b680b0110ea37124c63ac3b486b", kill_on_drop: false }` [INFO] [stdout] f4c83830948ab4ca03dfeb3a3bab027340cf6b680b0110ea37124c63ac3b486b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cc4671df52295b2380dfbd3f7f3d738dac0c20b1fd547af5613030f606a83787 [INFO] running `Command { std: "docker" "start" "-a" "cc4671df52295b2380dfbd3f7f3d738dac0c20b1fd547af5613030f606a83787", 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.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Checking crossbeam-utils v0.6.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking coco v0.2.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Checking historian v3.0.4 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Checking smallstr v0.1.0 [INFO] [stderr] Checking md5 v0.6.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking dirs v1.0.4 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Checking sled_sync v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Checking pagetable v0.1.1 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling terminfo v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking mortal v0.1.5 [INFO] [stderr] Checking linefeed v0.5.3 [INFO] [stderr] Checking pagecache v0.7.7 [INFO] [stderr] Checking sled v0.16.6 [INFO] [stderr] Checking ya2d2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/shell.rs:18:119 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn start_shell(tree: Arc, reader: &Interface, config: Option<&Configuration>) -> Result<(), Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn start_shell(tree: Arc, reader: &Interface, config: Option<&Configuration>) -> Result<(), Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/initialize.rs:28:78 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn reader(db: Arc) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn reader(db: Arc) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/shell.rs:18:119 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn start_shell(tree: Arc, reader: &Interface, config: Option<&Configuration>) -> Result<(), Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn start_shell(tree: Arc, reader: &Interface, config: Option<&Configuration>) -> Result<(), Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/initialize.rs:28:78 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn reader(db: Arc) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn reader(db: Arc) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tags` is never read [INFO] [stdout] --> src/cmd/command_objects.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | PushCommand { payload: String, tags: Option> }, [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tags` is never read [INFO] [stdout] --> src/cmd/command_objects.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | ListCommand { tags: Option> }, [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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/shell/shell.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | fn in_memory_reader(terminal: MemoryTerminal) -> Interface { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | Interface::with_term("test", terminal) [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/shell/shell.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 127 | fn nth_task_from_db(db: Arc, n: usize) -> Task { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | let (_, value) = db.iter() [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | serde_json::from_slice(&value).expect(&format!( [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ya2d2` (bin "ya2d2" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cc4671df52295b2380dfbd3f7f3d738dac0c20b1fd547af5613030f606a83787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc4671df52295b2380dfbd3f7f3d738dac0c20b1fd547af5613030f606a83787", kill_on_drop: false }` [INFO] [stdout] cc4671df52295b2380dfbd3f7f3d738dac0c20b1fd547af5613030f606a83787