[INFO] fetching crate taxo 0.1.0... [INFO] checking taxo-0.1.0 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate taxo 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate taxo 0.1.0 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate taxo 0.1.0 [INFO] finished tweaking crates.io crate taxo 0.1.0 [INFO] tweaked toml for crates.io crate taxo 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c95b1f38d91c5410dc51e088b237e00ada0e1da7d1a611a2eb9333dbcce93c69 [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" "c95b1f38d91c5410dc51e088b237e00ada0e1da7d1a611a2eb9333dbcce93c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c95b1f38d91c5410dc51e088b237e00ada0e1da7d1a611a2eb9333dbcce93c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c95b1f38d91c5410dc51e088b237e00ada0e1da7d1a611a2eb9333dbcce93c69", kill_on_drop: false }` [INFO] [stdout] c95b1f38d91c5410dc51e088b237e00ada0e1da7d1a611a2eb9333dbcce93c69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7526beddbf56935238d0f40126cc54fa054c8ad0a6fb3d37148627bd6f8a6bb6 [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" "7526beddbf56935238d0f40126cc54fa054c8ad0a6fb3d37148627bd6f8a6bb6", kill_on_drop: false }` [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking taxo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taxo/rules.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub rules_list: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Matchable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taxo/rule/mod.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(line: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Matchable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taxo/rule/mod.rs:42:72 [INFO] [stdout] | [INFO] [stdout] 42 | ('g', None) => GlobRule::new(rule, None, value).map(|rr| rr as Box), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Matchable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taxo/rule/mod.rs:43:84 [INFO] [stdout] | [INFO] [stdout] 43 | ('g', Some(last)) => GlobRule::new(value, Some(rule), last).map(|rr| rr as Box), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Matchable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taxo/rule/mod.rs:44:87 [INFO] [stdout] | [INFO] [stdout] 44 | ('r', None) => RegexRule::new(String::from(rule), None, value).map(|rr| rr as Box), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Matchable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taxo/rule/mod.rs:46:80 [INFO] [stdout] | [INFO] [stdout] 46 | RegexRule::new(String::from(value), Some(rule), last).map(|rr| rr as Box) [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Matchable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/taxo/mod.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | fn matches(&self, &str) -> bool; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taxo/rules.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub rules_list: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Matchable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taxo/rule/mod.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(line: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Matchable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taxo/rule/mod.rs:42:72 [INFO] [stdout] | [INFO] [stdout] 42 | ('g', None) => GlobRule::new(rule, None, value).map(|rr| rr as Box), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Matchable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taxo/rule/mod.rs:43:84 [INFO] [stdout] | [INFO] [stdout] 43 | ('g', Some(last)) => GlobRule::new(value, Some(rule), last).map(|rr| rr as Box), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Matchable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taxo/rule/mod.rs:44:87 [INFO] [stdout] | [INFO] [stdout] 44 | ('r', None) => RegexRule::new(String::from(rule), None, value).map(|rr| rr as Box), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Matchable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taxo/rule/mod.rs:46:80 [INFO] [stdout] | [INFO] [stdout] 46 | RegexRule::new(String::from(value), Some(rule), last).map(|rr| rr as Box) [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Matchable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/taxo/mod.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | fn matches(&self, &str) -> bool; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/taxo/rules.rs:15:66 [INFO] [stdout] | [INFO] [stdout] 15 | Err(err) => return Err(format!("couldn't open file: {}", err.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/taxo/rules.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => return Err(format!("io error while reading file {}", e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/taxo/rule/glob.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | ... err.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/taxo/rule/glob.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | self.rule.matches_with(name, &self.opts) [INFO] [stdout] | ^^^^^^^^^^ expected struct `MatchOptions`, found `&MatchOptions` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 53 - self.rule.matches_with(name, &self.opts) [INFO] [stdout] 53 + self.rule.matches_with(name, self.opts) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/taxo/rules.rs:15:66 [INFO] [stdout] | [INFO] [stdout] 15 | Err(err) => return Err(format!("couldn't open file: {}", err.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/taxo/rules.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => return Err(format!("io error while reading file {}", e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `taxo` due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/taxo/rule/glob.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | ... err.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/taxo/rule/glob.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | self.rule.matches_with(name, &self.opts) [INFO] [stdout] | ^^^^^^^^^^ expected struct `MatchOptions`, found `&MatchOptions` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 53 - self.rule.matches_with(name, &self.opts) [INFO] [stdout] 53 + self.rule.matches_with(name, self.opts) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7526beddbf56935238d0f40126cc54fa054c8ad0a6fb3d37148627bd6f8a6bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7526beddbf56935238d0f40126cc54fa054c8ad0a6fb3d37148627bd6f8a6bb6", kill_on_drop: false }` [INFO] [stdout] 7526beddbf56935238d0f40126cc54fa054c8ad0a6fb3d37148627bd6f8a6bb6