[INFO] fetching crate simpletemplate 0.1.0... [INFO] testing simpletemplate-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate simpletemplate 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate simpletemplate 0.1.0 [INFO] finished tweaking crates.io crate simpletemplate 0.1.0 [INFO] tweaked toml for crates.io crate simpletemplate 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simpletemplate 0.1.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 simpletemplate 0.1.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] 9b31b9f96b17527283b3386253bb21e7b2b26465c235ba2132efb6774dda1f82 [INFO] running `Command { std: "docker" "start" "-a" "9b31b9f96b17527283b3386253bb21e7b2b26465c235ba2132efb6774dda1f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b31b9f96b17527283b3386253bb21e7b2b26465c235ba2132efb6774dda1f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b31b9f96b17527283b3386253bb21e7b2b26465c235ba2132efb6774dda1f82", kill_on_drop: false }` [INFO] [stdout] 9b31b9f96b17527283b3386253bb21e7b2b26465c235ba2132efb6774dda1f82 [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] b6dc742a2b40b4eec731657a11ad70afd5d14730f97e63c5636cb535c2115ac3 [INFO] running `Command { std: "docker" "start" "-a" "b6dc742a2b40b4eec731657a11ad70afd5d14730f97e63c5636cb535c2115ac3", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Compiling serde_json v1.0.90 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling string-join v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling simpletemplate v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.88s [INFO] running `Command { std: "docker" "inspect" "b6dc742a2b40b4eec731657a11ad70afd5d14730f97e63c5636cb535c2115ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6dc742a2b40b4eec731657a11ad70afd5d14730f97e63c5636cb535c2115ac3", kill_on_drop: false }` [INFO] [stdout] b6dc742a2b40b4eec731657a11ad70afd5d14730f97e63c5636cb535c2115ac3 [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] ca5e2c22b17988faf53a49a9b328afc025413caddfbef5d1accb16b5a3653737 [INFO] running `Command { std: "docker" "start" "-a" "ca5e2c22b17988faf53a49a9b328afc025413caddfbef5d1accb16b5a3653737", kill_on_drop: false }` [INFO] [stderr] Compiling simpletemplate v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "ca5e2c22b17988faf53a49a9b328afc025413caddfbef5d1accb16b5a3653737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca5e2c22b17988faf53a49a9b328afc025413caddfbef5d1accb16b5a3653737", kill_on_drop: false }` [INFO] [stdout] ca5e2c22b17988faf53a49a9b328afc025413caddfbef5d1accb16b5a3653737 [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", kill_on_drop: false }` [INFO] [stdout] 1e75834b0779bf3ae9841f4015950a3a69cddd3ea7645ef710f45e9d27928183 [INFO] running `Command { std: "docker" "start" "-a" "1e75834b0779bf3ae9841f4015950a3a69cddd3ea7645ef710f45e9d27928183", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simpletemplate-83d81a6b6a168917) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simpletemplate-eb894704ccf1e0d1) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests simpletemplate [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - (line 114) ... FAILED [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] test src/lib.rs - (line 98) ... FAILED [INFO] [stdout] test src/lib.rs - (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - (line 58) ... FAILED [INFO] [stdout] test src/lib.rs - (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - (line 90) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 106) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | let data = json!({ "items": ["a", "b", "c"] }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 106 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 106 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 43) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | let data = json!({ "items": ["a", "b", "c"] }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 43 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 43 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | let data = json!({ "foo": null }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 21 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | let data = json!({ "foo": "bar" }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 13 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 114) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | let data = json!({}); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 114 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 114 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | let data = json!({ "foo": "bar" }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 98) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | let data = json!({ "foo": "bar" }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 98 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 98 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 28) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | let data = json!({ "items": ["a", "b", "c"] }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 28 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 28 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 58) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | let data = json!({ "items": ["a", "b", "c"] }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 58 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 58 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 36) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | let data = json!({ "items": [] }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 36 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 51) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | let data = json!({ "items": ["a", "b", "c"] }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 51 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 51 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 65) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | let data = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 65 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 65 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 78) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | let data = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 78 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 78 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 90) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | let data = json!({}); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 90 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render` in this scope [INFO] [stdout] --> src/lib.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(render(template, data), expected); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 90 + use simpletemplate::render; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 106) [INFO] [stdout] src/lib.rs - (line 114) [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - (line 28) [INFO] [stdout] src/lib.rs - (line 36) [INFO] [stdout] src/lib.rs - (line 43) [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] src/lib.rs - (line 51) [INFO] [stdout] src/lib.rs - (line 58) [INFO] [stdout] src/lib.rs - (line 65) [INFO] [stdout] src/lib.rs - (line 78) [INFO] [stdout] src/lib.rs - (line 90) [INFO] [stdout] src/lib.rs - (line 98) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.66s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1e75834b0779bf3ae9841f4015950a3a69cddd3ea7645ef710f45e9d27928183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e75834b0779bf3ae9841f4015950a3a69cddd3ea7645ef710f45e9d27928183", kill_on_drop: false }` [INFO] [stdout] 1e75834b0779bf3ae9841f4015950a3a69cddd3ea7645ef710f45e9d27928183