[INFO] cloning repository https://github.com/Arctic904/ante [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arctic904/ante" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArctic904%2Fante", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArctic904%2Fante'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dad7952ca013ac359ed030a91d502bced1f361f4 [INFO] building Arctic904/ante against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArctic904%2Fante" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Arctic904/ante on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Arctic904/ante [INFO] finished tweaking git repo https://github.com/Arctic904/ante [INFO] tweaked toml for git repo https://github.com/Arctic904/ante written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Arctic904/ante 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termion v3.0.0 [INFO] [stderr] Downloaded redox_termios v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a63e29de3ef215acfa96836be2cd012cf278a7b87c203a206b64a4e1f384768 [INFO] running `Command { std: "docker" "start" "-a" "1a63e29de3ef215acfa96836be2cd012cf278a7b87c203a206b64a4e1f384768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a63e29de3ef215acfa96836be2cd012cf278a7b87c203a206b64a4e1f384768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a63e29de3ef215acfa96836be2cd012cf278a7b87c203a206b64a4e1f384768", kill_on_drop: false }` [INFO] [stdout] 1a63e29de3ef215acfa96836be2cd012cf278a7b87c203a206b64a4e1f384768 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90063a1279658468c7790b008b9d3a94fdececae1c9fb5bff96e6dae32292e22 [INFO] running `Command { std: "docker" "start" "-a" "90063a1279658468c7790b008b9d3a94fdececae1c9fb5bff96e6dae32292e22", kill_on_drop: false }` [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling termion v3.0.0 [INFO] [stderr] Compiling ante v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/rope.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | fn insert(&mut self, pos: usize, value: Vec) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/rope.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn insert(&mut self, pos: usize, value: Vec) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/rope.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let data = self.collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/rope.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut c = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | _ => write!(stdout, "Unimplimented").unwrap(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 44 | CommandList::Quit => break, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 45 | CommandList::Clear => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 55 | CommandList::NewFile => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 64 | CommandList::Invalid => write!( [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 78 | _ => write!(stdout, "Unimplimented").unwrap(), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/rope.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Rope { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 3 | root: Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Leaf(LeafData), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Leaf(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Internal` is never constructed [INFO] [stdout] --> src/rope.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 9 | Leaf(LeafData), [INFO] [stdout] 10 | Internal(InternalData), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/rope.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct LeafData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | content: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LeafData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `size`, and `children` are never read [INFO] [stdout] --> src/rope.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct InternalData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 20 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | children: Box<(Node, Node)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InternalData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_fib` is never used [INFO] [stdout] --> src/rope.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn calc_fib(n: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textPos` should have a snake case name [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut textPos: Cursor = Cursor { x: 1, y: 1 }; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `text_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "90063a1279658468c7790b008b9d3a94fdececae1c9fb5bff96e6dae32292e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90063a1279658468c7790b008b9d3a94fdececae1c9fb5bff96e6dae32292e22", kill_on_drop: false }` [INFO] [stdout] 90063a1279658468c7790b008b9d3a94fdececae1c9fb5bff96e6dae32292e22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40122f78fd3c35ad554098e5e1f1611f916cb8875702864851a06f963cb797e8 [INFO] running `Command { std: "docker" "start" "-a" "40122f78fd3c35ad554098e5e1f1611f916cb8875702864851a06f963cb797e8", kill_on_drop: false }` [INFO] [stderr] Compiling ante v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/rope.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | fn insert(&mut self, pos: usize, value: Vec) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/rope.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn insert(&mut self, pos: usize, value: Vec) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/rope.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let data = self.collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/rope.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut c = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | _ => write!(stdout, "Unimplimented").unwrap(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 44 | CommandList::Quit => break, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 45 | CommandList::Clear => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 55 | CommandList::NewFile => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 64 | CommandList::Invalid => write!( [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 78 | _ => write!(stdout, "Unimplimented").unwrap(), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/rope.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Rope { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 3 | root: Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Leaf(LeafData), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Leaf(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Internal` is never constructed [INFO] [stdout] --> src/rope.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 9 | Leaf(LeafData), [INFO] [stdout] 10 | Internal(InternalData), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/rope.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct LeafData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | content: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LeafData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `size`, and `children` are never read [INFO] [stdout] --> src/rope.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct InternalData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 20 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | children: Box<(Node, Node)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InternalData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_fib` is never used [INFO] [stdout] --> src/rope.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn calc_fib(n: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textPos` should have a snake case name [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut textPos: Cursor = Cursor { x: 1, y: 1 }; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `text_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "40122f78fd3c35ad554098e5e1f1611f916cb8875702864851a06f963cb797e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40122f78fd3c35ad554098e5e1f1611f916cb8875702864851a06f963cb797e8", kill_on_drop: false }` [INFO] [stdout] 40122f78fd3c35ad554098e5e1f1611f916cb8875702864851a06f963cb797e8