[INFO] cloning repository https://github.com/reiyw/kb-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reiyw/kb-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freiyw%2Fkb-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freiyw%2Fkb-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f92560676824f9aab487ed44c724a237fd2834e5 [INFO] building reiyw/kb-tool against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freiyw%2Fkb-tool" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/reiyw/kb-tool [INFO] finished tweaking git repo https://github.com/reiyw/kb-tool [INFO] tweaked toml for git repo https://github.com/reiyw/kb-tool written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/reiyw/kb-tool on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/reiyw/kb-tool 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a5432aea61c76eada5520bca0b5a398b1a91eef2a12c7b979e542b252f0ce25 [INFO] running `Command { std: "docker" "start" "-a" "9a5432aea61c76eada5520bca0b5a398b1a91eef2a12c7b979e542b252f0ce25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a5432aea61c76eada5520bca0b5a398b1a91eef2a12c7b979e542b252f0ce25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a5432aea61c76eada5520bca0b5a398b1a91eef2a12c7b979e542b252f0ce25", kill_on_drop: false }` [INFO] [stdout] 9a5432aea61c76eada5520bca0b5a398b1a91eef2a12c7b979e542b252f0ce25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d2c9e96f1ebb96bc1cf2ff6187b4c235f79ab6d228f0e8275d4522d711d398c [INFO] running `Command { std: "docker" "start" "-a" "9d2c9e96f1ebb96bc1cf2ff6187b4c235f79ab6d228f0e8275d4522d711d398c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling counter v0.4.3 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.0 [INFO] [stderr] Compiling structopt v0.3.0 [INFO] [stderr] Compiling kb-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/graph.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Node<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_ids` is never read [INFO] [stdout] --> src/graph.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct KG<'a> { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 34 | node_ids: HashMap<&'a str, usize>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KG` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/triple.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn read_triples(triples: &str, order: TripleOrder) -> Triples { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn read_triples(triples: &str, order: TripleOrder) -> Triples<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | fn select_node(&self, rng: &mut R) -> &Node { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn select_node(&self, rng: &mut R) -> &Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 109 | ) -> (&Edge, bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |the same lifetime is hidden here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | ) -> (&Edge<'_>, bool) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.57s [INFO] running `Command { std: "docker" "inspect" "9d2c9e96f1ebb96bc1cf2ff6187b4c235f79ab6d228f0e8275d4522d711d398c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d2c9e96f1ebb96bc1cf2ff6187b4c235f79ab6d228f0e8275d4522d711d398c", kill_on_drop: false }` [INFO] [stdout] 9d2c9e96f1ebb96bc1cf2ff6187b4c235f79ab6d228f0e8275d4522d711d398c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a8fde2a8ad663fbc6b4d1231e28eb88dc23fd215462df72ed859fe381091651 [INFO] running `Command { std: "docker" "start" "-a" "5a8fde2a8ad663fbc6b4d1231e28eb88dc23fd215462df72ed859fe381091651", kill_on_drop: false }` [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/graph.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Node<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_ids` is never read [INFO] [stdout] --> src/graph.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct KG<'a> { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 34 | node_ids: HashMap<&'a str, usize>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KG` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/triple.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn read_triples(triples: &str, order: TripleOrder) -> Triples { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn read_triples(triples: &str, order: TripleOrder) -> Triples<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | fn select_node(&self, rng: &mut R) -> &Node { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn select_node(&self, rng: &mut R) -> &Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 109 | ) -> (&Edge, bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |the same lifetime is hidden here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | ) -> (&Edge<'_>, bool) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kb-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | fn select_node(&self, rng: &mut R) -> &Node { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn select_node(&self, rng: &mut R) -> &Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 109 | ) -> (&Edge, bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |the same lifetime is hidden here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | ) -> (&Edge<'_>, bool) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/triple.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn read_triples(triples: &str, order: TripleOrder) -> Triples { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn read_triples(triples: &str, order: TripleOrder) -> Triples<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/graph.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Node<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_ids` is never read [INFO] [stdout] --> src/graph.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct KG<'a> { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 34 | node_ids: HashMap<&'a str, usize>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KG` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "5a8fde2a8ad663fbc6b4d1231e28eb88dc23fd215462df72ed859fe381091651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a8fde2a8ad663fbc6b4d1231e28eb88dc23fd215462df72ed859fe381091651", kill_on_drop: false }` [INFO] [stdout] 5a8fde2a8ad663fbc6b4d1231e28eb88dc23fd215462df72ed859fe381091651