[INFO] cloning repository https://github.com/snproj/string_tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snproj/string_tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnproj%2Fstring_tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnproj%2Fstring_tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0a8902cf861df2aac0a03f2e1ff0494f690cd46 [INFO] building snproj/string_tree against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnproj%2Fstring_tree" "/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/snproj/string_tree on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/snproj/string_tree [INFO] finished tweaking git repo https://github.com/snproj/string_tree [INFO] tweaked toml for git repo https://github.com/snproj/string_tree written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/snproj/string_tree 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9366a0e53849b8ba4a56636b7ebc2910dc3f400c7ba3cda2b4e2a6ba08ab22f7 [INFO] running `Command { std: "docker" "start" "-a" "9366a0e53849b8ba4a56636b7ebc2910dc3f400c7ba3cda2b4e2a6ba08ab22f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9366a0e53849b8ba4a56636b7ebc2910dc3f400c7ba3cda2b4e2a6ba08ab22f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9366a0e53849b8ba4a56636b7ebc2910dc3f400c7ba3cda2b4e2a6ba08ab22f7", kill_on_drop: false }` [INFO] [stdout] 9366a0e53849b8ba4a56636b7ebc2910dc3f400c7ba3cda2b4e2a6ba08ab22f7 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f19c61bc3f3a7191aef44b6fb245bbdcda5e2edac74be8c934d782feac02a981 [INFO] running `Command { std: "docker" "start" "-a" "f19c61bc3f3a7191aef44b6fb245bbdcda5e2edac74be8c934d782feac02a981", kill_on_drop: false }` [INFO] [stderr] Compiling string_tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/traverser.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 182 | ... if let VSON::VSO(_, Some(thing), _) = &*self.store_ptr.clone().lock().unwrap() { [INFO] [stdout] | ---------------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] ... [INFO] [stdout] 185 | ... } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/traverser.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 208 | ... if let VSON::VSO(_, _, Some(thing)) = &*self.store_ptr.clone().lock().unwrap() { [INFO] [stdout] | ---------------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] ... [INFO] [stdout] 211 | ... } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dict` [INFO] [stdout] --> src/word_actionator.rs:168:57 [INFO] [stdout] | [INFO] [stdout] 168 | fn commence_action(&self, target: Arc>, dict: Arc>) -> Option>>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dict` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `store` is never read [INFO] [stdout] --> src/traverser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Traverser> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | store: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Traverser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pprint` is never used [INFO] [stdout] --> src/traverser.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl> Traverser { [INFO] [stdout] | ------------------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn pprint(thing: &VSON, tab_count: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pprint_store` and `pprint_store_ptr` are never used [INFO] [stdout] --> src/traverser.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl> Traverser { [INFO] [stdout] | ------------------------------------------------------- methods in this implementation [INFO] [stdout] 121 | pub fn pprint_store(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn pprint_store_ptr(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `adverb` is never read [INFO] [stdout] --> src/word_actionator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct AdvLog { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 10 | adverb: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdvLog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `adjective` is never read [INFO] [stdout] --> src/word_actionator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AdjLog { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 15 | adjective: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdjLog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_indiv`, `links`, `verb`, and `adverbs` are never read [INFO] [stdout] --> src/word_actionator.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct VerbLog { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | is_indiv: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | links: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | verb: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | adverbs: Vec>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerbLog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `place`, `adjectives`, and `events` are never read [INFO] [stdout] --> src/word_actionator.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PlaceLog { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 29 | place: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | adjectives: Vec>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | events: Vec>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlaceLog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `subj_actor`, `verb`, `obj_actor`, `time`, `place`, and `desc` are never read [INFO] [stdout] --> src/word_actionator.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct EventLog { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 36 | subj_actor: ActorLog, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | verb: VerbLog, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | obj_actor: ActorLog, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | [INFO] [stdout] 40 | time: TimeLog, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | place: PlaceLog, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | desc: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventLog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time`, `events`, and `desc` are never read [INFO] [stdout] --> src/word_actionator.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct TimeLog { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 48 | time: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | events: Vec>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | desc: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeLog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_indiv`, `links`, `actor`, and `adjectives` are never read [INFO] [stdout] --> src/word_actionator.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ActorLog { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 56 | is_indiv: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | links: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | [INFO] [stdout] 59 | actor: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | adjectives: Vec>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActorLog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/word_actionator.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct WordActionResult { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 65 | events: Vec>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 66 | actors: Vec>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | verbs: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | times: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 69 | places: Vec>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 70 | [INFO] [stdout] 71 | adjs: Vec>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 72 | advs: Vec>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WordActionResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `string_tree` (bin "string_tree") due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f19c61bc3f3a7191aef44b6fb245bbdcda5e2edac74be8c934d782feac02a981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f19c61bc3f3a7191aef44b6fb245bbdcda5e2edac74be8c934d782feac02a981", kill_on_drop: false }` [INFO] [stdout] f19c61bc3f3a7191aef44b6fb245bbdcda5e2edac74be8c934d782feac02a981