[INFO] cloning repository https://github.com/tonyhb/rs-templating [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonyhb/rs-templating" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyhb%2Frs-templating", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyhb%2Frs-templating'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6815eff0b73caaa8ae00d41217ec1fa509715da6 [INFO] checking tonyhb/rs-templating against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyhb%2Frs-templating" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tonyhb/rs-templating on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tonyhb/rs-templating [INFO] finished tweaking git repo https://github.com/tonyhb/rs-templating [INFO] tweaked toml for git repo https://github.com/tonyhb/rs-templating written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/tonyhb/rs-templating already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/tonyhb/tera.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f751f6848ec9580ef619263ae04aa14f8a1e704e21579d9c8c212fc81c1ce1d [INFO] running `Command { std: "docker" "start" "-a" "2f751f6848ec9580ef619263ae04aa14f8a1e704e21579d9c8c212fc81c1ce1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f751f6848ec9580ef619263ae04aa14f8a1e704e21579d9c8c212fc81c1ce1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f751f6848ec9580ef619263ae04aa14f8a1e704e21579d9c8c212fc81c1ce1d", kill_on_drop: false }` [INFO] [stdout] 2f751f6848ec9580ef619263ae04aa14f8a1e704e21579d9c8c212fc81c1ce1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e08a75e2186c3d58a4be9776495714fec81fad1153f26d4b930232b1dc9523fe [INFO] running `Command { std: "docker" "start" "-a" "e08a75e2186c3d58a4be9776495714fec81fad1153f26d4b930232b1dc9523fe", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] regex v1.5.4 (as host dependency): aho-corasick, default, memchr, perf, perf-cache, perf-dfa, perf-inline, perf-literal, unicode, unicode-age, unicode-bool, unicode-case, unicode-gencat, unicode-script, unicode-segment [INFO] [stderr] regex-syntax v0.6.25 (as host dependency): default, unicode, unicode-age, unicode-bool, unicode-case, unicode-gencat, unicode-script, unicode-segment [INFO] [stderr] [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Checking tera v1.10.0 (https://github.com/tonyhb/tera.git?rev=bcd73f53821d287c658865a6807f0917277ff076#bcd73f53) [INFO] [stderr] Checking js-sys v0.3.51 [INFO] [stderr] Checking rs-templating v0.1.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:295:26 [INFO] [stdout] | [INFO] [stdout] 295 | let res = crate::Template::init("{{ foo".to_string()); [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | let res = crate::Template::init("{{ foo }}".to_string()); [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:307:26 [INFO] [stdout] | [INFO] [stdout] 307 | let res = crate::Template::init("Hi {{ first_name }}".to_string()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:314:26 [INFO] [stdout] | [INFO] [stdout] 314 | let res = crate::Template::init( [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:332:26 [INFO] [stdout] | [INFO] [stdout] 332 | ... let res = crate::Template::init("{% for product in products %}{{loop.index}}. {{product.name}} {{ order_number }} {% endfor %}".to_... [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:342:26 [INFO] [stdout] | [INFO] [stdout] 342 | ... let res = crate::Template::init("{% for product in products %}{{loop.index}}. {{product['name']}} {{ order_number }} {% endfor %}".... [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:353:26 [INFO] [stdout] | [INFO] [stdout] 353 | ... let res = crate::Template::init("{% for product in products %}{{loop.index}}. {{product.name}} {{ order_number }} {% endfor %} {{ p... [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:368:20 [INFO] [stdout] | [INFO] [stdout] 368 | crate::Template::init("{{ name }} {% set uname = name %} {{ uname }}".to_string()) [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | let res = crate::Template::init("{% set uname = name %}".to_string()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:383:26 [INFO] [stdout] | [INFO] [stdout] 383 | let res = crate::Template::init("{% set uname = name | upper %}".to_string()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:390:26 [INFO] [stdout] | [INFO] [stdout] 390 | let res = crate::Template::init("{{ name | upper }}".to_string()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | let tpl = crate::Template::init("{{ name }}".to_string()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_context` in the crate root [INFO] [stdout] --> src/lib.rs:398:26 [INFO] [stdout] | [INFO] [stdout] 398 | let ctx = crate::generate_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::generate_context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Template` in the crate root [INFO] [stdout] --> src/lib.rs:409:26 [INFO] [stdout] | [INFO] [stdout] 409 | let tpl = crate::Template::init( [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::Template; [INFO] [stdout] | [INFO] [stdout] 294 | use tera::Template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_context` in the crate root [INFO] [stdout] --> src/lib.rs:413:26 [INFO] [stdout] | [INFO] [stdout] 413 | let ctx = crate::generate_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 294 | use crate::rs_templating::generate_context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-templating` due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e08a75e2186c3d58a4be9776495714fec81fad1153f26d4b930232b1dc9523fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e08a75e2186c3d58a4be9776495714fec81fad1153f26d4b930232b1dc9523fe", kill_on_drop: false }` [INFO] [stdout] e08a75e2186c3d58a4be9776495714fec81fad1153f26d4b930232b1dc9523fe