[INFO] cloning repository https://github.com/antiloger/Zimular-Rust-repo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antiloger/Zimular-Rust-repo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantiloger%2FZimular-Rust-repo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantiloger%2FZimular-Rust-repo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d9e2bbf3e249b2fa01edbaa46ac254fe9350da5 [INFO] checking antiloger/Zimular-Rust-repo against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantiloger%2FZimular-Rust-repo" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/antiloger/Zimular-Rust-repo [INFO] finished tweaking git repo https://github.com/antiloger/Zimular-Rust-repo [INFO] tweaked toml for git repo https://github.com/antiloger/Zimular-Rust-repo written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/antiloger/Zimular-Rust-repo on toolchain 32cd9114712a24010b0583624dc52ac302194128 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/antiloger/Zimular-Rust-repo 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" "+32cd9114712a24010b0583624dc52ac302194128" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8e58782e31f501ead21a23fece05ea89bc0f643c37f1694830a70cb1fa58dde [INFO] running `Command { std: "docker" "start" "-a" "c8e58782e31f501ead21a23fece05ea89bc0f643c37f1694830a70cb1fa58dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8e58782e31f501ead21a23fece05ea89bc0f643c37f1694830a70cb1fa58dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8e58782e31f501ead21a23fece05ea89bc0f643c37f1694830a70cb1fa58dde", kill_on_drop: false }` [INFO] [stdout] c8e58782e31f501ead21a23fece05ea89bc0f643c37f1694830a70cb1fa58dde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dec88c79d2a3736f46c55499811f9a8bcb082d9b0f7b191af2e917f925f0ed71 [INFO] running `Command { std: "docker" "start" "-a" "dec88c79d2a3736f46c55499811f9a8bcb082d9b0f7b191af2e917f925f0ed71", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Checking z33 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Datatype` [INFO] [stdout] --> src/lib.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use db::{BigNumber, Datatype}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Datatype` [INFO] [stdout] --> src/lib.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use db::{BigNumber, Datatype}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Text`, `Int`, `Float`, `Bool`, and `Null` are never constructed [INFO] [stdout] --> src/db.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Datatype { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 13 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Datatype` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BigNumber` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - Int(i64), [INFO] [stdout] 22 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BigNumber` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 - Float(f64), [INFO] [stdout] 23 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `size_in_bytes`, `raw_file_path`, `overview_file_path`, and `default_data` are never read [INFO] [stdout] --> src/db.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct DB { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 36 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | data: Box>, [INFO] [stdout] 38 | size_in_bytes: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | raw_file_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | overview_file_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | default_data: DefaultData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DB` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `default_data`, and `workflow_info` are never read [INFO] [stdout] --> src/db.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Workflow { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 46 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | default_data: DefaultData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | workflow_info: WorkflowInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default_data` and `res_info` are never read [INFO] [stdout] --> src/db.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Resource { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | default_data: DefaultData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 61 | res_info: ResInfo, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Resource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default_data` and `cont_info` are never read [INFO] [stdout] --> src/db.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Container { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | default_data: DefaultData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 69 | cont_info: ContInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Container` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default_data` and `store_info` are never read [INFO] [stdout] --> src/db.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Store { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | default_data: DefaultData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 77 | store_info: StoreInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Store` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `des` and `default_data` are never read [INFO] [stdout] --> src/db.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct CustomComponent { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 82 | des: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | default_data: DefaultData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CustomComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `avg_time`, `no_of_users`, `leave`, `rawstore`, and `analysis` are never read [INFO] [stdout] --> src/db.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct ResInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 88 | avg_time: BigNumber, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | no_of_users: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | leave: BigNumber, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 91 | rawstore: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | analysis: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top_get_amount`, `top_put_amount`, `clear_times`, `rawstore`, and `analysis` are never read [INFO] [stdout] --> src/db.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ContInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 97 | top_get_amount: BigNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 98 | top_put_amount: BigNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 99 | clear_times: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 100 | rawstore: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 101 | analysis: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top_get_amount`, `top_put_amount`, `clear_times`, `rawstore`, and `analysis` are never read [INFO] [stdout] --> src/db.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct StoreInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 106 | top_get_amount: BigNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 107 | top_put_amount: BigNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 108 | clear_times: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 109 | rawstore: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 110 | analysis: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoreInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resinfo` is never read [INFO] [stdout] --> src/db.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct WorkflowInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 115 | resinfo: BigNumber, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkflowInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `datatype` is never read [INFO] [stdout] --> src/db.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct DefaultData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 120 | datatype: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefaultData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_resource`, `get_container`, `get_store`, `get_custom`, and `get_mut_custom` are never used [INFO] [stdout] --> src/db.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl Workflow { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn get_resource(&self, name: &str) -> DBResult<&Resource> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn get_container(&self, name: &str) -> DBResult<&Container> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_store(&self, name: &str) -> DBResult<&Store> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn get_custom(&self, name: &str) -> DBResult<&CustomComponent> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn get_mut_custom(&mut self, name: &str) -> DBResult<&mut CustomComponent> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `default_data` is never used [INFO] [stdout] --> src/db.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 395 | impl CustomComponent { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 405 | pub fn default_data(&mut self, key: &str, datatype: Datatype) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `covnvert_to_int` and `covnvert_to_float` are never used [INFO] [stdout] --> src/db.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 410 | impl BigNumber { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 411 | pub fn covnvert_to_int(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn covnvert_to_float(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 26 | impl PYDB { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `PYDB` is not local [INFO] [stdout] | `PYDB` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Text`, `Int`, `Float`, `Bool`, and `Null` are never constructed [INFO] [stdout] --> src/db.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Datatype { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 13 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Datatype` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BigNumber` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - Int(i64), [INFO] [stdout] 22 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BigNumber` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 - Float(f64), [INFO] [stdout] 23 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `size_in_bytes`, `raw_file_path`, `overview_file_path`, and `default_data` are never read [INFO] [stdout] --> src/db.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct DB { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 36 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | data: Box>, [INFO] [stdout] 38 | size_in_bytes: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | raw_file_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | overview_file_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | default_data: DefaultData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DB` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `default_data`, and `workflow_info` are never read [INFO] [stdout] --> src/db.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Workflow { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 46 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | default_data: DefaultData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | workflow_info: WorkflowInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default_data` and `res_info` are never read [INFO] [stdout] --> src/db.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Resource { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | default_data: DefaultData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 61 | res_info: ResInfo, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Resource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default_data` and `cont_info` are never read [INFO] [stdout] --> src/db.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Container { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | default_data: DefaultData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 69 | cont_info: ContInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Container` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default_data` and `store_info` are never read [INFO] [stdout] --> src/db.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Store { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | default_data: DefaultData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 77 | store_info: StoreInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Store` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `des` and `default_data` are never read [INFO] [stdout] --> src/db.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct CustomComponent { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 82 | des: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | default_data: DefaultData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CustomComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `avg_time`, `no_of_users`, `leave`, `rawstore`, and `analysis` are never read [INFO] [stdout] --> src/db.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct ResInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 88 | avg_time: BigNumber, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | no_of_users: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | leave: BigNumber, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 91 | rawstore: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | analysis: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top_get_amount`, `top_put_amount`, `clear_times`, `rawstore`, and `analysis` are never read [INFO] [stdout] --> src/db.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ContInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 97 | top_get_amount: BigNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 98 | top_put_amount: BigNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 99 | clear_times: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 100 | rawstore: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 101 | analysis: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top_get_amount`, `top_put_amount`, `clear_times`, `rawstore`, and `analysis` are never read [INFO] [stdout] --> src/db.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct StoreInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 106 | top_get_amount: BigNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 107 | top_put_amount: BigNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 108 | clear_times: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 109 | rawstore: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 110 | analysis: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoreInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resinfo` is never read [INFO] [stdout] --> src/db.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct WorkflowInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 115 | resinfo: BigNumber, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkflowInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `datatype` is never read [INFO] [stdout] --> src/db.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct DefaultData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 120 | datatype: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefaultData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_resource`, `get_container`, `get_store`, `get_custom`, and `get_mut_custom` are never used [INFO] [stdout] --> src/db.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl Workflow { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn get_resource(&self, name: &str) -> DBResult<&Resource> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn get_container(&self, name: &str) -> DBResult<&Container> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_store(&self, name: &str) -> DBResult<&Store> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn get_custom(&self, name: &str) -> DBResult<&CustomComponent> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn get_mut_custom(&mut self, name: &str) -> DBResult<&mut CustomComponent> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `default_data` is never used [INFO] [stdout] --> src/db.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 395 | impl CustomComponent { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 405 | pub fn default_data(&mut self, key: &str, datatype: Datatype) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `covnvert_to_int` and `covnvert_to_float` are never used [INFO] [stdout] --> src/db.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 410 | impl BigNumber { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 411 | pub fn covnvert_to_int(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn covnvert_to_float(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 26 | impl PYDB { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `PYDB` is not local [INFO] [stdout] | `PYDB` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.22s [INFO] running `Command { std: "docker" "inspect" "dec88c79d2a3736f46c55499811f9a8bcb082d9b0f7b191af2e917f925f0ed71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec88c79d2a3736f46c55499811f9a8bcb082d9b0f7b191af2e917f925f0ed71", kill_on_drop: false }` [INFO] [stdout] dec88c79d2a3736f46c55499811f9a8bcb082d9b0f7b191af2e917f925f0ed71