[INFO] cloning repository https://github.com/ayrapetovai/binc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayrapetovai/binc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayrapetovai%2Fbinc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayrapetovai%2Fbinc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cefea7e0065855b0f14f205cdff2d87b03549181 [INFO] building ayrapetovai/binc 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%2Fayrapetovai%2Fbinc" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ayrapetovai/binc 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/ayrapetovai/binc [INFO] finished tweaking git repo https://github.com/ayrapetovai/binc [INFO] tweaked toml for git repo https://github.com/ayrapetovai/binc written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ayrapetovai/binc 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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clipboard-win v4.4.1 [INFO] [stderr] Downloaded crossterm_screen v0.3.2 [INFO] [stderr] Downloaded str-buf v1.0.5 [INFO] [stderr] Downloaded crossterm_cursor v0.4.0 [INFO] [stderr] Downloaded crossterm_utils v0.4.0 [INFO] [stderr] Downloaded crossterm_input v0.5.0 [INFO] [stderr] Downloaded crossterm_winapi v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0dff0d19a2a3e94cbe6d8f79d9312f486a0c0f577e7654abe34380f6cf3d976e [INFO] running `Command { std: "docker" "start" "-a" "0dff0d19a2a3e94cbe6d8f79d9312f486a0c0f577e7654abe34380f6cf3d976e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dff0d19a2a3e94cbe6d8f79d9312f486a0c0f577e7654abe34380f6cf3d976e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dff0d19a2a3e94cbe6d8f79d9312f486a0c0f577e7654abe34380f6cf3d976e", kill_on_drop: false }` [INFO] [stdout] 0dff0d19a2a3e94cbe6d8f79d9312f486a0c0f577e7654abe34380f6cf3d976e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c293db645bddcd1447725d4bf90a4ad67be537d0da5c6fd32ea889e55b8bdf51 [INFO] running `Command { std: "docker" "start" "-a" "c293db645bddcd1447725d4bf90a4ad67be537d0da5c6fd32ea889e55b8bdf51", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling crossterm_utils v0.4.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling fd-lock v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crossterm_screen v0.3.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v3.1.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling stderrlog v0.4.3 [INFO] [stderr] Compiling crossterm_input v0.5.0 [INFO] [stderr] Compiling crossterm_cursor v0.4.0 [INFO] [stderr] Compiling rustyline v8.2.0 [INFO] [stderr] Compiling binc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | if (command_list.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - if (command_list.is_empty()) { [INFO] [stdout] 161 + if command_list.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lines_printed` is never read [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut lines_printed = 0u16; [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: variants `Exponent`, `Fraction`, `Carry`, and `None` are never constructed [INFO] [stdout] --> src/syntax.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum NamedAccess { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 56 | Exponent, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | Fraction, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | Carry, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 59 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamedAccess` 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: variant `NamedAccessSource` is never constructed [INFO] [stdout] --> src/syntax.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum LeftOperandSource { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 64 | RangeSource(BitsIndexRange), [INFO] [stdout] 65 | NamedAccessSource(NamedAccess), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LeftOperandSource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NamedAccessSource` is never constructed [INFO] [stdout] --> src/syntax.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum RightOperandSource { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 70 | RangeSource(BitsIndexRange), [INFO] [stdout] 71 | NamedAccessSource(NamedAccess), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RightOperandSource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fixed` is never constructed [INFO] [stdout] --> src/buffer.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum BincBufferType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Fixed, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BincBufferType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.04s [INFO] running `Command { std: "docker" "inspect" "c293db645bddcd1447725d4bf90a4ad67be537d0da5c6fd32ea889e55b8bdf51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c293db645bddcd1447725d4bf90a4ad67be537d0da5c6fd32ea889e55b8bdf51", kill_on_drop: false }` [INFO] [stdout] c293db645bddcd1447725d4bf90a4ad67be537d0da5c6fd32ea889e55b8bdf51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a18d63d5e636f7017ce7a87c0ba00605940384dcdc5105e067ccdd81a0a30051 [INFO] running `Command { std: "docker" "start" "-a" "a18d63d5e636f7017ce7a87c0ba00605940384dcdc5105e067ccdd81a0a30051", kill_on_drop: false }` [INFO] [stderr] Compiling binc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | if (command_list.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - if (command_list.is_empty()) { [INFO] [stdout] 161 + if command_list.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lines_printed` is never read [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut lines_printed = 0u16; [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: variants `Exponent`, `Fraction`, `Carry`, and `None` are never constructed [INFO] [stdout] --> src/syntax.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum NamedAccess { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 56 | Exponent, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | Fraction, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | Carry, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 59 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamedAccess` 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: variant `NamedAccessSource` is never constructed [INFO] [stdout] --> src/syntax.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum LeftOperandSource { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 64 | RangeSource(BitsIndexRange), [INFO] [stdout] 65 | NamedAccessSource(NamedAccess), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LeftOperandSource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NamedAccessSource` is never constructed [INFO] [stdout] --> src/syntax.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum RightOperandSource { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 70 | RangeSource(BitsIndexRange), [INFO] [stdout] 71 | NamedAccessSource(NamedAccess), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RightOperandSource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fixed` is never constructed [INFO] [stdout] --> src/buffer.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum BincBufferType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Fixed, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BincBufferType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "a18d63d5e636f7017ce7a87c0ba00605940384dcdc5105e067ccdd81a0a30051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a18d63d5e636f7017ce7a87c0ba00605940384dcdc5105e067ccdd81a0a30051", kill_on_drop: false }` [INFO] [stdout] a18d63d5e636f7017ce7a87c0ba00605940384dcdc5105e067ccdd81a0a30051