[INFO] cloning repository https://github.com/devanbenz/monopolize [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devanbenz/monopolize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevanbenz%2Fmonopolize", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevanbenz%2Fmonopolize'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2eb479813fb50ed59b28d9c4d07833f5ee147cbd [INFO] building devanbenz/monopolize against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevanbenz%2Fmonopolize" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devanbenz/monopolize on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/devanbenz/monopolize [INFO] finished tweaking git repo https://github.com/devanbenz/monopolize [INFO] tweaked toml for git repo https://github.com/devanbenz/monopolize written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/devanbenz/monopolize 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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2766492f86f469e68ce834774965d5709a73dcd813cf93bc472e76a14764bca [INFO] running `Command { std: "docker" "start" "-a" "e2766492f86f469e68ce834774965d5709a73dcd813cf93bc472e76a14764bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2766492f86f469e68ce834774965d5709a73dcd813cf93bc472e76a14764bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2766492f86f469e68ce834774965d5709a73dcd813cf93bc472e76a14764bca", kill_on_drop: false }` [INFO] [stdout] e2766492f86f469e68ce834774965d5709a73dcd813cf93bc472e76a14764bca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 438fa257e6a1209de5522c0d64a115576cfac8a47ed4e52680f2cfc5cd42ef23 [INFO] running `Command { std: "docker" "start" "-a" "438fa257e6a1209de5522c0d64a115576cfac8a47ed4e52680f2cfc5cd42ef23", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling arrow-schema v52.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling lexical-write-integer v0.8.5 [INFO] [stderr] Compiling lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling lexical-write-float v0.8.5 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling lexical-parse-float v0.8.5 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling arrow-buffer v52.1.0 [INFO] [stderr] Compiling zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling lexical-core v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling arrow-data v52.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling flatbuffers v24.3.25 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio v1.39.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling comfy-table v7.1.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling arrow-array v52.1.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling arrow-select v52.1.0 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling arrow-cast v52.1.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling arrow-ord v52.1.0 [INFO] [stderr] Compiling thrift v0.17.0 [INFO] [stderr] Compiling arrow-string v52.1.0 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling object_store v0.10.2 [INFO] [stderr] Compiling arrow-row v52.1.0 [INFO] [stderr] Compiling arrow-arith v52.1.0 [INFO] [stderr] Compiling arrow-ipc v52.1.0 [INFO] [stderr] Compiling arrow-json v52.1.0 [INFO] [stderr] Compiling arrow-csv v52.1.0 [INFO] [stderr] Compiling sqlparser_derive v0.2.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling arrow v52.1.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling sqlparser v0.47.0 [INFO] [stderr] Compiling parquet v52.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling blake3 v1.5.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling arrayref v0.3.8 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling datafusion-common-runtime v40.0.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling datafusion-common v40.0.0 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling datafusion-expr v40.0.0 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling async-compression v0.4.12 [INFO] [stderr] Compiling datafusion-execution v40.0.0 [INFO] [stderr] Compiling datafusion-physical-expr-common v40.0.0 [INFO] [stderr] Compiling datafusion-sql v40.0.0 [INFO] [stderr] Compiling datafusion-physical-expr v40.0.0 [INFO] [stderr] Compiling datafusion-functions-aggregate v40.0.0 [INFO] [stderr] Compiling datafusion-functions v40.0.0 [INFO] [stderr] Compiling datafusion-physical-plan v40.0.0 [INFO] [stderr] Compiling datafusion-optimizer v40.0.0 [INFO] [stderr] Compiling datafusion-functions-array v40.0.0 [INFO] [stderr] Compiling datafusion v40.0.0 [INFO] [stderr] Compiling monopolize v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `arrow_fields` [INFO] [stdout] --> src/merger/schema_unifier.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | fn csv_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arrow_fields` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/merger/schema_unifier.rs:48:59 [INFO] [stdout] | [INFO] [stdout] 48 | fn csv_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow_fields` [INFO] [stdout] --> src/merger/schema_unifier.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | fn json_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arrow_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/merger/schema_unifier.rs:50:60 [INFO] [stdout] | [INFO] [stdout] 50 | fn json_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow_fields` [INFO] [stdout] --> src/merger/schema_unifier.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | fn orc_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arrow_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/merger/schema_unifier.rs:52:59 [INFO] [stdout] | [INFO] [stdout] 52 | fn orc_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/merger/file_manager.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let props = WriterProperties::builder() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_application_server` is never used [INFO] [stdout] --> src/api/server.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | pub async fn start_application_server() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_input` is never used [INFO] [stdout] --> src/cli.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn handle_input() -> Result<(Vec, String), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_fs` is never used [INFO] [stdout] --> src/cli.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn read_from_fs(file: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FileNotFoundError` is never constructed [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 5 | #[error("There was an error reading {0} from the file system. Please make sure you are using an existing file for merging.")] [INFO] [stdout] 6 | FileNotFoundError(String) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SchemaUnifier` is never constructed [INFO] [stdout] --> src/merger/schema_unifier.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SchemaUnifier<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaUnifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `merge_schema_from_files`, `parquet_to_arrow_schema`, `csv_to_arrow_schema`, `json_to_arrow_schema`, and `orc_to_arrow_schema` are never used [INFO] [stdout] --> src/merger/schema_unifier.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> SchemaUnifier<'a> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(file_paths: &'a Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn merge_schema_from_files(&'a self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn parquet_to_arrow_schema(arrow_fields: &mut Vec, file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn csv_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | [INFO] [stdout] 50 | fn json_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | [INFO] [stdout] 52 | fn orc_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileManager` is never constructed [INFO] [stdout] --> src/merger/file_manager.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FileManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `merge_files`, `write_record_batch_to_parquet`, `convert_batch_to_schema`, `write_to_combined_schema_arrow_batch`, and `create_default_array` are never used [INFO] [stdout] --> src/merger/file_manager.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl FileManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(file_paths: Vec, schema: SchemaRef, output_file_path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn merge_files(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn write_record_batch_to_parquet( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn convert_batch_to_schema(schema: &SchemaRef, record_batch: RecordBatch) -> RecordBatch { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn write_to_combined_schema_arrow_batch( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn create_default_array(data_type: &DataType, num_rows: usize) -> ArrayRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileType` is never used [INFO] [stdout] --> src/merger/file_manager.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | pub enum FileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_type` is never used [INFO] [stdout] --> src/merger/file_manager.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_file_type(path: &Path) -> FileType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 08s [INFO] running `Command { std: "docker" "inspect" "438fa257e6a1209de5522c0d64a115576cfac8a47ed4e52680f2cfc5cd42ef23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "438fa257e6a1209de5522c0d64a115576cfac8a47ed4e52680f2cfc5cd42ef23", kill_on_drop: false }` [INFO] [stdout] 438fa257e6a1209de5522c0d64a115576cfac8a47ed4e52680f2cfc5cd42ef23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa5cd7f5af1ae7e90559bddcc39543243e9f10e61989088eb6e889ddb6dd60e7 [INFO] running `Command { std: "docker" "start" "-a" "aa5cd7f5af1ae7e90559bddcc39543243e9f10e61989088eb6e889ddb6dd60e7", kill_on_drop: false }` [INFO] [stderr] Compiling monopolize v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `arrow_fields` [INFO] [stdout] --> src/merger/schema_unifier.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | fn csv_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arrow_fields` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/merger/schema_unifier.rs:48:59 [INFO] [stdout] | [INFO] [stdout] 48 | fn csv_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow_fields` [INFO] [stdout] --> src/merger/schema_unifier.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | fn json_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arrow_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/merger/schema_unifier.rs:50:60 [INFO] [stdout] | [INFO] [stdout] 50 | fn json_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow_fields` [INFO] [stdout] --> src/merger/schema_unifier.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | fn orc_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arrow_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/merger/schema_unifier.rs:52:59 [INFO] [stdout] | [INFO] [stdout] 52 | fn orc_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/merger/file_manager.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let props = WriterProperties::builder() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_application_server` is never used [INFO] [stdout] --> src/api/server.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | pub async fn start_application_server() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_input` is never used [INFO] [stdout] --> src/cli.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn handle_input() -> Result<(Vec, String), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_fs` is never used [INFO] [stdout] --> src/cli.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn read_from_fs(file: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FileNotFoundError` is never constructed [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 5 | #[error("There was an error reading {0} from the file system. Please make sure you are using an existing file for merging.")] [INFO] [stdout] 6 | FileNotFoundError(String) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SchemaUnifier` is never constructed [INFO] [stdout] --> src/merger/schema_unifier.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SchemaUnifier<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaUnifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `merge_schema_from_files`, `parquet_to_arrow_schema`, `csv_to_arrow_schema`, `json_to_arrow_schema`, and `orc_to_arrow_schema` are never used [INFO] [stdout] --> src/merger/schema_unifier.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> SchemaUnifier<'a> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(file_paths: &'a Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn merge_schema_from_files(&'a self) -> SchemaRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn parquet_to_arrow_schema(arrow_fields: &mut Vec, file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn csv_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | [INFO] [stdout] 50 | fn json_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | [INFO] [stdout] 52 | fn orc_to_arrow_schema(arrow_fields: &mut Vec, file: File) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileManager` is never constructed [INFO] [stdout] --> src/merger/file_manager.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FileManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `merge_files`, `write_record_batch_to_parquet`, `convert_batch_to_schema`, `write_to_combined_schema_arrow_batch`, and `create_default_array` are never used [INFO] [stdout] --> src/merger/file_manager.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl FileManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(file_paths: Vec, schema: SchemaRef, output_file_path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn merge_files(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn write_record_batch_to_parquet( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn convert_batch_to_schema(schema: &SchemaRef, record_batch: RecordBatch) -> RecordBatch { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn write_to_combined_schema_arrow_batch( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn create_default_array(data_type: &DataType, num_rows: usize) -> ArrayRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileType` is never used [INFO] [stdout] --> src/merger/file_manager.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | pub enum FileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_type` is never used [INFO] [stdout] --> src/merger/file_manager.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_file_type(path: &Path) -> FileType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.99s [INFO] running `Command { std: "docker" "inspect" "aa5cd7f5af1ae7e90559bddcc39543243e9f10e61989088eb6e889ddb6dd60e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa5cd7f5af1ae7e90559bddcc39543243e9f10e61989088eb6e889ddb6dd60e7", kill_on_drop: false }` [INFO] [stdout] aa5cd7f5af1ae7e90559bddcc39543243e9f10e61989088eb6e889ddb6dd60e7