[INFO] cloning repository https://github.com/zhangjinpeng1987/AmpBench [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhangjinpeng1987/AmpBench" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangjinpeng1987%2FAmpBench", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangjinpeng1987%2FAmpBench'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88b0833e2efa5c0bd1d9f4e6f21a68997b02c4b2 [INFO] checking zhangjinpeng1987/AmpBench against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangjinpeng1987%2FAmpBench" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zhangjinpeng1987/AmpBench [INFO] finished tweaking git repo https://github.com/zhangjinpeng1987/AmpBench [INFO] tweaked toml for git repo https://github.com/zhangjinpeng1987/AmpBench written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zhangjinpeng1987/AmpBench on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zhangjinpeng1987/AmpBench 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v3.2.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fd794c9853696308c908b1d7ec7684b92f4654d7bc170ccc1e1f7d4f7555465 [INFO] running `Command { std: "docker" "start" "-a" "9fd794c9853696308c908b1d7ec7684b92f4654d7bc170ccc1e1f7d4f7555465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fd794c9853696308c908b1d7ec7684b92f4654d7bc170ccc1e1f7d4f7555465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd794c9853696308c908b1d7ec7684b92f4654d7bc170ccc1e1f7d4f7555465", kill_on_drop: false }` [INFO] [stdout] 9fd794c9853696308c908b1d7ec7684b92f4654d7bc170ccc1e1f7d4f7555465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a45b97c84bd9b8550d71f7e8f67d0453a2999c34c7ff1aa0c333e77ce06e0c4a [INFO] running `Command { std: "docker" "start" "-a" "a45b97c84bd9b8550d71f7e8f67d0453a2999c34c7ff1aa0c333e77ce06e0c4a", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking hashbrown v0.12.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking clap v3.2.10 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking ampbench v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `dbhost`, `dbport`, `db`, `user`, `pwd`, and `cmd` are never read [INFO] [stdout] --> src/cmd.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Opt { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub dbhost: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub dbport: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub db: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub pwd: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub cmd: Cmd, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` 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: fields `tables`, `columns`, `primary`, `rows`, and `indexes` are never read [INFO] [stdout] --> src/cmd.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | Prepare { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 38 | #[structopt(short = "t", long = "tables", default_value = "1")] [INFO] [stdout] 39 | tables: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | columns: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | primary: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | rows: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | indexes: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cmd` 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 `rows` is never read [INFO] [stdout] --> src/cmd.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | Insert { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 79 | #[structopt(short = "r", long = "rows", default_value = "100000")] [INFO] [stdout] 80 | rows: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cmd` 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 `rows` and `index` are never read [INFO] [stdout] --> src/cmd.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | Update { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 84 | #[structopt(short = "r", long = "rows", default_value = "100000")] [INFO] [stdout] 85 | rows: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | index: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cmd` 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 `dbhost`, `dbport`, `db`, `user`, `pwd`, and `cmd` are never read [INFO] [stdout] --> src/cmd.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Opt { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub dbhost: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub dbport: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub db: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub pwd: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub cmd: Cmd, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` 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: fields `tables`, `columns`, `primary`, `rows`, and `indexes` are never read [INFO] [stdout] --> src/cmd.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | Prepare { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 38 | #[structopt(short = "t", long = "tables", default_value = "1")] [INFO] [stdout] 39 | tables: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | columns: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | primary: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | rows: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | indexes: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cmd` 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 `rows` is never read [INFO] [stdout] --> src/cmd.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | Insert { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 79 | #[structopt(short = "r", long = "rows", default_value = "100000")] [INFO] [stdout] 80 | rows: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cmd` 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 `rows` and `index` are never read [INFO] [stdout] --> src/cmd.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | Update { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 84 | #[structopt(short = "r", long = "rows", default_value = "100000")] [INFO] [stdout] 85 | rows: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | index: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cmd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColumnType` is never used [INFO] [stdout] --> src/schema.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum ColumnType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Column` is never constructed [INFO] [stdout] --> src/schema.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Column { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Index` is never constructed [INFO] [stdout] --> src/schema.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schema` is never constructed [INFO] [stdout] --> src/schema.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct Schema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHA` is never used [INFO] [stdout] --> src/schema.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | const ALPHA: &str = "abcdefghijklmnopqrstuvwxyz"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_column_name` is never used [INFO] [stdout] --> src/schema.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn gen_column_name(mut idx: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_secondary_index_sql` is never used [INFO] [stdout] --> src/schema.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn gen_secondary_index_sql(idx_num: usize, index: &Index) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str` and `gen_create_sql` are never used [INFO] [stdout] --> src/schema.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl Schema { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 113 | pub fn from_str( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn gen_create_sql(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.24s [INFO] running `Command { std: "docker" "inspect" "a45b97c84bd9b8550d71f7e8f67d0453a2999c34c7ff1aa0c333e77ce06e0c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45b97c84bd9b8550d71f7e8f67d0453a2999c34c7ff1aa0c333e77ce06e0c4a", kill_on_drop: false }` [INFO] [stdout] a45b97c84bd9b8550d71f7e8f67d0453a2999c34c7ff1aa0c333e77ce06e0c4a