[INFO] fetching crate bart_derive 0.1.4... [INFO] checking bart_derive-0.1.4 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate bart_derive 0.1.4 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate bart_derive 0.1.4 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 bart_derive 0.1.4 [INFO] finished tweaking crates.io crate bart_derive 0.1.4 [INFO] tweaked toml for crates.io crate bart_derive 0.1.4 written to /workspace/builds/worker-14/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 4fbc214ea23796f6eecee70510922a905cfb697ad3eeee9623cc37c1984409ba [INFO] running `Command { std: "docker" "start" "-a" "4fbc214ea23796f6eecee70510922a905cfb697ad3eeee9623cc37c1984409ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fbc214ea23796f6eecee70510922a905cfb697ad3eeee9623cc37c1984409ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fbc214ea23796f6eecee70510922a905cfb697ad3eeee9623cc37c1984409ba", kill_on_drop: false }` [INFO] [stdout] 4fbc214ea23796f6eecee70510922a905cfb697ad3eeee9623cc37c1984409ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] a0a2ff194c512c1d21f26a9b1b98fbbe53efbcd01e0ad7954c197093d24af7d6 [INFO] running `Command { std: "docker" "start" "-a" "a0a2ff194c512c1d21f26a9b1b98fbbe53efbcd01e0ad7954c197093d24af7d6", kill_on_drop: false }` [INFO] [stderr] Checking unicode-xid v0.0.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking quote v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Checking syn v0.10.8 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking bart_derive v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generator.rs:35:86 [INFO] [stdout] | [INFO] [stdout] 35 | fn scope(name: token::Name, scope_level: u32, ast: ast::Ast, partials_resolver: &mut PartialsResolver) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PartialsResolver` [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/generator.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn generate(node: ast::Ast, scope_level: u32, partials_resolver: &mut PartialsResolver) -> quote::Tokens { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PartialsResolver` [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: unnecessary trailing semicolon [INFO] [stdout] --> src/scanner.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | enum Head { Positive, Negative }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/scanner.rs:91:43 [INFO] [stdout] | [INFO] [stdout] 91 | enum Tail { Conditional, Scope, None }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:91:56 [INFO] [stdout] | [INFO] [stdout] 91 | let (template, mut partials_resolver): (_, Box) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn generator::PartialsResolver` [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/generator.rs:35:86 [INFO] [stdout] | [INFO] [stdout] 35 | fn scope(name: token::Name, scope_level: u32, ast: ast::Ast, partials_resolver: &mut PartialsResolver) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PartialsResolver` [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/generator.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn generate(node: ast::Ast, scope_level: u32, partials_resolver: &mut PartialsResolver) -> quote::Tokens { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PartialsResolver` [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: unnecessary trailing semicolon [INFO] [stdout] --> src/scanner.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | enum Head { Positive, Negative }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/scanner.rs:91:43 [INFO] [stdout] | [INFO] [stdout] 91 | enum Tail { Conditional, Scope, None }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:91:56 [INFO] [stdout] | [INFO] [stdout] 91 | let (template, mut partials_resolver): (_, Box) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn generator::PartialsResolver` [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: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/scanner.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | let input = input[leading_dots..].trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/scanner.rs:52:49 [INFO] [stdout] | [INFO] [stdout] 52 | true => (true, input[..input.len() - 2].trim_right()), [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/scanner.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | let input = input[leading_dots..].trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/scanner.rs:52:49 [INFO] [stdout] | [INFO] [stdout] 52 | true => (true, input[..input.len() - 2].trim_right()), [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generator.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | panic!(format!("Too many leading dots ({}) in scope depth of only {}", x, scope_depth)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 20 - panic!(format!("Too many leading dots ({}) in scope depth of only {}", x, scope_depth)); [INFO] [stdout] 20 + panic!("Too many leading dots ({}) in scope depth of only {}", x, scope_depth); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generator.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | panic!(format!("Too many leading dots ({}) in scope depth of only {}", x, scope_depth)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 20 - panic!(format!("Too many leading dots ({}) in scope depth of only {}", x, scope_depth)); [INFO] [stdout] 20 + panic!("Too many leading dots ({}) in scope depth of only {}", x, scope_depth); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.65s [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a0a2ff194c512c1d21f26a9b1b98fbbe53efbcd01e0ad7954c197093d24af7d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0a2ff194c512c1d21f26a9b1b98fbbe53efbcd01e0ad7954c197093d24af7d6", kill_on_drop: false }` [INFO] [stdout] a0a2ff194c512c1d21f26a9b1b98fbbe53efbcd01e0ad7954c197093d24af7d6