[INFO] fetching crate rocket_dyn_templates 0.2.0... [INFO] testing rocket_dyn_templates-0.2.0 against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] extracting crate rocket_dyn_templates 0.2.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket_dyn_templates 0.2.0 on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 258 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.4.0) [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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35303e97a34ffb7ac5b969e7b1204b3b9a923a95d66f98df5995c8871c1cdb1c [INFO] running `Command { std: "docker" "start" "-a" "35303e97a34ffb7ac5b969e7b1204b3b9a923a95d66f98df5995c8871c1cdb1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35303e97a34ffb7ac5b969e7b1204b3b9a923a95d66f98df5995c8871c1cdb1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35303e97a34ffb7ac5b969e7b1204b3b9a923a95d66f98df5995c8871c1cdb1c", kill_on_drop: false }` [INFO] [stdout] 35303e97a34ffb7ac5b969e7b1204b3b9a923a95d66f98df5995c8871c1cdb1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 573473b1013ad2863621d993565b20435f0b764e6b6c661d8c78a418587696cb [INFO] running `Command { std: "docker" "start" "-a" "573473b1013ad2863621d993565b20435f0b764e6b6c661d8c78a418587696cb", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling log v0.4.29 [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 devise_core v0.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling pear_codegen v0.2.9 [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 encoding_rs v0.8.35 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling filetime v0.2.27 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling normpath v1.5.0 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [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 44.25s [INFO] running `Command { std: "docker" "inspect" "573473b1013ad2863621d993565b20435f0b764e6b6c661d8c78a418587696cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "573473b1013ad2863621d993565b20435f0b764e6b6c661d8c78a418587696cb", kill_on_drop: false }` [INFO] [stdout] 573473b1013ad2863621d993565b20435f0b764e6b6c661d8c78a418587696cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71a44edf2cb9447ab8ab4f782f96ccacb06c9f2a033533dd4315173baa39bb8c [INFO] running `Command { std: "docker" "start" "-a" "71a44edf2cb9447ab8ab4f782f96ccacb06c9f2a033533dd4315173baa39bb8c", 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: 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.13s [INFO] running `Command { std: "docker" "inspect" "71a44edf2cb9447ab8ab4f782f96ccacb06c9f2a033533dd4315173baa39bb8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71a44edf2cb9447ab8ab4f782f96ccacb06c9f2a033533dd4315173baa39bb8c", kill_on_drop: false }` [INFO] [stdout] 71a44edf2cb9447ab8ab4f782f96ccacb06c9f2a033533dd4315173baa39bb8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e3538dd05c954227156e5ff419b02af50a8030814097b7ab4fab225ead81903f [INFO] running `Command { std: "docker" "start" "-a" "e3538dd05c954227156e5ff419b02af50a8030814097b7ab4fab225ead81903f", 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.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_dyn_templates-e28e6bc13ade753e) [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.00s [INFO] [stdout] [INFO] [stderr] Running tests/templates.rs (/opt/rustwide/target/debug/deps/templates-b5d8d444c98696fd) [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.03s [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 302) ... ok [INFO] [stdout] test src/lib.rs - (line 39) ... 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/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/template.rs - template::context (line 319) ... ok [INFO] [stdout] test src/template.rs - template::context (line 343) ... ok [INFO] [stdout] test src/template.rs - template::Template::render (line 163) ... ok [INFO] [stdout] test src/template.rs - template::Template::try_custom (line 119) ... ok [INFO] [stdout] test src/template.rs - template::Template::fairing (line 59) ... ok [INFO] [stdout] test src/metadata.rs - metadata::Metadata<'_>::render (line 92) ... ok [INFO] [stdout] test src/metadata.rs - metadata::Metadata (line 19) ... ok [INFO] [stdout] test src/template.rs - template::Template::custom (line 88) ... ok [INFO] [stdout] test src/template.rs - template::Template::render (line 153) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.74s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e3538dd05c954227156e5ff419b02af50a8030814097b7ab4fab225ead81903f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3538dd05c954227156e5ff419b02af50a8030814097b7ab4fab225ead81903f", kill_on_drop: false }` [INFO] [stdout] e3538dd05c954227156e5ff419b02af50a8030814097b7ab4fab225ead81903f