[INFO] fetching crate c4 0.1.0... [INFO] checking c4-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate c4 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate c4 0.1.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate c4 0.1.0 [INFO] finished tweaking crates.io crate c4 0.1.0 [INFO] tweaked toml for crates.io crate c4 0.1.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fb95620f81b618229fd6e3d40bb3c8f801d992b8fa341e9fa9f9bda944a6728 [INFO] running `Command { std: "docker" "start" "-a" "2fb95620f81b618229fd6e3d40bb3c8f801d992b8fa341e9fa9f9bda944a6728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fb95620f81b618229fd6e3d40bb3c8f801d992b8fa341e9fa9f9bda944a6728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fb95620f81b618229fd6e3d40bb3c8f801d992b8fa341e9fa9f9bda944a6728", kill_on_drop: false }` [INFO] [stdout] 2fb95620f81b618229fd6e3d40bb3c8f801d992b8fa341e9fa9f9bda944a6728 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8377b763a86dd04e66ea39ad2b35cc4700b8a0b8bfa2f5ab89495775db7aeea3 [INFO] running `Command { std: "docker" "start" "-a" "8377b763a86dd04e66ea39ad2b35cc4700b8a0b8bfa2f5ab89495775db7aeea3", kill_on_drop: false }` [INFO] [stderr] Checking c4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/generated.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(write ! ( [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/parser/generated.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | try!(write ! ( fmt , "EOF" )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/generated.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(write ! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/generated.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | try!(write ! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/generated.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | try!(write ! ( fmt , ", `{}`" , escape_default ( elem ) )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | 'a' ...'z' => Matched(next, ()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:137:41 [INFO] [stdout] | [INFO] [stdout] 137 | ... 'a' ...'z' | 'A' ...'Z' | '0' ...'9' => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:137:54 [INFO] [stdout] | [INFO] [stdout] 137 | ... 'a' ...'z' | 'A' ...'Z' | '0' ...'9' => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:137:67 [INFO] [stdout] | [INFO] [stdout] 137 | ... 'a' ...'z' | 'A' ...'Z' | '0' ...'9' => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:173:49 [INFO] [stdout] | [INFO] [stdout] 173 | ... 'a' ...'z' | 'A' ...'Z' | '0' [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:173:62 [INFO] [stdout] | [INFO] [stdout] 173 | ... 'a' ...'z' | 'A' ...'Z' | '0' [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:174:45 [INFO] [stdout] | [INFO] [stdout] 174 | ... ...'9' => Matched(next, ()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | fn within(&self, namespace: &str) -> Accessor; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Accessor` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/generated.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(write ! ( [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/parser/generated.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | try!(write ! ( fmt , "EOF" )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/generated.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(write ! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/generated.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | try!(write ! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/generated.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | try!(write ! ( fmt , ", `{}`" , escape_default ( elem ) )); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | 'a' ...'z' => Matched(next, ()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:137:41 [INFO] [stdout] | [INFO] [stdout] 137 | ... 'a' ...'z' | 'A' ...'Z' | '0' ...'9' => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:137:54 [INFO] [stdout] | [INFO] [stdout] 137 | ... 'a' ...'z' | 'A' ...'Z' | '0' ...'9' => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:137:67 [INFO] [stdout] | [INFO] [stdout] 137 | ... 'a' ...'z' | 'A' ...'Z' | '0' ...'9' => [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:173:49 [INFO] [stdout] | [INFO] [stdout] 173 | ... 'a' ...'z' | 'A' ...'Z' | '0' [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:173:62 [INFO] [stdout] | [INFO] [stdout] 173 | ... 'a' ...'z' | 'A' ...'Z' | '0' [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/generated.rs:174:45 [INFO] [stdout] | [INFO] [stdout] 174 | ... ...'9' => Matched(next, ()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | fn within(&self, namespace: &str) -> Accessor; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Accessor` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Value` [INFO] [stdout] --> src/parser/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Value` [INFO] [stdout] --> src/parser/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/parser/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn from_vec(v: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/parser/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_string` [INFO] [stdout] --> src/parser/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_string(s: &String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Property` [INFO] [stdout] --> src/parser/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Property { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(_id: String, _value: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Rule` [INFO] [stdout] --> src/parser/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Selector` [INFO] [stdout] --> src/parser/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Selector(Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/parser/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn from_vec(v: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/parser/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_string` [INFO] [stdout] --> src/parser/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_string(s: &String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Property` [INFO] [stdout] --> src/parser/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Property { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(_id: String, _value: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Rule` [INFO] [stdout] --> src/parser/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Selector` [INFO] [stdout] --> src/parser/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Selector(Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "8377b763a86dd04e66ea39ad2b35cc4700b8a0b8bfa2f5ab89495775db7aeea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8377b763a86dd04e66ea39ad2b35cc4700b8a0b8bfa2f5ab89495775db7aeea3", kill_on_drop: false }` [INFO] [stdout] 8377b763a86dd04e66ea39ad2b35cc4700b8a0b8bfa2f5ab89495775db7aeea3