[INFO] cloning repository https://github.com/LarryHsiao/carpo_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LarryHsiao/carpo_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLarryHsiao%2Fcarpo_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLarryHsiao%2Fcarpo_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 887a30f7dce0187ebdfd1d940fc4496da864fcc6 [INFO] checking LarryHsiao/carpo_rs/887a30f7dce0187ebdfd1d940fc4496da864fcc6 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%2FLarryHsiao%2Fcarpo_rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LarryHsiao/carpo_rs 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/LarryHsiao/carpo_rs [INFO] finished tweaking git repo https://github.com/LarryHsiao/carpo_rs [INFO] tweaked toml for git repo https://github.com/LarryHsiao/carpo_rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LarryHsiao/carpo_rs 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3cb8a130855bab7394c804441ed5747fd679593c93a701287b6ade078ff3f6a9 [INFO] running `Command { std: "docker" "start" "-a" "3cb8a130855bab7394c804441ed5747fd679593c93a701287b6ade078ff3f6a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cb8a130855bab7394c804441ed5747fd679593c93a701287b6ade078ff3f6a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb8a130855bab7394c804441ed5747fd679593c93a701287b6ade078ff3f6a9", kill_on_drop: false }` [INFO] [stdout] 3cb8a130855bab7394c804441ed5747fd679593c93a701287b6ade078ff3f6a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1e0fc0449b15659961e4e8c809e54e02155c2d6e413e75c8d39753e41536a2c8 [INFO] running `Command { std: "docker" "start" "-a" "1e0fc0449b15659961e4e8c809e54e02155c2d6e413e75c8d39753e41536a2c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling unicode-segmentation v1.5.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking mime v0.3.14 [INFO] [stderr] Checking open v1.3.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling libsqlite3-sys v0.16.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking sciter-rs v0.5.46 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling structopt-derive v0.3.3 [INFO] [stderr] Checking structopt v0.3.3 [INFO] [stderr] Checking serde_json v1.0.42 [INFO] [stderr] Checking rusqlite v0.20.0 [INFO] [stderr] Checking carpo v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tags.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / &self.conn.execute( [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | create table if not exists tags( [INFO] [stdout] 32 | | id integer primary key autoincrement, [INFO] [stdout] ... | [INFO] [stdout] 35 | | NO_PARAMS, [INFO] [stdout] 36 | | )?; [INFO] [stdout] | |__________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = &self.conn.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tags.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / &self.conn.execute( [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | CREATE TABLE IF NOT EXISTS files( [INFO] [stdout] 41 | | id integer primary key autoincrement, [INFO] [stdout] ... | [INFO] [stdout] 45 | | NO_PARAMS, [INFO] [stdout] 46 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = &self.conn.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tags.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / &self.conn.execute( [INFO] [stdout] 49 | | r#" [INFO] [stdout] 50 | | CREATE TABLE IF NOT EXISTS files_tags( [INFO] [stdout] 51 | | id integer primary key autoincrement, [INFO] [stdout] ... | [INFO] [stdout] 57 | | NO_PARAMS, [INFO] [stdout] 58 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = &self.conn.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tags.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / &self.conn.execute( [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | create table if not exists tags( [INFO] [stdout] 32 | | id integer primary key autoincrement, [INFO] [stdout] ... | [INFO] [stdout] 35 | | NO_PARAMS, [INFO] [stdout] 36 | | )?; [INFO] [stdout] | |__________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = &self.conn.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tags.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / &self.conn.execute( [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | CREATE TABLE IF NOT EXISTS files( [INFO] [stdout] 41 | | id integer primary key autoincrement, [INFO] [stdout] ... | [INFO] [stdout] 45 | | NO_PARAMS, [INFO] [stdout] 46 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = &self.conn.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tags.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / &self.conn.execute( [INFO] [stdout] 49 | | r#" [INFO] [stdout] 50 | | CREATE TABLE IF NOT EXISTS files_tags( [INFO] [stdout] 51 | | id integer primary key autoincrement, [INFO] [stdout] ... | [INFO] [stdout] 57 | | NO_PARAMS, [INFO] [stdout] 58 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = &self.conn.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 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] --> tests/tags.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 84 | let conn = Connection::open_in_memory().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let root = tempfile::tempdir().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | assert_eq!(file_source.value().unwrap().len(), 3) [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] --> tests/tags.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 188 | let conn = Connection::open_in_memory().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | let root = tempfile::tempdir().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | assert_eq!(result.value().unwrap().len(), 1) [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] --> tests/tags.rs:252:16 [INFO] [stdout] | [INFO] [stdout] 232 | let conn = Connection::open_in_memory().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | let root = tempfile::tempdir().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | assert_eq!(result.value().unwrap().len(), 0) [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] [stderr] error: could not compile `carpo` (test "tags") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tags.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / &self.conn.execute( [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | create table if not exists tags( [INFO] [stdout] 32 | | id integer primary key autoincrement, [INFO] [stdout] ... | [INFO] [stdout] 35 | | NO_PARAMS, [INFO] [stdout] 36 | | )?; [INFO] [stdout] | |__________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = &self.conn.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tags.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / &self.conn.execute( [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | CREATE TABLE IF NOT EXISTS files( [INFO] [stdout] 41 | | id integer primary key autoincrement, [INFO] [stdout] ... | [INFO] [stdout] 45 | | NO_PARAMS, [INFO] [stdout] 46 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = &self.conn.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tags.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / &self.conn.execute( [INFO] [stdout] 49 | | r#" [INFO] [stdout] 50 | | CREATE TABLE IF NOT EXISTS files_tags( [INFO] [stdout] 51 | | id integer primary key autoincrement, [INFO] [stdout] ... | [INFO] [stdout] 57 | | NO_PARAMS, [INFO] [stdout] 58 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = &self.conn.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tags.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / &self.conn.execute( [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | create table if not exists tags( [INFO] [stdout] 32 | | id integer primary key autoincrement, [INFO] [stdout] ... | [INFO] [stdout] 35 | | NO_PARAMS, [INFO] [stdout] 36 | | )?; [INFO] [stdout] | |__________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = &self.conn.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tags.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / &self.conn.execute( [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | CREATE TABLE IF NOT EXISTS files( [INFO] [stdout] 41 | | id integer primary key autoincrement, [INFO] [stdout] ... | [INFO] [stdout] 45 | | NO_PARAMS, [INFO] [stdout] 46 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = &self.conn.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tags.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / &self.conn.execute( [INFO] [stdout] 49 | | r#" [INFO] [stdout] 50 | | CREATE TABLE IF NOT EXISTS files_tags( [INFO] [stdout] 51 | | id integer primary key autoincrement, [INFO] [stdout] ... | [INFO] [stdout] 57 | | NO_PARAMS, [INFO] [stdout] 58 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = &self.conn.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1e0fc0449b15659961e4e8c809e54e02155c2d6e413e75c8d39753e41536a2c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0fc0449b15659961e4e8c809e54e02155c2d6e413e75c8d39753e41536a2c8", kill_on_drop: false }` [INFO] [stdout] 1e0fc0449b15659961e4e8c809e54e02155c2d6e413e75c8d39753e41536a2c8