[INFO] fetching crate oracle_sql_tools 0.2.0... [INFO] testing oracle_sql_tools-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate oracle_sql_tools 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate oracle_sql_tools 0.2.0 [INFO] finished tweaking crates.io crate oracle_sql_tools 0.2.0 [INFO] tweaked toml for crates.io crate oracle_sql_tools 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oracle_sql_tools 0.2.0 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 oracle_sql_tools 0.2.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oracle v0.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 16e15df995dab0300b5a564c84fd8e410e6d21a6cba3c07d15e3242d1818078f [INFO] running `Command { std: "docker" "start" "-a" "16e15df995dab0300b5a564c84fd8e410e6d21a6cba3c07d15e3242d1818078f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16e15df995dab0300b5a564c84fd8e410e6d21a6cba3c07d15e3242d1818078f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e15df995dab0300b5a564c84fd8e410e6d21a6cba3c07d15e3242d1818078f", kill_on_drop: false }` [INFO] [stdout] 16e15df995dab0300b5a564c84fd8e410e6d21a6cba3c07d15e3242d1818078f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 683059ee95b0d3bdc3eab3c50e47ffeda9203e7a5ece5cae7f9f364b6d0e2648 [INFO] running `Command { std: "docker" "start" "-a" "683059ee95b0d3bdc3eab3c50e47ffeda9203e7a5ece5cae7f9f364b6d0e2648", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling oracle v0.5.7 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling oracle_procmacro v0.1.2 [INFO] [stderr] Compiling oracle_sql_tools v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.75s [INFO] running `Command { std: "docker" "inspect" "683059ee95b0d3bdc3eab3c50e47ffeda9203e7a5ece5cae7f9f364b6d0e2648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "683059ee95b0d3bdc3eab3c50e47ffeda9203e7a5ece5cae7f9f364b6d0e2648", kill_on_drop: false }` [INFO] [stdout] 683059ee95b0d3bdc3eab3c50e47ffeda9203e7a5ece5cae7f9f364b6d0e2648 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ba376754035905029ebc67c75608a07d959cb32b357c07222e90161e0b74359a [INFO] running `Command { std: "docker" "start" "-a" "ba376754035905029ebc67c75608a07d959cb32b357c07222e90161e0b74359a", kill_on_drop: false }` [INFO] [stderr] Compiling oracle_sql_tools v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "ba376754035905029ebc67c75608a07d959cb32b357c07222e90161e0b74359a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba376754035905029ebc67c75608a07d959cb32b357c07222e90161e0b74359a", kill_on_drop: false }` [INFO] [stdout] ba376754035905029ebc67c75608a07d959cb32b357c07222e90161e0b74359a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f3e56b72cf2b7496f3fcea0ad00f582953ad78a5d6124b75c52030faa72adb28 [INFO] running `Command { std: "docker" "start" "-a" "f3e56b72cf2b7496f3fcea0ad00f582953ad78a5d6124b75c52030faa72adb28", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oracle_sql_tools-4c80d15e1882171e) [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] Doc-tests oracle_sql_tools [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - PrepData (line 30) - compile ... FAILED [INFO] [stdout] test src/lib.rs - PrepData (line 20) - compile ... FAILED [INFO] [stdout] test src/statements/insert.rs - statements::insert::PreppedGridData::insert (line 16) - compile ... FAILED [INFO] [stdout] test src/format_data.rs - format_data::FormatData (line 37) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 60) ... FAILED [INFO] [stdout] test src/statements/select.rs - statements::select::PreppedRowData::select (line 14) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] test src/format_data.rs - format_data::FormatData (line 19) - compile ... FAILED [INFO] [stdout] test src/statements/insert.rs - statements::insert::PreppedGridData::insert_single_thread (line 41) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - PrepData (line 30) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 1 | let conn: oracle::Connection = match Connection::connect("", "", "")?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PrepData (line 20) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 1 | let conn: oracle::Connection = match Connection::connect("", "", "")?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/insert.rs - statements::insert::PreppedGridData::insert (line 16) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/statements/insert.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 1 | let conn: oracle::Connection = match Connection::connect("", "", "")?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/format_data.rs - format_data::FormatData (line 37) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `some_crate` [INFO] [stdout] --> src/format_data.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 3 | use some_crate::SomeForeignType; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `some_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `some_crate`, use `cargo add some_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FormatData` in this scope [INFO] [stdout] --> src/format_data.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl FormatData for MyType<'_> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormatData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FormattedData` in this scope [INFO] [stdout] --> src/format_data.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 8 | fn fmt_data(self) -> FormattedData { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/format_data.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 10 | MyType(SomeForeignType::Int(val)) => FormattedData::INT(*val), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/format_data.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 11 | MyType(SomeForeignType::Float(val)) => FormattedData::FLOAT(*val), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/format_data.rs:47:53 [INFO] [stdout] | [INFO] [stdout] 12 | MyType(SomeForeignType::String(val)) => FormattedData::STRING(val.to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/format_data.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 13 | MyType(SomeForeignType::None) => FormattedData::EMPTY, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 60) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 1 | let conn: oracle::Connection = match Connection::connect("", "", "")?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/select.rs - statements::select::PreppedRowData::select (line 14) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/statements/select.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 1 | let conn: oracle::Connection = match Connection::connect("", "", "")?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 73) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 1 | let conn: oracle::Connection = match Connection::connect("", "", "")?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `FormatData` in this scope [INFO] [stdout] --> src/lib.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl FormatData for MyEnum { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormatData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FormattedData` in this scope [INFO] [stdout] --> src/lib.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn fmt_data(self) -> FormattedData { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/lib.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 11 | MyEnum::VARCHAR(val) => FormattedData::STRING(val.into()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/lib.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 12 | MyEnum::NUMBER(val) => FormattedData::INT(val.into()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/format_data.rs - format_data::FormatData (line 19) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `FormatData` in this scope [INFO] [stdout] --> src/format_data.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl FormatData for MyEnum { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormatData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FormattedData` in this scope [INFO] [stdout] --> src/format_data.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn fmt_data(self) -> FormattedData { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/format_data.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 11 | MyEnum::VARCHAR(val) => FormattedData::STRING(val.into()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/format_data.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 12 | MyEnum::NUMBER(val) => FormattedData::INT(val.into()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/insert.rs - statements::insert::PreppedGridData::insert_single_thread (line 41) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/statements/insert.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 3 | let res: Arc = data.prep_data(conn).insert_single_thread("MY_TABLE")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/statements/insert.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 3 | let res: Arc = data.prep_data(conn).insert_single_thread("MY_TABLE")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use oracle::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> src/statements/insert.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 3 | let res: Arc = data.prep_data(conn).insert_single_thread("MY_TABLE")?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/insert.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 3 | let res: Arc = data.prep_data(conn).insert_single_thread("MY_TABLE")?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/lib.rs - (line 38) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `some_crate` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 3 | use some_crate::SomeForeignType; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `some_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `some_crate`, use `cargo add some_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FormatData` in this scope [INFO] [stdout] --> src/lib.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl FormatData for MyType<'_> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormatData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FormattedData` in this scope [INFO] [stdout] --> src/lib.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 8 | fn fmt_data(self) -> FormattedData { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/lib.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 10 | MyType(SomeForeignType::Int(val)) => FormattedData::INT(*val), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/lib.rs:47:52 [INFO] [stdout] | [INFO] [stdout] 11 | MyType(SomeForeignType::Float(val)) => FormattedData::FLOAT(*val), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/lib.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 12 | MyType(SomeForeignType::String(val)) => FormattedData::STRING(val.to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/lib.rs:49:51 [INFO] [stdout] | [INFO] [stdout] 13 | MyType(SomeForeignType::Date(val)) => FormattedData::DATE(*val), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/lib.rs:50:55 [INFO] [stdout] | [INFO] [stdout] 14 | MyType(SomeForeignType::DateTime(val)) => FormattedData::TIMESTAMP(*val), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormattedData` [INFO] [stdout] --> src/lib.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 15 | MyType(SomeForeignType::None) => FormattedData::EMPTY, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FormattedData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use oracle_sql_tools::format_data::FormattedData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/format_data.rs - format_data::FormatData (line 19) [INFO] [stdout] src/format_data.rs - format_data::FormatData (line 37) [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/lib.rs - (line 38) [INFO] [stdout] src/lib.rs - (line 60) [INFO] [stdout] src/lib.rs - (line 73) [INFO] [stdout] src/lib.rs - PrepData (line 20) [INFO] [stdout] src/lib.rs - PrepData (line 30) [INFO] [stdout] src/statements/insert.rs - statements::insert::PreppedGridData::insert (line 16) [INFO] [stdout] src/statements/insert.rs - statements::insert::PreppedGridData::insert_single_thread (line 41) [INFO] [stdout] src/statements/select.rs - statements::select::PreppedRowData::select (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f3e56b72cf2b7496f3fcea0ad00f582953ad78a5d6124b75c52030faa72adb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e56b72cf2b7496f3fcea0ad00f582953ad78a5d6124b75c52030faa72adb28", kill_on_drop: false }` [INFO] [stdout] f3e56b72cf2b7496f3fcea0ad00f582953ad78a5d6124b75c52030faa72adb28