[INFO] fetching crate csv-codegen 0.2.2... [INFO] testing csv-codegen-0.2.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate csv-codegen 0.2.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate csv-codegen 0.2.2 [INFO] finished tweaking crates.io crate csv-codegen 0.2.2 [INFO] tweaked toml for crates.io crate csv-codegen 0.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate csv-codegen 0.2.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate csv-codegen 0.2.2 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded convert_case v0.8.0 [INFO] [stderr] Downloaded trybuild v1.0.105 [INFO] [stderr] Downloaded insta v1.43.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70d672b513db46432065a116f841481a42e92b257c00a6d8d8338273e68437e2 [INFO] running `Command { std: "docker" "start" "-a" "70d672b513db46432065a116f841481a42e92b257c00a6d8d8338273e68437e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70d672b513db46432065a116f841481a42e92b257c00a6d8d8338273e68437e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70d672b513db46432065a116f841481a42e92b257c00a6d8d8338273e68437e2", kill_on_drop: false }` [INFO] [stdout] 70d672b513db46432065a116f841481a42e92b257c00a6d8d8338273e68437e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89a5884e4c56c9489cafcbfc5fffd0903e7b3e8b613d5e577f38a3ecaee20f46 [INFO] running `Command { std: "docker" "start" "-a" "89a5884e4c56c9489cafcbfc5fffd0903e7b3e8b613d5e577f38a3ecaee20f46", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling csv-codegen v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.46s [INFO] running `Command { std: "docker" "inspect" "89a5884e4c56c9489cafcbfc5fffd0903e7b3e8b613d5e577f38a3ecaee20f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89a5884e4c56c9489cafcbfc5fffd0903e7b3e8b613d5e577f38a3ecaee20f46", kill_on_drop: false }` [INFO] [stdout] 89a5884e4c56c9489cafcbfc5fffd0903e7b3e8b613d5e577f38a3ecaee20f46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] debc3699526b6653cd1891b0e50182d81ff41f6a6fa51fa1a8aefa2e9f0c0f79 [INFO] running `Command { std: "docker" "start" "-a" "debc3699526b6653cd1891b0e50182d81ff41f6a6fa51fa1a8aefa2e9f0c0f79", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling csv-codegen v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.6.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling trybuild v1.0.105 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.86s [INFO] running `Command { std: "docker" "inspect" "debc3699526b6653cd1891b0e50182d81ff41f6a6fa51fa1a8aefa2e9f0c0f79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debc3699526b6653cd1891b0e50182d81ff41f6a6fa51fa1a8aefa2e9f0c0f79", kill_on_drop: false }` [INFO] [stdout] debc3699526b6653cd1891b0e50182d81ff41f6a6fa51fa1a8aefa2e9f0c0f79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 43f43e30860878095352bb64923e2eabb7a9d3b9499438d268df305e980f1cfc [INFO] running `Command { std: "docker" "start" "-a" "43f43e30860878095352bb64923e2eabb7a9d3b9499438d268df305e980f1cfc", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/csv_codegen-dba7453536979239) [INFO] [stdout] running 10 tests [INFO] [stdout] test data::tests::test_multi_group ... ok [INFO] [stdout] test data::tests::test_pivot ... ok [INFO] [stdout] test data::tests::test_multi_select ... ok [INFO] [stdout] test data::tests::test_any_row_filtering ... ok [INFO] [stdout] test data::tests::test_single_column ... ok [INFO] [stdout] test predicate::tests::parse_condition ... ok [INFO] [stdout] test template::tests::parse_literal_replacement ... ok [INFO] [stdout] test template::tests::parse_str_replacement ... ok [INFO] [stdout] test template::tests::parse_for_loop_replacement ... ok [INFO] [stdout] test template::tests::parse_literal_replacement_in_template_stream ... ok [INFO] [stderr] Doc-tests csv_codegen [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - csv_template (line 200) ... ignored [INFO] [stdout] test src/lib.rs - csv_template (line 28) ... ignored [INFO] [stdout] test src/lib.rs - csv_template (line 82) ... ignored [INFO] [stdout] test src/lib.rs - csv_template (line 97) ... FAILED [INFO] [stdout] test src/lib.rs - csv_template (line 161) ... FAILED [INFO] [stdout] test src/lib.rs - csv_template (line 177) ... FAILED [INFO] [stdout] test src/lib.rs - csv_template (line 142) ... FAILED [INFO] [stdout] test src/lib.rs - csv_template (line 123) ... FAILED [INFO] [stdout] test src/lib.rs - csv_template (line 135) ... ok [INFO] [stdout] test src/lib.rs - csv_template (line 153) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - csv_template (line 97) stdout ---- [INFO] [stdout] error: macro expansion ignores keyword `match` and any tokens following [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 7 | let sales = csv_codegen::csv_template!("../tests/sales.csv", pivot("q1_sales"..="q4_sales", quarter, amount), { [INFO] [stdout] | _____________- [INFO] [stdout] 8 | | match (product, quarter) { [INFO] [stdout] | | ^^^^^ [INFO] [stdout] 9 | | #each{ [INFO] [stdout] ... | [INFO] [stdout] 15 | | }); [INFO] [stdout] | |__- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `csv_codegen::csv_template!` is likely invalid in expression context [INFO] [stdout] [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] hint: tried to read from src/../tests/sales.csv [INFO] [stdout] --> src/lib.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 7 | let sales = csv_codegen::csv_template!("../tests/sales.csv", pivot("q1_sales"..="q4_sales", quarter, amount), { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - csv_template (line 161) stdout ---- [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] hint: tried to read from src/../tests/products.csv [INFO] [stdout] --> src/lib.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 5 | csv_codegen::csv_template!("../tests/products.csv", { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 5 | / csv_codegen::csv_template!("../tests/products.csv", { [INFO] [stdout] 6 | | fn get_price(name: &str) -> Option { [INFO] [stdout] 7 | | match name { [INFO] [stdout] 8 | | #each(price != ""){ [INFO] [stdout] 9 | | #("{name}") => Some(#({price}_f64)), [INFO] [stdout] | | ---- arguments to this enum variant are incorrect [INFO] [stdout] ... | [INFO] [stdout] 14 | | }); [INFO] [stdout] | |__^ expected `f64`, found `&str` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `&'static str` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 5 | / csv_codegen::csv_template!("../tests/products.csv", { [INFO] [stdout] 6 | | fn get_price(name: &str) -> Option { [INFO] [stdout] 7 | | match name { [INFO] [stdout] 8 | | #each(price != ""){ [INFO] [stdout] ... | [INFO] [stdout] 14 | | }); [INFO] [stdout] | |__^ this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/option.rs:601:5 [INFO] [stdout] = note: this error originates in the macro `csv_codegen::csv_template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - csv_template (line 177) stdout ---- [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] hint: tried to read from src/../tests/sales.csv [INFO] [stdout] --> src/lib.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 8 | csv_codegen::csv_template!("../tests/sales.csv", pivot("q1_sales"..="q4_sales", quarter, sales), { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmartWatchProduct` [INFO] [stdout] --> src/lib.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(SmartWatchProduct::Q_2_SALES, 180); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `SmartWatchProduct` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 8 | / csv_codegen::csv_template!("../tests/sales.csv", pivot("q1_sales"..="q4_sales", quarter, sales), { [INFO] [stdout] 9 | | #each{ [INFO] [stdout] 10 | | struct #Type({product}Product); [INFO] [stdout] 11 | | impl #Type({product}Product) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | }); [INFO] [stdout] | |__^ expected `u32`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `csv_codegen::csv_template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - csv_template (line 142) stdout ---- [INFO] [stdout] error: macro expansion ignores keyword `pub` and any tokens following [INFO] [stdout] --> src/lib.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 5 | / csv_codegen::csv_template!("../tests/products.csv", { [INFO] [stdout] 6 | | #each(category == "fruit"){ [INFO] [stdout] 7 | | pub fn #ident(get_{name}_price)() -> f64 { [INFO] [stdout] | | ^^^ [INFO] [stdout] 8 | | #({price}_f64) [INFO] [stdout] ... | [INFO] [stdout] 11 | | }) [INFO] [stdout] | |__- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `csv_codegen::csv_template!` is likely invalid in expression context [INFO] [stdout] help: you might be missing a semicolon here [INFO] [stdout] | [INFO] [stdout] 11 | }); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] hint: tried to read from src/../tests/products.csv [INFO] [stdout] --> src/lib.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 5 | csv_codegen::csv_template!("../tests/products.csv", { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - csv_template (line 123) stdout ---- [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] hint: tried to read from src/../tests/products.csv [INFO] [stdout] --> src/lib.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 9 | csv_codegen::csv_template!("../tests/products.csv", #each { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIRELESS_HEADPHONES_PRICE` in this scope [INFO] [stdout] --> src/lib.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(WIRELESS_HEADPHONES_PRICE, 89.99); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 9 | / csv_codegen::csv_template!("../tests/products.csv", #each { [INFO] [stdout] 10 | | pub const #CONST({name}_PRICE): f64 = #({price}_f64); [INFO] [stdout] 11 | | }); [INFO] [stdout] | |__^ expected `f64`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `csv_codegen::csv_template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - csv_template (line 123) [INFO] [stdout] src/lib.rs - csv_template (line 142) [INFO] [stdout] src/lib.rs - csv_template (line 161) [INFO] [stdout] src/lib.rs - csv_template (line 177) [INFO] [stdout] src/lib.rs - csv_template (line 97) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 5 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.48s; merged doctests compilation took 0.22s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "43f43e30860878095352bb64923e2eabb7a9d3b9499438d268df305e980f1cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43f43e30860878095352bb64923e2eabb7a9d3b9499438d268df305e980f1cfc", kill_on_drop: false }` [INFO] [stdout] 43f43e30860878095352bb64923e2eabb7a9d3b9499438d268df305e980f1cfc