[INFO] fetching crate rocket_dyn_templates 0.2.0... [INFO] testing rocket_dyn_templates-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate rocket_dyn_templates 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rocket_dyn_templates 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rocket_dyn_templates 0.2.0 [INFO] tweaked toml for crates.io crate rocket_dyn_templates 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket_dyn_templates 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 250 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding handlebars v5.1.2 (available: v6.3.2) [INFO] [stderr] Adding notify v6.1.1 (available: v8.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 411ba0ee43d68f4c7b29d13ea211c4041c883753260f0275a1bcf937e206254c [INFO] running `Command { std: "docker" "start" "-a" "411ba0ee43d68f4c7b29d13ea211c4041c883753260f0275a1bcf937e206254c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "411ba0ee43d68f4c7b29d13ea211c4041c883753260f0275a1bcf937e206254c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411ba0ee43d68f4c7b29d13ea211c4041c883753260f0275a1bcf937e206254c", kill_on_drop: false }` [INFO] [stdout] 411ba0ee43d68f4c7b29d13ea211c4041c883753260f0275a1bcf937e206254c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2a0b437c9232ba4dedb030dff63a7e78446cc0518673b315abef03fb9aa0141 [INFO] running `Command { std: "docker" "start" "-a" "c2a0b437c9232ba4dedb030dff63a7e78446cc0518673b315abef03fb9aa0141", kill_on_drop: false }` [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling normpath v1.5.0 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling rocket_dyn_templates v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `templates` [INFO] [stdout] --> src/engine/mod.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn init(templates: &HashMap) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_templates` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/engine/mod.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/engine/mod.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | info: &TemplateInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/engine/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | context: C, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Engine` is never used [INFO] [stdout] --> src/engine/mod.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) trait Engine: Send + Sync + Sized + 'static { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inner` is never used [INFO] [stdout] --> src/engine/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | fn inner(templates: &HashMap) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `engine_ext` is never read [INFO] [stdout] --> src/template.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct TemplateInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) engine_ext: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.46s [INFO] running `Command { std: "docker" "inspect" "c2a0b437c9232ba4dedb030dff63a7e78446cc0518673b315abef03fb9aa0141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2a0b437c9232ba4dedb030dff63a7e78446cc0518673b315abef03fb9aa0141", kill_on_drop: false }` [INFO] [stdout] c2a0b437c9232ba4dedb030dff63a7e78446cc0518673b315abef03fb9aa0141 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c754602ab4ff6a688323a3f09bd840aececd1ff2ebe1041cbe0a6ce582fa200 [INFO] running `Command { std: "docker" "start" "-a" "8c754602ab4ff6a688323a3f09bd840aececd1ff2ebe1041cbe0a6ce582fa200", kill_on_drop: false }` [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stdout] warning: unused variable: `templates` [INFO] [stdout] --> src/engine/mod.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn init(templates: &HashMap) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_templates` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/engine/mod.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/engine/mod.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | info: &TemplateInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/engine/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | context: C, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Engine` is never used [INFO] [stdout] --> src/engine/mod.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) trait Engine: Send + Sync + Sized + 'static { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inner` is never used [INFO] [stdout] --> src/engine/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | fn inner(templates: &HashMap) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `engine_ext` is never read [INFO] [stdout] --> src/template.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct TemplateInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) engine_ext: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rocket_dyn_templates v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `templates` [INFO] [stdout] --> src/engine/mod.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn init(templates: &HashMap) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_templates` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/engine/mod.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/engine/mod.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | info: &TemplateInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/engine/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | context: C, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Engine` is never used [INFO] [stdout] --> src/engine/mod.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) trait Engine: Send + Sync + Sized + 'static { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inner` is never used [INFO] [stdout] --> src/engine/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | fn inner(templates: &HashMap) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `engine_ext` is never read [INFO] [stdout] --> src/template.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct TemplateInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) engine_ext: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `template_root` is never used [INFO] [stdout] --> tests/templates.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn template_root() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rocket` is never used [INFO] [stdout] --> tests/templates.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn rocket() -> Rocket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/templates.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_sentinel` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/templates.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_sentinel` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/templates.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_sentinel` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/templates.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_sentinel` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.40s [INFO] running `Command { std: "docker" "inspect" "8c754602ab4ff6a688323a3f09bd840aececd1ff2ebe1041cbe0a6ce582fa200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c754602ab4ff6a688323a3f09bd840aececd1ff2ebe1041cbe0a6ce582fa200", kill_on_drop: false }` [INFO] [stdout] 8c754602ab4ff6a688323a3f09bd840aececd1ff2ebe1041cbe0a6ce582fa200 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3cdd373372cf84be9d149d4a9015132f87f2af6987a99c58080623983a3e7a23 [INFO] running `Command { std: "docker" "start" "-a" "3cdd373372cf84be9d149d4a9015132f87f2af6987a99c58080623983a3e7a23", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `templates` [INFO] [stderr] --> src/engine/mod.rs:101:24 [INFO] [stderr] | [INFO] [stderr] 101 | pub(crate) fn init(templates: &HashMap) -> Option { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_templates` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/engine/mod.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | name: &str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/engine/mod.rs:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | info: &TemplateInfo, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/engine/mod.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | context: C, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: trait `Engine` is never used [INFO] [stderr] --> src/engine/mod.rs:23:18 [INFO] [stderr] | [INFO] [stderr] 23 | pub(crate) trait Engine: Send + Sync + Sized + 'static { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `inner` is never used [INFO] [stderr] --> src/engine/mod.rs:102:12 [INFO] [stderr] | [INFO] [stderr] 102 | fn inner(templates: &HashMap) -> Option { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `engine_ext` is never read [INFO] [stderr] --> src/template.rs:37:16 [INFO] [stderr] | [INFO] [stderr] 33 | pub(crate) struct TemplateInfo { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 37 | pub(crate) engine_ext: &'static str, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TemplateInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `rocket_dyn_templates` (lib) generated 7 warnings (run `cargo fix --lib -p rocket_dyn_templates` to apply 4 suggestions) [INFO] [stderr] warning: `rocket_dyn_templates` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] warning: function `template_root` is never used [INFO] [stderr] --> tests/templates.rs:21:4 [INFO] [stderr] | [INFO] [stderr] 21 | fn template_root() -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `rocket` is never used [INFO] [stderr] --> tests/templates.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn rocket() -> Rocket { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/templates.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_sentinel` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/templates.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_sentinel` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/templates.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_sentinel` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/templates.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_sentinel` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rocket_dyn_templates` (test "templates") generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_dyn_templates-962bb6d14a3ce35a) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test context::tests::template_path_index_html ... ok [INFO] [stdout] test context::tests::template_path_doc_examples ... ok [INFO] [stdout] test context::tests::template_path_subdir_index_html ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/templates.rs (/opt/rustwide/target/debug/deps/templates-4f7a22c955154562) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_context_macro ... ok [INFO] [stdout] test test_callback_error ... ok [INFO] [stdout] test test_sentinel ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests rocket_dyn_templates [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/template.rs - template::Template::show (line 198) - compile ... ok [INFO] [stdout] test src/metadata.rs - metadata::Metadata<'_>::contains_template (line 50) ... ok [INFO] [stdout] test src/metadata.rs - metadata::Metadata<'_>::reloading (line 70) ... ok [INFO] [stdout] test src/metadata.rs - metadata::Metadata<'_>::render (line 92) ... ok [INFO] [stdout] test src/template.rs - template::context (line 343) ... ok [INFO] [stdout] test src/lib.rs - (line 120) ... ok [INFO] [stdout] test src/engine/mod.rs - engine::Engines (line 39) ... ok [INFO] [stdout] test src/template.rs - template::Template::fairing (line 59) ... ok [INFO] [stdout] test src/lib.rs - (line 39) ... ok [INFO] [stdout] test src/template.rs - template::context (line 302) ... ok [INFO] [stdout] test src/template.rs - template::context (line 319) ... ok [INFO] [stdout] test src/template.rs - template::Template::render (line 153) ... ok [INFO] [stdout] test src/template.rs - template::Template::custom (line 88) ... ok [INFO] [stdout] test src/template.rs - template::Template::try_custom (line 119) ... ok [INFO] [stdout] test src/metadata.rs - metadata::Metadata (line 19) ... ok [INFO] [stdout] test src/template.rs - template::Template::render (line 163) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3cdd373372cf84be9d149d4a9015132f87f2af6987a99c58080623983a3e7a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cdd373372cf84be9d149d4a9015132f87f2af6987a99c58080623983a3e7a23", kill_on_drop: false }` [INFO] [stdout] 3cdd373372cf84be9d149d4a9015132f87f2af6987a99c58080623983a3e7a23