[INFO] fetching crate rocket_dyn_templates 0.2.0... [INFO] testing rocket_dyn_templates-0.2.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rocket_dyn_templates 0.2.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket_dyn_templates 0.2.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 268 packages to latest compatible versions [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d013ae23ab544282349f91c00048d290d845ebaeb1ec4493f4bcbee49f803442 [INFO] running `Command { std: "docker" "start" "-a" "d013ae23ab544282349f91c00048d290d845ebaeb1ec4493f4bcbee49f803442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d013ae23ab544282349f91c00048d290d845ebaeb1ec4493f4bcbee49f803442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d013ae23ab544282349f91c00048d290d845ebaeb1ec4493f4bcbee49f803442", kill_on_drop: false }` [INFO] [stdout] d013ae23ab544282349f91c00048d290d845ebaeb1ec4493f4bcbee49f803442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbd3853a958e4cc413ae57ccac341fff90723fc50b74d3cbbae40f07583d225d [INFO] running `Command { std: "docker" "start" "-a" "bbd3853a958e4cc413ae57ccac341fff90723fc50b74d3cbbae40f07583d225d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling normpath v1.5.0 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling toml v0.8.23 [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 38.26s [INFO] running `Command { std: "docker" "inspect" "bbd3853a958e4cc413ae57ccac341fff90723fc50b74d3cbbae40f07583d225d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd3853a958e4cc413ae57ccac341fff90723fc50b74d3cbbae40f07583d225d", kill_on_drop: false }` [INFO] [stdout] bbd3853a958e4cc413ae57ccac341fff90723fc50b74d3cbbae40f07583d225d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4d889deb1e0682fbafdcbf65d4e65f255b0cdad6932f7c1851ab4c7efd3caee [INFO] running `Command { std: "docker" "start" "-a" "e4d889deb1e0682fbafdcbf65d4e65f255b0cdad6932f7c1851ab4c7efd3caee", kill_on_drop: false }` [INFO] [stderr] Compiling diff v0.1.13 [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 pretty_assertions v1.4.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: 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] [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 `test` profile [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `Command { std: "docker" "inspect" "e4d889deb1e0682fbafdcbf65d4e65f255b0cdad6932f7c1851ab4c7efd3caee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d889deb1e0682fbafdcbf65d4e65f255b0cdad6932f7c1851ab4c7efd3caee", kill_on_drop: false }` [INFO] [stdout] e4d889deb1e0682fbafdcbf65d4e65f255b0cdad6932f7c1851ab4c7efd3caee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 004a054a63872f3546818b3a2db808daaac5c1699cb24b79cdaba435c271c38e [INFO] running `Command { std: "docker" "start" "-a" "004a054a63872f3546818b3a2db808daaac5c1699cb24b79cdaba435c271c38e", 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 [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] warning: `rocket_dyn_templates` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_dyn_templates-55ed757068281fb9) [INFO] [stdout] running 3 tests [INFO] [stdout] test context::tests::template_path_doc_examples ... ok [INFO] [stdout] test context::tests::template_path_index_html ... 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.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/templates.rs (/opt/rustwide/target/debug/deps/templates-77e1aa16db61b3f3) [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.04s [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/template.rs - template::context (line 319) ... 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/metadata.rs - metadata::Metadata<'_>::reloading (line 70) ... ok [INFO] [stdout] test src/lib.rs - (line 39) ... ok [INFO] [stdout] test src/metadata.rs - metadata::Metadata<'_>::contains_template (line 50) ... ok [INFO] [stdout] test src/lib.rs - (line 120) ... ok [INFO] [stdout] test src/template.rs - template::context (line 302) ... ok [INFO] [stdout] test src/engine/mod.rs - engine::Engines (line 39) ... ok [INFO] [stdout] test src/template.rs - template::Template::render (line 163) ... ok [INFO] [stdout] test src/template.rs - template::Template::fairing (line 59) ... ok [INFO] [stdout] test src/template.rs - template::Template::render (line 153) ... ok [INFO] [stdout] test src/template.rs - template::Template::try_custom (line 119) ... ok [INFO] [stdout] test src/template.rs - template::Template::custom (line 88) ... ok [INFO] [stdout] test src/metadata.rs - metadata::Metadata (line 19) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "004a054a63872f3546818b3a2db808daaac5c1699cb24b79cdaba435c271c38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "004a054a63872f3546818b3a2db808daaac5c1699cb24b79cdaba435c271c38e", kill_on_drop: false }` [INFO] [stdout] 004a054a63872f3546818b3a2db808daaac5c1699cb24b79cdaba435c271c38e