[INFO] fetching crate klepto 0.1.3... [INFO] testing klepto-0.1.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate klepto 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate klepto 0.1.3 [INFO] finished tweaking crates.io crate klepto 0.1.3 [INFO] tweaked toml for crates.io crate klepto 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate klepto 0.1.3 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate klepto 0.1.3 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5af199637f973f53b9718015c6f55565e860f7952737c4291bf7618a4c7b704 [INFO] running `Command { std: "docker" "start" "-a" "a5af199637f973f53b9718015c6f55565e860f7952737c4291bf7618a4c7b704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5af199637f973f53b9718015c6f55565e860f7952737c4291bf7618a4c7b704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5af199637f973f53b9718015c6f55565e860f7952737c4291bf7618a4c7b704", kill_on_drop: false }` [INFO] [stdout] a5af199637f973f53b9718015c6f55565e860f7952737c4291bf7618a4c7b704 [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f27a7a70a5b162f061047d11a3872e1bd0a23c18d0518fe80b070654af05f9fe [INFO] running `Command { std: "docker" "start" "-a" "f27a7a70a5b162f061047d11a3872e1bd0a23c18d0518fe80b070654af05f9fe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling constant_time_eq v0.4.2 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling blake3 v1.8.3 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling klepto v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/extract.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/extract.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 109 | syn::UseTree::Path(p) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 113 | syn::UseTree::Group(g) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 118 | syn::UseTree::Name(n) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 130 | syn::UseTree::Rename(r) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 152 | _ => {} [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/extract.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/extract.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 228 | syn::UseTree::Path(p) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 232 | syn::UseTree::Group(g) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 237 | syn::UseTree::Name(n) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 241 | syn::UseTree::Glob(g) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 265 | _ => {} [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/extract.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/extract.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 359 | syn::UseTree::Path(p) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 374 | syn::UseTree::Group(g) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 389 | syn::UseTree::Name(n) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 418 | syn::UseTree::Glob(g) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 450 | _ => {} [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/klepto.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | Err(e) if self.ignore_parse_errors => { /* keep empty */ } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_mods` [INFO] [stdout] --> src/rules/builtin.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let pub_mods: std::collections::BTreeSet> = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_mods` [INFO] [stdout] --> src/rules/builtin.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let pub_mods: std::collections::BTreeSet> = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.39s [INFO] running `Command { std: "docker" "inspect" "f27a7a70a5b162f061047d11a3872e1bd0a23c18d0518fe80b070654af05f9fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f27a7a70a5b162f061047d11a3872e1bd0a23c18d0518fe80b070654af05f9fe", kill_on_drop: false }` [INFO] [stdout] f27a7a70a5b162f061047d11a3872e1bd0a23c18d0518fe80b070654af05f9fe [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2edc78a52ec06eb288ee4c31a6e8da673fe2b487cee6f2745882a07147e7fa1b [INFO] running `Command { std: "docker" "start" "-a" "2edc78a52ec06eb288ee4c31a6e8da673fe2b487cee6f2745882a07147e7fa1b", kill_on_drop: false }` [INFO] [stderr] Compiling klepto v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/extract.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/extract.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 109 | syn::UseTree::Path(p) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 113 | syn::UseTree::Group(g) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 118 | syn::UseTree::Name(n) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 130 | syn::UseTree::Rename(r) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 152 | _ => {} [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/extract.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/extract.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 228 | syn::UseTree::Path(p) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 232 | syn::UseTree::Group(g) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 237 | syn::UseTree::Name(n) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 241 | syn::UseTree::Glob(g) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 265 | _ => {} [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/extract.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/extract.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 359 | syn::UseTree::Path(p) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 374 | syn::UseTree::Group(g) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 389 | syn::UseTree::Name(n) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 418 | syn::UseTree::Glob(g) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 450 | _ => {} [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/klepto.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | Err(e) if self.ignore_parse_errors => { /* keep empty */ } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_mods` [INFO] [stdout] --> src/rules/builtin.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let pub_mods: std::collections::BTreeSet> = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_mods` [INFO] [stdout] --> src/rules/builtin.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let pub_mods: std::collections::BTreeSet> = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/extract.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/extract.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 109 | syn::UseTree::Path(p) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 113 | syn::UseTree::Group(g) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 118 | syn::UseTree::Name(n) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 130 | syn::UseTree::Rename(r) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 152 | _ => {} [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/extract.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/extract.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 228 | syn::UseTree::Path(p) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 232 | syn::UseTree::Group(g) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 237 | syn::UseTree::Name(n) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 241 | syn::UseTree::Glob(g) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 265 | _ => {} [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/extract.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/extract.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 359 | syn::UseTree::Path(p) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 374 | syn::UseTree::Group(g) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 389 | syn::UseTree::Name(n) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 418 | syn::UseTree::Glob(g) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 450 | _ => {} [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/klepto.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | Err(e) if self.ignore_parse_errors => { /* keep empty */ } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_mods` [INFO] [stdout] --> src/rules/builtin.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let pub_mods: std::collections::BTreeSet> = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_mods` [INFO] [stdout] --> src/rules/builtin.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let pub_mods: std::collections::BTreeSet> = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "2edc78a52ec06eb288ee4c31a6e8da673fe2b487cee6f2745882a07147e7fa1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2edc78a52ec06eb288ee4c31a6e8da673fe2b487cee6f2745882a07147e7fa1b", kill_on_drop: false }` [INFO] [stdout] 2edc78a52ec06eb288ee4c31a6e8da673fe2b487cee6f2745882a07147e7fa1b [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8596149a81ec4aa774c58cc32e14904c0a5b408300d90010aee8e028da5be366 [INFO] running `Command { std: "docker" "start" "-a" "8596149a81ec4aa774c58cc32e14904c0a5b408300d90010aee8e028da5be366", kill_on_drop: false }` [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/extract.rs:152:13 [INFO] [stderr] | [INFO] [stderr] 152 | _ => {} [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/extract.rs:152:13 [INFO] [stderr] | [INFO] [stderr] 109 | syn::UseTree::Path(p) => { [INFO] [stderr] | --------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 113 | syn::UseTree::Group(g) => { [INFO] [stderr] | ---------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 118 | syn::UseTree::Name(n) => { [INFO] [stderr] | --------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 130 | syn::UseTree::Rename(r) => { [INFO] [stderr] | ----------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 152 | _ => {} [INFO] [stderr] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/extract.rs:265:13 [INFO] [stderr] | [INFO] [stderr] 265 | _ => {} [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/extract.rs:265:13 [INFO] [stderr] | [INFO] [stderr] 228 | syn::UseTree::Path(p) => { [INFO] [stderr] | --------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 232 | syn::UseTree::Group(g) => { [INFO] [stderr] | ---------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 237 | syn::UseTree::Name(n) => { [INFO] [stderr] | --------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 241 | syn::UseTree::Glob(g) => { [INFO] [stderr] | --------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 265 | _ => {} [INFO] [stderr] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/extract.rs:450:13 [INFO] [stderr] | [INFO] [stderr] 450 | _ => {} [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/extract.rs:450:13 [INFO] [stderr] | [INFO] [stderr] 359 | syn::UseTree::Path(p) => { [INFO] [stderr] | --------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 374 | syn::UseTree::Group(g) => { [INFO] [stderr] | ---------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 389 | syn::UseTree::Name(n) => { [INFO] [stderr] | --------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 418 | syn::UseTree::Glob(g) => { [INFO] [stderr] | --------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 450 | _ => {} [INFO] [stderr] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/klepto.rs:313:17 [INFO] [stderr] | [INFO] [stderr] 313 | Err(e) if self.ignore_parse_errors => { /* keep empty */ } [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pub_mods` [INFO] [stderr] --> src/rules/builtin.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | let pub_mods: std::collections::BTreeSet> = [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_mods` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pub_mods` [INFO] [stderr] --> src/rules/builtin.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | let pub_mods: std::collections::BTreeSet> = [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_mods` [INFO] [stderr] [INFO] [stderr] warning: `klepto` (lib) generated 6 warnings (run `cargo fix --lib -p klepto` to apply 3 suggestions) [INFO] [stderr] warning: `klepto` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/klepto-f5a8be8d64c35e25) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/klepto-5a58b112a98380ff) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests klepto [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/imports_ext.rs - imports_ext::ImportVecExt (line 7) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/imports_ext.rs - imports_ext::ImportVecExt (line 7) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `k` in this scope [INFO] [stdout] --> src/imports_ext.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let imports = k.imports().collect().unique_prefer_pub_use(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:561:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named tuple variant `Ok` defined here [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 | let imports = Ok.imports().collect().unique_prefer_pub_use(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/imports_ext.rs - imports_ext::ImportVecExt (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.41s; merged doctests compilation took 0.19s [INFO] running `Command { std: "docker" "inspect" "8596149a81ec4aa774c58cc32e14904c0a5b408300d90010aee8e028da5be366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8596149a81ec4aa774c58cc32e14904c0a5b408300d90010aee8e028da5be366", kill_on_drop: false }` [INFO] [stdout] 8596149a81ec4aa774c58cc32e14904c0a5b408300d90010aee8e028da5be366