[INFO] fetching crate rules 0.0.2... [INFO] checking rules-0.0.2 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate rules 0.0.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate rules 0.0.2 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1231dd36b7cab57b3fe5acc528a6c986846f082af5b2f61d06acca83c5db62b4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1231dd36b7cab57b3fe5acc528a6c986846f082af5b2f61d06acca83c5db62b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1231dd36b7cab57b3fe5acc528a6c986846f082af5b2f61d06acca83c5db62b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1231dd36b7cab57b3fe5acc528a6c986846f082af5b2f61d06acca83c5db62b4", kill_on_drop: false }` [INFO] [stdout] 1231dd36b7cab57b3fe5acc528a6c986846f082af5b2f61d06acca83c5db62b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf9e56a8dc7c28e88487b81c31d41e7fa4356f549338589fac1055e75afb1838 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cf9e56a8dc7c28e88487b81c31d41e7fa4356f549338589fac1055e75afb1838", kill_on_drop: false }` [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] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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: 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] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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: private type `ParseError` in public interface (error E0446) [INFO] [stdout] --> src/parse.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Result = result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `ParseError` in public interface (error E0446) [INFO] [stdout] --> src/parse.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn parse(s: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [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] 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] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `ParseError` in public interface (error E0446) [INFO] [stdout] --> src/parse.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Result = result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `ParseError` in public interface (error E0446) [INFO] [stdout] --> src/parse.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn parse(s: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [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] [stderr] error: could not compile `rules` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cf9e56a8dc7c28e88487b81c31d41e7fa4356f549338589fac1055e75afb1838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf9e56a8dc7c28e88487b81c31d41e7fa4356f549338589fac1055e75afb1838", kill_on_drop: false }` [INFO] [stdout] cf9e56a8dc7c28e88487b81c31d41e7fa4356f549338589fac1055e75afb1838