[INFO] fetching crate axion-data 0.1.1... [INFO] testing axion-data-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate axion-data 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate axion-data 0.1.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate axion-data 0.1.1 [INFO] tweaked toml for crates.io crate axion-data 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate axion-data 0.1.1 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] crate crates.io crate axion-data 0.1.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1933c99468b3296903a0f6a693952eedca729f7856424b66c81da4fe82e325e5 [INFO] running `Command { std: "docker" "start" "-a" "1933c99468b3296903a0f6a693952eedca729f7856424b66c81da4fe82e325e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1933c99468b3296903a0f6a693952eedca729f7856424b66c81da4fe82e325e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1933c99468b3296903a0f6a693952eedca729f7856424b66c81da4fe82e325e5", kill_on_drop: false }` [INFO] [stdout] 1933c99468b3296903a0f6a693952eedca729f7856424b66c81da4fe82e325e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 095a20d94f45343f14c987e95631d39aadb95e3856f026f17420eb4740edbed5 [INFO] running `Command { std: "docker" "start" "-a" "095a20d94f45343f14c987e95631d39aadb95e3856f026f17420eb4740edbed5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling axion-data v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.95s [INFO] running `Command { std: "docker" "inspect" "095a20d94f45343f14c987e95631d39aadb95e3856f026f17420eb4740edbed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "095a20d94f45343f14c987e95631d39aadb95e3856f026f17420eb4740edbed5", kill_on_drop: false }` [INFO] [stdout] 095a20d94f45343f14c987e95631d39aadb95e3856f026f17420eb4740edbed5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b0900898c96843e2dc21cd3d018b1e0ebacd4bdc64480c94086bcdd6063a715d [INFO] running `Command { std: "docker" "start" "-a" "b0900898c96843e2dc21cd3d018b1e0ebacd4bdc64480c94086bcdd6063a715d", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.6.0 [INFO] [stderr] Compiling axion-data v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 43.07s [INFO] running `Command { std: "docker" "inspect" "b0900898c96843e2dc21cd3d018b1e0ebacd4bdc64480c94086bcdd6063a715d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0900898c96843e2dc21cd3d018b1e0ebacd4bdc64480c94086bcdd6063a715d", kill_on_drop: false }` [INFO] [stdout] b0900898c96843e2dc21cd3d018b1e0ebacd4bdc64480c94086bcdd6063a715d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0507d94b0f92ca48fa7c6e08876edfe8343d2f45b2882d98fc786cfddbb94fd1 [INFO] running `Command { std: "docker" "start" "-a" "0507d94b0f92ca48fa7c6e08876edfe8343d2f45b2882d98fc786cfddbb94fd1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axion_data-33aefbe901bfc8d8) [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] [stderr] Running tests/main.rs (/opt/rustwide/target/debug/deps/main-c3733abb87e1e49f) [INFO] [stdout] [INFO] [stdout] running 62 tests [INFO] [stdout] test dataframe::core::test_column_access ... ok [INFO] [stdout] test dataframe::core::test_df_add_column_to_empty_dataframe ... ok [INFO] [stdout] test dataframe::core::test_df_drop_column ... ok [INFO] [stdout] test dataframe::core::test_df_macro_duplicate_column_name ... ok [INFO] [stdout] test dataframe::core::test_df_macro_empty ... ok [INFO] [stdout] test dataframe::core::test_df_macro_mismatched_lengths ... ok [INFO] [stdout] test dataframe::core::test_downcast_column ... ok [INFO] [stdout] test dataframe::core::test_df_add_column ... ok [INFO] [stdout] test dataframe::core::test_drop ... ok [INFO] [stdout] test dataframe::core::test_new_dataframe_mismatched_lengths ... ok [INFO] [stdout] test dataframe::core::test_head ... ok [INFO] [stdout] test dataframe::core::test_tail ... ok [INFO] [stdout] test dataframe::core::test_df_rename_column ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_count_empty_df ... ok [INFO] [stdout] test dataframe::core::test_join_column_name_conflict ... ok [INFO] [stdout] test dataframe::core::test_new_dataframe_success ... ok [INFO] [stdout] test dataframe::core::test_select ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_count_multi_keys ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_mean_all_nulls_in_group ... ok [INFO] [stdout] test dataframe::core::test_new_dataframe_duplicate_names ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_mean_empty_df ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_mean_with_nulls_and_nan ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_count_single_key_string ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_count_single_key_int ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_sum_multi_keys ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_count_with_nulls_in_key ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_mean_comprehensive ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_sum_comprehensive ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_error_handling ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_sum_with_nulls_and_nan ... ok [INFO] [stdout] test dataframe::groupby::test_groupby_sum_empty_df ... ok [INFO] [stdout] test dataframe::core::test_df_macro_creation_and_properties ... ok [INFO] [stdout] test io::csv::test_read_csv_advanced_options ... ok [INFO] [stdout] test io::csv::test_read_csv_edge_cases ... ok [INFO] [stdout] test io::csv::test_read_csv_na_values ... ok [INFO] [stdout] test io::csv::test_read_csv_no_header ... ok [INFO] [stdout] test io::csv::test_read_csv_manual_dtypes ... ok [INFO] [stdout] test io::csv::test_read_csv_schema_options ... ok [INFO] [stdout] test io::csv::test_csv_roundtrip ... ok [INFO] [stdout] test io::csv::test_write_csv_basic ... ok [INFO] [stdout] test io::csv::test_write_csv_empty_dataframe ... ok [INFO] [stdout] test io::csv::test_write_csv_with_options ... ok [INFO] [stdout] test series::core::test_basic_properties_and_access ... ok [INFO] [stdout] test series::core::test_bool_operations ... ok [INFO] [stdout] test series::core::test_equals ... ok [INFO] [stdout] test io::csv::test_read_csv_with_empty_fields ... ok [INFO] [stdout] test io::csv::test_read_csv_column_selection ... ok [INFO] [stdout] test series::core::test_parallel_apply ... ok [INFO] [stdout] test series::core::test_series_aggregation ... ok [INFO] [stdout] test io::csv::test_read_csv_type_inference ... ok [INFO] [stdout] test io::csv::test_read_simple_csv ... ok [INFO] [stdout] test series::core::test_flags_and_sorting ... ok [INFO] [stdout] test series::core::test_functional_operations ... ok [INFO] [stdout] test series::core::test_modification_operations ... ok [INFO] [stdout] test series::core::test_null_handling ... ok [INFO] [stdout] test series::core::test_series_compare_operations ... ok [INFO] [stdout] test series::core::test_series_string_operations ... ok [INFO] [stdout] test series::core::test_series_creation ... ok [INFO] [stdout] test series::core::test_take_inner ... ok [INFO] [stdout] test series::core::test_series_arithmetic_operations ... ok [INFO] [stdout] test series::core::test_filter_panic_length_mismatch - should panic ... ok [INFO] [stdout] test series::core::test_series_arith_series_int_div_zero - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 62 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Doc-tests axion_data [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/dataframe/core.rs - dataframe::core::DataFrame (line 29) ... FAILED [INFO] [stdout] test src/dataframe/core.rs - dataframe::core::DataFrame::groupby (line 845) ... FAILED [INFO] [stdout] test src/dataframe/core.rs - dataframe::core::DataFrame::add_column (line 227) ... FAILED [INFO] [stdout] test src/dataframe/core.rs - dataframe::core::DataFrame::sort (line 872) ... FAILED [INFO] [stdout] test src/dataframe/core.rs - dataframe::core::DataFrame::new (line 72) ... FAILED [INFO] [stdout] test src/dataframe/groupby.rs - dataframe::groupby::GroupBy (line 176) ... FAILED [INFO] [stdout] test src/dataframe/core.rs - dataframe::core::DataFrame::new_empty (line 107) ... FAILED [INFO] [stdout] test src/dataframe/types.rs - dataframe::types::GroupKeyValue (line 16) ... FAILED [INFO] [stdout] test src/dataframe/core.rs - dataframe::core::DataFrame::to_csv (line 934) ... FAILED [INFO] [stdout] test src/dataframe/macros.rs - dataframe::macros::df (line 13) ... FAILED [INFO] [stdout] test src/error.rs - error::AxionResult (line 198) ... FAILED [INFO] [stdout] test src/io/csv.rs - io::csv::WriteCsvOptions (line 549) ... FAILED [INFO] [stdout] test src/dataframe/types.rs - dataframe::types::GroupKey (line 49) ... FAILED [INFO] [stdout] test src/dataframe/groupby.rs - dataframe::groupby::GroupBy<'a>::count (line 275) ... FAILED [INFO] [stdout] test src/io/csv.rs - io::csv::ReadCsvOptions (line 20) ... FAILED [INFO] [stdout] test src/dataframe/core.rs - dataframe::core::DataFrame::shape (line 127) ... FAILED [INFO] [stdout] test src/io/csv.rs - io::csv::read_csv (line 318) ... FAILED [INFO] [stdout] test src/io/csv.rs - io::csv::ReadCsvOptionsBuilder (line 92) ... FAILED [INFO] [stdout] test src/series/string.rs - series::string::StringAccessor (line 16) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/dataframe/core.rs - dataframe::core::DataFrame (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axion` [INFO] [stdout] --> src/dataframe/core.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axion::dataframe::DataFrame; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `axion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axion`, use `cargo add axion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axion` [INFO] [stdout] --> src/dataframe/core.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axion::series::Series; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `axion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axion`, use `cargo add axion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dataframe/core.rs - dataframe::core::DataFrame::groupby (line 845) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `df` in this scope [INFO] [stdout] --> src/dataframe/core.rs:846:15 [INFO] [stdout] | [INFO] [stdout] 3 | let grouped = df.groupby(&["类别"])?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dataframe/core.rs - dataframe::core::DataFrame::add_column (line 227) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Series` [INFO] [stdout] --> src/dataframe/core.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 3 | let new_col = Series::new("新列".to_string(), vec![1, 2, 3]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Series` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use axion_data::Series; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `df` in this scope [INFO] [stdout] --> src/dataframe/core.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 4 | df.add_column(Box::new(new_col))?; [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, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dataframe/core.rs - dataframe::core::DataFrame::sort (line 872) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `df` in this scope [INFO] [stdout] --> src/dataframe/core.rs:874:17 [INFO] [stdout] | [INFO] [stdout] 4 | let sorted_df = df.sort(&["年龄", "姓名"], &[false, true])?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dataframe/core.rs - dataframe::core::DataFrame::new (line 72) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Series` [INFO] [stdout] --> src/dataframe/core.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 4 | Box::new(Series::new("A".to_string(), vec![1, 2, 3])), [INFO] [stdout] | ^^^^^^ use of undeclared type `Series` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use axion_data::Series; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Series` [INFO] [stdout] --> src/dataframe/core.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 5 | Box::new(Series::new("B".to_string(), vec![4, 5, 6])), [INFO] [stdout] | ^^^^^^ use of undeclared type `Series` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use axion_data::Series; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataFrame` [INFO] [stdout] --> src/dataframe/core.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 7 | let df = DataFrame::new(columns)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DataFrame` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use axion_data::DataFrame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dataframe/groupby.rs - dataframe::groupby::GroupBy (line 176) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `df` in this scope [INFO] [stdout] --> src/dataframe/groupby.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 3 | let grouped = df.groupby(&["类别"])?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dataframe/core.rs - dataframe::core::DataFrame::new_empty (line 107) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataFrame` [INFO] [stdout] --> src/dataframe/core.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 3 | let empty_df = DataFrame::new_empty(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DataFrame` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use axion_data::DataFrame; [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/dataframe/types.rs - dataframe::types::GroupKeyValue (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axion` [INFO] [stdout] --> src/dataframe/types.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axion::dataframe::types::GroupKeyValue; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `axion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axion`, use `cargo add axion` 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/dataframe/core.rs - dataframe::core::DataFrame::to_csv (line 934) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axion` [INFO] [stdout] --> src/dataframe/core.rs:935:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axion::io::csv::WriteCsvOptions; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `axion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axion`, use `cargo add axion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `df` in this scope [INFO] [stdout] --> src/dataframe/core.rs:938:1 [INFO] [stdout] | [INFO] [stdout] 6 | df.to_csv("output.csv", None)?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `df` in this scope [INFO] [stdout] --> src/dataframe/core.rs:946:1 [INFO] [stdout] | [INFO] [stdout] 14 | df.to_csv("output.csv", Some(options))?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dataframe/macros.rs - dataframe::macros::df (line 13) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axion` [INFO] [stdout] --> src/dataframe/macros.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axion::df; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `axion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axion`, use `cargo add axion` 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/error.rs - error::AxionResult (line 198) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `AxionResult` in this scope [INFO] [stdout] --> src/error.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 3 | fn process_data() -> AxionResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use axion_data::AxionResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DataFrame` in this scope [INFO] [stdout] --> src/error.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 3 | fn process_data() -> AxionResult { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use axion_data::DataFrame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dataframe` in this scope [INFO] [stdout] --> src/error.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 5 | Ok(dataframe) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/csv.rs - io::csv::WriteCsvOptions (line 549) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axion` [INFO] [stdout] --> src/io/csv.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axion::io::csv::{WriteCsvOptions, QuoteStyle}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `axion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axion`, use `cargo add axion` 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/dataframe/types.rs - dataframe::types::GroupKey (line 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axion` [INFO] [stdout] --> src/dataframe/types.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axion::dataframe::types::{GroupKey, GroupKeyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `axion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axion`, use `cargo add axion` 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/dataframe/groupby.rs - dataframe::groupby::GroupBy<'a>::count (line 275) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `df` in this scope [INFO] [stdout] --> src/dataframe/groupby.rs:276:15 [INFO] [stdout] | [INFO] [stdout] 3 | let grouped = df.groupby(&["类别"])?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/csv.rs - io::csv::ReadCsvOptions (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axion` [INFO] [stdout] --> src/io/csv.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axion::io::csv::{ReadCsvOptions, read_csv}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `axion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axion`, use `cargo add axion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axion` [INFO] [stdout] --> src/io/csv.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axion::dtype::DataType; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `axion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axion`, use `cargo add axion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dataframe/core.rs - dataframe::core::DataFrame::shape (line 127) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `df` in this scope [INFO] [stdout] --> src/dataframe/core.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 3 | let (rows, cols) = df.shape(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/csv.rs - io::csv::read_csv (line 318) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `read_csv` in this scope [INFO] [stdout] --> src/io/csv.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 4 | let df = read_csv("data.csv", None)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use axion_data::read_csv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReadCsvOptions` [INFO] [stdout] --> src/io/csv.rs:323:15 [INFO] [stdout] | [INFO] [stdout] 7 | let options = ReadCsvOptions::builder() [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ReadCsvOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use axion_data::ReadCsvOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_csv` in this scope [INFO] [stdout] --> src/io/csv.rs:327:10 [INFO] [stdout] | [INFO] [stdout] 11 | let df = read_csv("data.csv", Some(options))?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use axion_data::read_csv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/csv.rs - io::csv::ReadCsvOptionsBuilder (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReadCsvOptions` [INFO] [stdout] --> src/io/csv.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 3 | let options = ReadCsvOptions::builder() [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ReadCsvOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use axion_data::ReadCsvOptions; [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/series/string.rs - series::string::StringAccessor (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Series` [INFO] [stdout] --> src/series/string.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 3 | let s = Series::new("names".to_string(), vec!["Alice", "Bob", "Charlie"]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Series` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use axion_data::Series; [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] [INFO] [stdout] failures: [INFO] [stdout] src/dataframe/core.rs - dataframe::core::DataFrame (line 29) [INFO] [stdout] src/dataframe/core.rs - dataframe::core::DataFrame::add_column (line 227) [INFO] [stdout] src/dataframe/core.rs - dataframe::core::DataFrame::groupby (line 845) [INFO] [stdout] src/dataframe/core.rs - dataframe::core::DataFrame::new (line 72) [INFO] [stdout] src/dataframe/core.rs - dataframe::core::DataFrame::new_empty (line 107) [INFO] [stdout] src/dataframe/core.rs - dataframe::core::DataFrame::shape (line 127) [INFO] [stdout] src/dataframe/core.rs - dataframe::core::DataFrame::sort (line 872) [INFO] [stdout] src/dataframe/core.rs - dataframe::core::DataFrame::to_csv (line 934) [INFO] [stdout] src/dataframe/groupby.rs - dataframe::groupby::GroupBy (line 176) [INFO] [stdout] src/dataframe/groupby.rs - dataframe::groupby::GroupBy<'a>::count (line 275) [INFO] [stdout] src/dataframe/macros.rs - dataframe::macros::df (line 13) [INFO] [stdout] src/dataframe/types.rs - dataframe::types::GroupKey (line 49) [INFO] [stdout] src/dataframe/types.rs - dataframe::types::GroupKeyValue (line 16) [INFO] [stdout] src/error.rs - error::AxionResult (line 198) [INFO] [stdout] src/io/csv.rs - io::csv::ReadCsvOptions (line 20) [INFO] [stdout] src/io/csv.rs - io::csv::ReadCsvOptionsBuilder (line 92) [INFO] [stdout] src/io/csv.rs - io::csv::WriteCsvOptions (line 549) [INFO] [stdout] src/io/csv.rs - io::csv::read_csv (line 318) [INFO] [stdout] src/series/string.rs - series::string::StringAccessor (line 16) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.04s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0507d94b0f92ca48fa7c6e08876edfe8343d2f45b2882d98fc786cfddbb94fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0507d94b0f92ca48fa7c6e08876edfe8343d2f45b2882d98fc786cfddbb94fd1", kill_on_drop: false }` [INFO] [stdout] 0507d94b0f92ca48fa7c6e08876edfe8343d2f45b2882d98fc786cfddbb94fd1