[INFO] cloning repository https://github.com/i80and/rocket [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/i80and/rocket" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi80and%2Frocket", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi80and%2Frocket'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddc69add1e6ac6fc078e1a82b4b3052630064656 [INFO] checking i80and/rocket/ddc69add1e6ac6fc078e1a82b4b3052630064656 against master#5337252b9952fdd9482ed6a4add17254e5bd2c40 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi80and%2Frocket" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/i80and/rocket on toolchain 5337252b9952fdd9482ed6a4add17254e5bd2c40 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/i80and/rocket [INFO] finished tweaking git repo https://github.com/i80and/rocket [INFO] tweaked toml for git repo https://github.com/i80and/rocket written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/i80and/rocket already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v1.3.0 [INFO] [stderr] Downloaded simple-logging v2.0.1 [INFO] [stderr] Downloaded duct v0.9.2 [INFO] [stderr] Downloaded os_pipe v0.6.0 [INFO] [stderr] Downloaded walkdir v2.0.1 [INFO] [stderr] Downloaded onig v3.1.1 [INFO] [stderr] Downloaded pest_derive v1.0.3 [INFO] [stderr] Downloaded pest v1.0.3 [INFO] [stderr] Downloaded thread-id v3.2.0 [INFO] [stderr] Downloaded plist v0.2.4 [INFO] [stderr] Downloaded syntect v2.0.0 [INFO] [stderr] Downloaded onig_sys v67.1.0 [INFO] [stderr] Downloaded bytecount v0.3.0 [INFO] [stderr] Downloaded handlebars v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62ddf64354b6c56ff66fb0637cc9fe71262b84d3bd9a26befd862a5f4bcf8561 [INFO] running `Command { std: "docker" "start" "-a" "62ddf64354b6c56ff66fb0637cc9fe71262b84d3bd9a26befd862a5f4bcf8561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62ddf64354b6c56ff66fb0637cc9fe71262b84d3bd9a26befd862a5f4bcf8561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62ddf64354b6c56ff66fb0637cc9fe71262b84d3bd9a26befd862a5f4bcf8561", kill_on_drop: false }` [INFO] [stdout] 62ddf64354b6c56ff66fb0637cc9fe71262b84d3bd9a26befd862a5f4bcf8561 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11ea26b19cd024ca8f5cf562028f4de0d5944f969c2c279e30b7496c052ce7c5 [INFO] running `Command { std: "docker" "start" "-a" "11ea26b19cd024ca8f5cf562028f4de0d5944f969c2c279e30b7496c052ce7c5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Checking num-traits v0.1.42 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking serde v1.0.27 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Compiling plist v0.2.4 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Compiling pest v1.0.3 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking base64 v0.8.0 [INFO] [stderr] Checking same-file v1.0.2 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking thread-id v3.2.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking walkdir v2.0.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling cmake v0.1.29 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking simple-logging v2.0.1 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking bytecount v0.3.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking typed-arena v1.3.0 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking scoped_threadpool v0.1.8 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Compiling onig_sys v67.1.0 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Checking regex v0.2.5 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling pest_derive v1.0.3 [INFO] [stderr] Checking flate2 v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Checking serde_json v1.0.9 [INFO] [stderr] Checking bincode v0.9.2 [INFO] [stderr] Checking toml v0.4.5 [INFO] [stderr] Checking handlebars v0.30.0 [INFO] [stderr] Checking onig v3.1.1 [INFO] [stderr] Checking syntect v2.0.0 [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/directives/mod.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | / lazy_static! { [INFO] [stdout] 202 | | static ref RE: Regex = Regex::new(r#"\$\{(\d)\}"#).unwrap(); [INFO] [stdout] 203 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/inject_paragraphs.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref PAT_PARAGRAPHS: Regex = Regex::new(r#"(?xm) [INFO] [stdout] 6 | | (?:\n\n) [INFO] [stdout] 7 | | | (?: src/inject_paragraphs.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref PAT_PARAGRAPHS: Regex = Regex::new(r#"(?xm) [INFO] [stdout] 6 | | (?:\n\n) [INFO] [stdout] 7 | | | (?: src/lex.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref PAT_TOKENS: Regex = Regex::new(r#"(?xm) [INFO] [stdout] 7 | | (?:\(:+) [INFO] [stdout] 8 | | | (?::+\)) [INFO] [stdout] ... | [INFO] [stdout] 14 | | | [^\(\):=\s"]+"#).expect("Failed to compile lexer regex"); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref PAT_IS_WHITESPACE: Regex = [INFO] [stdout] 12 | | Regex::new(r#"^\s+$"#).expect("Failed to compile whitespace regex"); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/theme.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | static ref PAT_TAGS: Regex = Regex::new("<[^>]+>").expect("Failed to compile striptags regex"); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/evaluator.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | Directive(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | Directive(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | Push(Box), [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | Push(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse.rs:356:20 [INFO] [stdout] | [INFO] [stdout] 356 | stack: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 356 | stack: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/evaluator.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/evaluator.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/directives/mod.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | / lazy_static! { [INFO] [stdout] 202 | | static ref RE: Regex = Regex::new(r#"\$\{(\d)\}"#).unwrap(); [INFO] [stdout] 203 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/inject_paragraphs.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref PAT_PARAGRAPHS: Regex = Regex::new(r#"(?xm) [INFO] [stdout] 6 | | (?:\n\n) [INFO] [stdout] 7 | | | (?: src/inject_paragraphs.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref PAT_PARAGRAPHS: Regex = Regex::new(r#"(?xm) [INFO] [stdout] 6 | | (?:\n\n) [INFO] [stdout] 7 | | | (?: src/lex.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref PAT_TOKENS: Regex = Regex::new(r#"(?xm) [INFO] [stdout] 7 | | (?:\(:+) [INFO] [stdout] 8 | | | (?::+\)) [INFO] [stdout] ... | [INFO] [stdout] 14 | | | [^\(\):=\s"]+"#).expect("Failed to compile lexer regex"); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref PAT_IS_WHITESPACE: Regex = [INFO] [stdout] 12 | | Regex::new(r#"^\s+$"#).expect("Failed to compile whitespace regex"); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/theme.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | static ref PAT_TAGS: Regex = Regex::new("<[^>]+>").expect("Failed to compile striptags regex"); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/evaluator.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | Directive(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | Directive(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | Push(Box), [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | Push(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse.rs:356:20 [INFO] [stdout] | [INFO] [stdout] 356 | stack: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 356 | stack: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/evaluator.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/evaluator.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/evaluator.rs:277:28 [INFO] [stdout] | [INFO] [stdout] 277 | .join(path.trim_left_matches(|c| c == '/')) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 277 - .join(path.trim_left_matches(|c| c == '/')) [INFO] [stdout] 277 + .join(path.trim_start_matches(|c| c == '/')) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/evaluator.rs:277:28 [INFO] [stdout] | [INFO] [stdout] 277 | .join(path.trim_left_matches(|c| c == '/')) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 277 - .join(path.trim_left_matches(|c| c == '/')) [INFO] [stdout] 277 + .join(path.trim_start_matches(|c| c == '/')) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | TemplateError(handlebars::RenderError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LinkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 - TemplateError(handlebars::RenderError), [INFO] [stdout] 54 + TemplateError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | IOError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LinkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 - IOError(io::Error), [INFO] [stdout] 55 + IOError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/parse.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 105 | trait TokenHandler { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 109 | fn name(&self) -> &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RawConfig` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RawConfig` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/theme.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RawConfig` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RawConfig` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | TemplateError(handlebars::RenderError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LinkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 - TemplateError(handlebars::RenderError), [INFO] [stdout] 54 + TemplateError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | IOError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LinkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 - IOError(io::Error), [INFO] [stdout] 55 + IOError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/parse.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 105 | trait TokenHandler { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 109 | fn name(&self) -> &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RawConfig` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RawConfig` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/theme.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RawConfig` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RawConfig` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.06s [INFO] running `Command { std: "docker" "inspect" "11ea26b19cd024ca8f5cf562028f4de0d5944f969c2c279e30b7496c052ce7c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ea26b19cd024ca8f5cf562028f4de0d5944f969c2c279e30b7496c052ce7c5", kill_on_drop: false }` [INFO] [stdout] 11ea26b19cd024ca8f5cf562028f4de0d5944f969c2c279e30b7496c052ce7c5