[INFO] fetching crate rules 0.0.2... [INFO] checking rules-0.0.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rules 0.0.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate rules 0.0.2 [INFO] finished tweaking crates.io crate rules 0.0.2 [INFO] tweaked toml for crates.io crate rules 0.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rules 0.0.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09e93e6dac500b7a4028aec44c2b80c779f6f1393237e976b5980c6a5a8e8968 [INFO] running `Command { std: "docker" "start" "-a" "09e93e6dac500b7a4028aec44c2b80c779f6f1393237e976b5980c6a5a8e8968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09e93e6dac500b7a4028aec44c2b80c779f6f1393237e976b5980c6a5a8e8968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e93e6dac500b7a4028aec44c2b80c779f6f1393237e976b5980c6a5a8e8968", kill_on_drop: false }` [INFO] [stdout] 09e93e6dac500b7a4028aec44c2b80c779f6f1393237e976b5980c6a5a8e8968 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 990849cafbf45183dd81ecd975c0107cdbb566c01b025450015e803428b05b0d [INFO] running `Command { std: "docker" "start" "-a" "990849cafbf45183dd81ecd975c0107cdbb566c01b025450015e803428b05b0d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rules v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parse::Faction::*` [INFO] [stdout] --> src/parse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use parse::Faction::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/parse.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | fn find_set(&self, &Set, &Membership) -> Option; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Set` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/parse.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | fn find_set(&self, &Set, &Membership) -> Option; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Membership` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | vec.push(try!(match c { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | deque.push_back(try!(match c { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:396:27 [INFO] [stdout] | [INFO] [stdout] 396 | let ast = try!(match c { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:402:42 [INFO] [stdout] | [INFO] [stdout] 402 | ... let before = try!(match vec.pop() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/range_set.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fmt::{self, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/range_set.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | if count < len - 1 { try!(write!(f, "{}, ", s)) } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::Faction::*` [INFO] [stdout] --> src/parse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use parse::Faction::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/parse.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | fn find_set(&self, &Set, &Membership) -> Option; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Set` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/parse.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | fn find_set(&self, &Set, &Membership) -> Option; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Membership` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | vec.push(try!(match c { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | deque.push_back(try!(match c { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:396:27 [INFO] [stdout] | [INFO] [stdout] 396 | let ast = try!(match c { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:402:42 [INFO] [stdout] | [INFO] [stdout] 402 | ... let before = try!(match vec.pop() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/range_set.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fmt::{self, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/range_set.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | if count < len - 1 { try!(write!(f, "{}, ", s)) } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ParseError` is more private than the item `parse::Result` [INFO] [stdout] --> src/parse.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Result = result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ type alias `parse::Result` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ParseError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parse.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | enum ParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ParseError` is more private than the item `parse` [INFO] [stdout] --> src/parse.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn parse(s: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `parse` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ParseError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parse.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | enum ParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `ParseError` is private [INFO] [stdout] --> src/re.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let vec = parse::parse(s).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rules` (lib) due to 1 previous error; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type `ParseError` is more private than the item `parse::Result` [INFO] [stdout] --> src/parse.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Result = result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ type alias `parse::Result` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ParseError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parse.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | enum ParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ParseError` is more private than the item `parse` [INFO] [stdout] --> src/parse.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn parse(s: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `parse` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ParseError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parse.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | enum ParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `ParseError` is private [INFO] [stdout] --> src/re.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let vec = parse::parse(s).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rules` (lib test) due to 1 previous error; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "990849cafbf45183dd81ecd975c0107cdbb566c01b025450015e803428b05b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "990849cafbf45183dd81ecd975c0107cdbb566c01b025450015e803428b05b0d", kill_on_drop: false }` [INFO] [stdout] 990849cafbf45183dd81ecd975c0107cdbb566c01b025450015e803428b05b0d