[INFO] fetching crate klepto 0.1.3... [INFO] testing klepto-0.1.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate klepto 0.1.3 into /workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate klepto 0.1.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded camino v1.2.2 [INFO] [stderr] Downloaded cargo_metadata v0.18.1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13fd0732a7de4d6baed2a64b6d02ac92efaf0b8c6fbf5c69b1d70f0d46d52087 [INFO] running `Command { std: "docker" "start" "-a" "13fd0732a7de4d6baed2a64b6d02ac92efaf0b8c6fbf5c69b1d70f0d46d52087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13fd0732a7de4d6baed2a64b6d02ac92efaf0b8c6fbf5c69b1d70f0d46d52087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13fd0732a7de4d6baed2a64b6d02ac92efaf0b8c6fbf5c69b1d70f0d46d52087", kill_on_drop: false }` [INFO] [stdout] 13fd0732a7de4d6baed2a64b6d02ac92efaf0b8c6fbf5c69b1d70f0d46d52087 [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" "-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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c96a04414ca8454a37dbab580ddba21a28afae538f4acaa0a025be4c71cef46a [INFO] running `Command { std: "docker" "start" "-a" "c96a04414ca8454a37dbab580ddba21a28afae538f4acaa0a025be4c71cef46a", 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 serde_json v1.0.149 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling camino v1.2.2 [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 constant_time_eq v0.4.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling bstr v1.12.1 [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.54s [INFO] running `Command { std: "docker" "inspect" "c96a04414ca8454a37dbab580ddba21a28afae538f4acaa0a025be4c71cef46a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c96a04414ca8454a37dbab580ddba21a28afae538f4acaa0a025be4c71cef46a", kill_on_drop: false }` [INFO] [stdout] c96a04414ca8454a37dbab580ddba21a28afae538f4acaa0a025be4c71cef46a [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" "-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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44ef35c65cfa2c81aaa06804fcbf617c930a96d49c2500b345786337ad46695f [INFO] running `Command { std: "docker" "start" "-a" "44ef35c65cfa2c81aaa06804fcbf617c930a96d49c2500b345786337ad46695f", 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.67s [INFO] running `Command { std: "docker" "inspect" "44ef35c65cfa2c81aaa06804fcbf617c930a96d49c2500b345786337ad46695f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44ef35c65cfa2c81aaa06804fcbf617c930a96d49c2500b345786337ad46695f", kill_on_drop: false }` [INFO] [stdout] 44ef35c65cfa2c81aaa06804fcbf617c930a96d49c2500b345786337ad46695f [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" "-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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a017dc1bf23f1f03de90d7caf612e52c34995caac950f7b477424a80e33fd184 [INFO] running `Command { std: "docker" "start" "-a" "a017dc1bf23f1f03de90d7caf612e52c34995caac950f7b477424a80e33fd184", 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.08s [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] [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/562dee4820c458d823175268e41601d4c060588a/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.13s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.26s; merged doctests compilation took 0.13s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a017dc1bf23f1f03de90d7caf612e52c34995caac950f7b477424a80e33fd184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a017dc1bf23f1f03de90d7caf612e52c34995caac950f7b477424a80e33fd184", kill_on_drop: false }` [INFO] [stdout] a017dc1bf23f1f03de90d7caf612e52c34995caac950f7b477424a80e33fd184