[INFO] cloning repository https://github.com/osamasalem/strusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/osamasalem/strusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosamasalem%2Fstrusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosamasalem%2Fstrusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c622a0371fe1ad5371b694915933c0d9e9fdc0a0 [INFO] checking osamasalem/strusty against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosamasalem%2Fstrusty" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/osamasalem/strusty [INFO] finished tweaking git repo https://github.com/osamasalem/strusty [INFO] tweaked toml for git repo https://github.com/osamasalem/strusty written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/osamasalem/strusty on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/osamasalem/strusty 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb2defb5cceffa271227602fcadf1a724ddd168e4b6766ab5f5433be747a17ad [INFO] running `Command { std: "docker" "start" "-a" "eb2defb5cceffa271227602fcadf1a724ddd168e4b6766ab5f5433be747a17ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb2defb5cceffa271227602fcadf1a724ddd168e4b6766ab5f5433be747a17ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb2defb5cceffa271227602fcadf1a724ddd168e4b6766ab5f5433be747a17ad", kill_on_drop: false }` [INFO] [stdout] eb2defb5cceffa271227602fcadf1a724ddd168e4b6766ab5f5433be747a17ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a72a6e8ff10e08a983c3fc3dbf1e1a54f52bf2a4be90db1b846136639825872b [INFO] running `Command { std: "docker" "start" "-a" "a72a6e8ff10e08a983c3fc3dbf1e1a54f52bf2a4be90db1b846136639825872b", kill_on_drop: false }` [INFO] [stderr] Checking strusty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Rule` is more private than the item `ANY` [INFO] [stdout] --> src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub const ANY: Rule = Rule(AnyRule); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constant `ANY` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Rule` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | struct Rule(T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Rule>` is more private than the item `exact` [INFO] [stdout] --> src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | pub const fn exact(chr: &str) -> Rule> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `exact` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Rule>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | struct Rule(T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `InRule` is never constructed [INFO] [stdout] --> src/lib.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct InRule<'pattern>(&'pattern str); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `InRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `SeqRule` is never constructed [INFO] [stdout] --> src/lib.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct SeqRule(LEFT, RIGHT); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `SeqRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `InRangeRule` is never constructed [INFO] [stdout] --> src/lib.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | pub struct InRangeRule(CHARRANGE); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `InRangeRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `OrRule` is never constructed [INFO] [stdout] --> src/lib.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct OrRule(LEFT, RIGHT); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `OrRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `AndRule` is never constructed [INFO] [stdout] --> src/lib.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 377 | pub struct AndRule(LEFT, RIGHT); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `AndRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `NotRule` is never constructed [INFO] [stdout] --> src/lib.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 416 | pub struct NotRule(RULE); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `NotRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `RepeatRule` is never constructed [INFO] [stdout] --> src/lib.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 451 | pub struct RepeatRule(RULE, RANGE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `RepeatRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `CheckCharRule` is never constructed [INFO] [stdout] --> src/lib.rs:518:12 [INFO] [stdout] | [INFO] [stdout] 518 | pub struct CheckCharRule(VALIDATOR); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `CheckCharRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `CaptureRule` is never constructed [INFO] [stdout] --> src/lib.rs:548:12 [INFO] [stdout] | [INFO] [stdout] 548 | pub struct CaptureRule(&'static str, RULE); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `CaptureRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `FindIterator` is never constructed [INFO] [stdout] --> src/lib.rs:656:12 [INFO] [stdout] | [INFO] [stdout] 656 | pub struct FindIterator<'input, RULE> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `strusty` (lib) due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type `Rule` is more private than the item `ANY` [INFO] [stdout] --> src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub const ANY: Rule = Rule(AnyRule); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constant `ANY` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Rule` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | struct Rule(T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Rule>` is more private than the item `exact` [INFO] [stdout] --> src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | pub const fn exact(chr: &str) -> Rule> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `exact` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Rule>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | struct Rule(T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a72a6e8ff10e08a983c3fc3dbf1e1a54f52bf2a4be90db1b846136639825872b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a72a6e8ff10e08a983c3fc3dbf1e1a54f52bf2a4be90db1b846136639825872b", kill_on_drop: false }` [INFO] [stdout] a72a6e8ff10e08a983c3fc3dbf1e1a54f52bf2a4be90db1b846136639825872b