[INFO] fetching crate clnrm-template 1.3.0... [INFO] testing clnrm-template-1.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate clnrm-template 1.3.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate clnrm-template 1.3.0 [INFO] finished tweaking crates.io crate clnrm-template 1.3.0 [INFO] tweaked toml for crates.io crate clnrm-template 1.3.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate clnrm-template 1.3.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] crate crates.io crate clnrm-template 1.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+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] 1098be16d9ca7bb0146d30a9f7d6d6c3ade43cbc628c69e7927406b6ab6f3fdd [INFO] running `Command { std: "docker" "start" "-a" "1098be16d9ca7bb0146d30a9f7d6d6c3ade43cbc628c69e7927406b6ab6f3fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1098be16d9ca7bb0146d30a9f7d6d6c3ade43cbc628c69e7927406b6ab6f3fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1098be16d9ca7bb0146d30a9f7d6d6c3ade43cbc628c69e7927406b6ab6f3fdd", kill_on_drop: false }` [INFO] [stdout] 1098be16d9ca7bb0146d30a9f7d6d6c3ade43cbc628c69e7927406b6ab6f3fdd [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] 358f6491a60640c1440c24ec5e8bceede10187c164a65b1a5ccf2ee2021eecff [INFO] running `Command { std: "docker" "start" "-a" "358f6491a60640c1440c24ec5e8bceede10187c164a65b1a5ccf2ee2021eecff", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling atomic v0.6.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling url-escape v0.1.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling random_color v0.8.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling globset v0.4.17 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dummy v0.8.0 [INFO] [stderr] Compiling ignore v0.4.24 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling fake v2.10.0 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling clnrm-template v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.52s [INFO] running `Command { std: "docker" "inspect" "358f6491a60640c1440c24ec5e8bceede10187c164a65b1a5ccf2ee2021eecff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358f6491a60640c1440c24ec5e8bceede10187c164a65b1a5ccf2ee2021eecff", kill_on_drop: false }` [INFO] [stdout] 358f6491a60640c1440c24ec5e8bceede10187c164a65b1a5ccf2ee2021eecff [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] 35a5a4637b9950956afaf43f1f7ed2c793e5959e63d09096c7ee0d3536b8408f [INFO] running `Command { std: "docker" "start" "-a" "35a5a4637b9950956afaf43f1f7ed2c793e5959e63d09096c7ee0d3536b8408f", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling random_color v0.8.0 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling fake v2.10.0 [INFO] [stderr] Compiling clnrm-template v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> src/cache.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> src/discovery.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 564 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> src/toml.rs:896:9 [INFO] [stdout] | [INFO] [stdout] 896 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> src/async.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/async.rs:441:20 [INFO] [stdout] | [INFO] [stdout] 441 | let file = async_toml::load_toml_file(&toml_file).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `cache::TemplateCache` in the current scope [INFO] [stdout] --> src/cache.rs:378:36 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TemplateCache { [INFO] [stdout] | ------------------------ function or associated item `default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 378 | let cache = TemplateCache::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `cache::TemplateCache` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cache::TemplateCache` consider using one of the following associated functions: [INFO] [stdout] cache::TemplateCache::new [INFO] [stdout] cache::TemplateCache::with_defaults [INFO] [stdout] --> src/cache.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new(hot_reload: bool, ttl: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn with_defaults() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] help: there is an associated function `with_defaults` with a similar name [INFO] [stdout] | [INFO] [stdout] 378 - let cache = TemplateCache::default(); [INFO] [stdout] 378 + let cache = TemplateCache::with_defaults(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder` found for struct `context::TemplateContext` in the current scope [INFO] [stdout] --> src/context.rs:366:40 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TemplateContext { [INFO] [stdout] | -------------------------- function or associated item `builder` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 366 | let context = TemplateContext::builder() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `context::TemplateContext` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `context::TemplateContext` consider using one of the following associated functions: [INFO] [stdout] context::TemplateContext::new [INFO] [stdout] context::TemplateContext::with_defaults [INFO] [stdout] --> src/context.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with_defaults() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_some` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/custom.rs:514:48 [INFO] [stdout] | [INFO] [stdout] 514 | assert!(tera.get_function("test_func").is_some()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ok` with a similar name [INFO] [stdout] | [INFO] [stdout] 514 - assert!(tera.get_function("test_func").is_some()); [INFO] [stdout] 514 + assert!(tera.get_function("test_func").is_ok()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `check` found for struct `DeprecatedFunctionsRule` in the current scope [INFO] [stdout] --> src/debug.rs:907:42 [INFO] [stdout] | [INFO] [stdout] 505 | fn check(&self, info: &DebugInfo) -> Vec; [INFO] [stdout] | ----- the method is available for `DeprecatedFunctionsRule` here [INFO] [stdout] ... [INFO] [stdout] 520 | pub struct DeprecatedFunctionsRule; [INFO] [stdout] | ---------------------------------- method `check` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 907 | let violations = deprecated_rule.check(&info); [INFO] [stdout] | ^^^^^ method not found in `DeprecatedFunctionsRule` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `LintRule` which provides `check` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 866 + use crate::debug::lint::LintRule; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/custom.rs:542:57 [INFO] [stdout] | [INFO] [stdout] 542 | .add_function(CustomFunction::new("test1", |args| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clnrm-template` (lib test) due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "35a5a4637b9950956afaf43f1f7ed2c793e5959e63d09096c7ee0d3536b8408f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a5a4637b9950956afaf43f1f7ed2c793e5959e63d09096c7ee0d3536b8408f", kill_on_drop: false }` [INFO] [stdout] 35a5a4637b9950956afaf43f1f7ed2c793e5959e63d09096c7ee0d3536b8408f