[INFO] fetching crate go-template 0.0.3... [INFO] testing go-template-0.0.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate go-template 0.0.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate go-template 0.0.3 [INFO] finished tweaking crates.io crate go-template 0.0.3 [INFO] tweaked toml for crates.io crate go-template 0.0.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate go-template 0.0.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gtmpl_derive v0.5.0 [INFO] [stderr] Downloaded gtmpl_value v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0252e8f98c28920395b689d5711f353c0faf88e116763e19d89cd66e6bac5815 [INFO] running `Command { std: "docker" "start" "-a" "0252e8f98c28920395b689d5711f353c0faf88e116763e19d89cd66e6bac5815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0252e8f98c28920395b689d5711f353c0faf88e116763e19d89cd66e6bac5815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0252e8f98c28920395b689d5711f353c0faf88e116763e19d89cd66e6bac5815", kill_on_drop: false }` [INFO] [stdout] 0252e8f98c28920395b689d5711f353c0faf88e116763e19d89cd66e6bac5815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59572b5a6c1f331aa637eed1ee7b5863534cc38d267737191e1bd1bf510233e1 [INFO] running `Command { std: "docker" "start" "-a" "59572b5a6c1f331aa637eed1ee7b5863534cc38d267737191e1bd1bf510233e1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling gtmpl_value v0.5.1 [INFO] [stderr] Compiling go-template v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/node.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::float_cmp))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `gtmpl_dynamic_template` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.55s [INFO] running `Command { std: "docker" "inspect" "59572b5a6c1f331aa637eed1ee7b5863534cc38d267737191e1bd1bf510233e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59572b5a6c1f331aa637eed1ee7b5863534cc38d267737191e1bd1bf510233e1", kill_on_drop: false }` [INFO] [stdout] 59572b5a6c1f331aa637eed1ee7b5863534cc38d267737191e1bd1bf510233e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a1bc3ef84e20d1defe3ee2507208576b3315aeb4afd4f932a23d5392283aca1 [INFO] running `Command { std: "docker" "start" "-a" "1a1bc3ef84e20d1defe3ee2507208576b3315aeb4afd4f932a23d5392283aca1", kill_on_drop: false }` [INFO] [stderr] Compiling gtmpl_derive v0.5.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/node.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::float_cmp))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `gtmpl_dynamic_template` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling go-template v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/node.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::float_cmp))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `gtmpl_dynamic_template` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.43s [INFO] running `Command { std: "docker" "inspect" "1a1bc3ef84e20d1defe3ee2507208576b3315aeb4afd4f932a23d5392283aca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a1bc3ef84e20d1defe3ee2507208576b3315aeb4afd4f932a23d5392283aca1", kill_on_drop: false }` [INFO] [stdout] 1a1bc3ef84e20d1defe3ee2507208576b3315aeb4afd4f932a23d5392283aca1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ada1c620dcac245bbbf3e93b151fa2498a4934949acb26ffc31c8c3e2c0acd99 [INFO] running `Command { std: "docker" "start" "-a" "ada1c620dcac245bbbf3e93b151fa2498a4934949acb26ffc31c8c3e2c0acd99", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/node.rs:512:16 [INFO] [stderr] | [INFO] [stderr] 512 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::float_cmp))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `gtmpl_dynamic_template` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `go-template` (lib) generated 1 warning [INFO] [stderr] warning: `go-template` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/go_template-95859c647326d22b) [INFO] [stdout] [INFO] [stdout] running 66 tests [INFO] [stdout] test exec::tests_mocked::test_assign_string ... ok [INFO] [stdout] test exec::tests_mocked::test_block ... ok [INFO] [stdout] test exec::tests_mocked::test_dollar_dot ... ok [INFO] [stdout] test exec::tests_mocked::test_function_ret_map ... ok [INFO] [stdout] test exec::tests_mocked::test_dot_value ... ok [INFO] [stdout] test exec::tests_mocked::test_eq ... ok [INFO] [stdout] test exec::tests_mocked::simple_template ... ok [INFO] [stdout] test exec::tests_mocked::test_range ... ok [INFO] [stdout] test exec::tests_mocked::test_novalue ... ok [INFO] [stdout] test funcs::tests_mocked::test_and ... ok [INFO] [stdout] test funcs::tests_mocked::test_eq ... ok [INFO] [stdout] test funcs::tests_mocked::test_ge ... ok [INFO] [stdout] test exec::tests_mocked::test_len ... ok [INFO] [stdout] test funcs::tests_mocked::test_gt ... ok [INFO] [stdout] test funcs::tests_mocked::test_gtmpl_fn ... ok [INFO] [stdout] test funcs::tests_mocked::test_index ... ok [INFO] [stdout] test exec::tests_mocked::test_function_via_dot ... ok [INFO] [stdout] test funcs::tests_mocked::test_builtins ... ok [INFO] [stdout] test exec::tests_mocked::test_dot ... ok [INFO] [stdout] test funcs::tests_mocked::test_macro ... ok [INFO] [stdout] test funcs::tests_mocked::test_ne ... ok [INFO] [stdout] test funcs::tests_mocked::test_print ... ok [INFO] [stdout] test funcs::tests_mocked::test_or ... ok [INFO] [stdout] test funcs::tests_mocked::test_le ... ok [INFO] [stdout] test funcs::tests_mocked::test_println ... ok [INFO] [stdout] test funcs::tests_mocked::test_lt ... ok [INFO] [stdout] test lexer::tests::lex_simple ... ok [INFO] [stdout] test lexer::tests::lexer_run ... ok [INFO] [stdout] test lexer::tests::test_comment ... ok [INFO] [stdout] test exec::tests_mocked::test_with ... ok [INFO] [stdout] test lexer::tests::test_input ... ok [INFO] [stdout] test lexer::tests::test_underscore ... ok [INFO] [stdout] test lexer::tests::test_trim ... ok [INFO] [stdout] test node::tests::test_end ... ok [INFO] [stdout] test lexer::tests::test_whitespace ... ok [INFO] [stdout] test parse::tests_mocked::test_iter ... ok [INFO] [stdout] test parse::tests_mocked::test_backup ... ok [INFO] [stdout] test parse::tests_mocked::test_display ... ok [INFO] [stdout] test parse::tests_mocked::test_assign_string ... ok [INFO] [stdout] test parse::tests_mocked::test_peek_non_space ... ok [INFO] [stdout] test printf::test::test_sprintf_array ... ok [INFO] [stdout] test printf::test::test_sprintf_index ... ok [INFO] [stdout] test parse::tests_mocked::test_next_non_space ... ok [INFO] [stdout] test printf::test::test_sprintf_fancy ... ok [INFO] [stdout] test printf::test::test_parse_index ... ok [INFO] [stdout] test exec::tests_mocked::test_function ... ok [INFO] [stdout] test node::tests::test_clone ... ok [INFO] [stdout] test parse::tests_mocked::test_pipeline_simple ... ok [INFO] [stdout] test printf::test::test_sprintf_number ... ok [INFO] [stdout] test parse::tests_mocked::parse_basic_tree ... ok [INFO] [stdout] test printf::test::test_sprinttf_to_format ... ok [INFO] [stdout] test parse::tests_mocked::test_term ... ok [INFO] [stdout] test printf::test::test_tokenize ... ok [INFO] [stdout] test utils::tests::test_unquote_char ... ok [INFO] [stdout] test utils::tests::test_is_true ... ok [INFO] [stdout] test parse::tests_mocked::test_backup3 ... ok [INFO] [stdout] test printf::test::test_sprintf_string_to_hex ... ok [INFO] [stdout] test template::tests_mocked::test_parse ... ok [INFO] [stdout] test utils::tests::test_unquote_str ... ok [INFO] [stdout] test printf::test::test_tokenize_none ... ok [INFO] [stdout] test exec::tests_mocked::test_proper_range ... ok [INFO] [stdout] test printf::test::test_tokenize_err ... ok [INFO] [stdout] test exec::tests_mocked::test_pipeline_function ... ok [INFO] [stdout] test printf::test::test_sprintf_map ... ok [INFO] [stdout] test printf::test::test_sprintf_string_prec ... ok [INFO] [stdout] test exec::tests_mocked::test_sub ... ok [INFO] [stderr] Doc-tests go_template [INFO] [stdout] [INFO] [stdout] test result: ok. 66 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test src/funcs.rs - funcs::and (line 167) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::print (line 258) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::ne (line 429) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::index (line 349) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::call (line 229) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::or (line 144) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::not (line 187) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::gt (line 487) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::println (line 288) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::urlquery (line 392) ... FAILED [INFO] [stdout] test src/template.rs - template::Template::add_template (line 106) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::len (line 203) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::le (line 464) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::printf (line 327) ... FAILED [INFO] [stdout] test src/lib.rs - template (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - (line 4) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::eq (line 413) ... FAILED [INFO] [stdout] test src/template.rs - template::Template::add_func (line 42) ... FAILED [INFO] [stdout] test src/template.rs - template::Template::parse (line 88) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::lt (line 444) ... FAILED [INFO] [stdout] test src/funcs.rs - funcs::ge (line 507) ... FAILED [INFO] [stdout] test src/template.rs - template::Template::add_funcs (line 63) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/funcs.rs - funcs::and (line 167) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::print (line 258) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::ne (line 429) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::index (line 349) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::call (line 229) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::{gtmpl_fn, template, Value}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `add` in this scope [INFO] [stdout] --> src/funcs.rs:237:75 [INFO] [stdout] | [INFO] [stdout] 10 | let equal = template(r#"{{ call . 1 2 }}"#, Value::Function(Function { f: add })); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::or (line 144) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::not (line 187) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::gt (line 487) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::println (line 288) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::urlquery (line 392) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/template.rs - template::Template::add_template (line 106) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/template.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::Context; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] --> src/template.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 5 | let mut tmpl = gtmpl::Template::default(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use go_template::Template; [INFO] [stdout] | [INFO] [stdout] help: if you import `Template`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let mut tmpl = gtmpl::Template::default(); [INFO] [stdout] 5 + let mut tmpl = Template::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::len (line 203) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::le (line 464) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::printf (line 327) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - template (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] --> src/lib.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 3 | let output = gtmpl::template("Finally! Some {{ . }} for Rust", "gtmpl"); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 4) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl; [INFO] [stdout] | ^^^^^ no external crate `gtmpl` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::eq (line 413) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/template.rs - template::Template::add_func (line 42) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/template.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::{Context, Func, FuncError, Value}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] --> src/template.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 9 | let mut tmpl = gtmpl::Template::default(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use go_template::Template; [INFO] [stdout] | [INFO] [stdout] help: if you import `Template`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - let mut tmpl = gtmpl::Template::default(); [INFO] [stdout] 9 + let mut tmpl = Template::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/template.rs - template::Template::parse (line 88) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] --> src/template.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut tmpl = gtmpl::Template::default(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use go_template::Template; [INFO] [stdout] | [INFO] [stdout] help: if you import `Template`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut tmpl = gtmpl::Template::default(); [INFO] [stdout] 3 + let mut tmpl = Template::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::lt (line 444) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/funcs.rs - funcs::ge (line 507) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/funcs.rs:508:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtmpl::template; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/template.rs - template::Template::add_funcs (line 63) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gtmpl` [INFO] [stdout] --> src/template.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gtmpl::{Context, Func, FuncError, Value}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] --> src/template.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 12 | let mut tmpl = gtmpl::Template::default(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `gtmpl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtmpl`, use `cargo add gtmpl` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use go_template::Template; [INFO] [stdout] | [INFO] [stdout] help: if you import `Template`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - let mut tmpl = gtmpl::Template::default(); [INFO] [stdout] 12 + let mut tmpl = Template::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/funcs.rs - funcs::and (line 167) [INFO] [stdout] src/funcs.rs - funcs::call (line 229) [INFO] [stdout] src/funcs.rs - funcs::eq (line 413) [INFO] [stdout] src/funcs.rs - funcs::ge (line 507) [INFO] [stdout] src/funcs.rs - funcs::gt (line 487) [INFO] [stdout] src/funcs.rs - funcs::index (line 349) [INFO] [stdout] src/funcs.rs - funcs::le (line 464) [INFO] [stdout] src/funcs.rs - funcs::len (line 203) [INFO] [stdout] src/funcs.rs - funcs::lt (line 444) [INFO] [stdout] src/funcs.rs - funcs::ne (line 429) [INFO] [stdout] src/funcs.rs - funcs::not (line 187) [INFO] [stdout] src/funcs.rs - funcs::or (line 144) [INFO] [stdout] src/funcs.rs - funcs::print (line 258) [INFO] [stdout] src/funcs.rs - funcs::printf (line 327) [INFO] [stdout] src/funcs.rs - funcs::println (line 288) [INFO] [stdout] src/funcs.rs - funcs::urlquery (line 392) [INFO] [stdout] src/lib.rs - (line 4) [INFO] [stdout] src/lib.rs - template (line 41) [INFO] [stdout] src/template.rs - template::Template::add_func (line 42) [INFO] [stdout] src/template.rs - template::Template::add_funcs (line 63) [INFO] [stdout] src/template.rs - template::Template::add_template (line 106) [INFO] [stdout] src/template.rs - template::Template::parse (line 88) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 22 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ada1c620dcac245bbbf3e93b151fa2498a4934949acb26ffc31c8c3e2c0acd99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada1c620dcac245bbbf3e93b151fa2498a4934949acb26ffc31c8c3e2c0acd99", kill_on_drop: false }` [INFO] [stdout] ada1c620dcac245bbbf3e93b151fa2498a4934949acb26ffc31c8c3e2c0acd99