[INFO] cloning repository https://github.com/underwater-squad/cosom-ai-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/underwater-squad/cosom-ai-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funderwater-squad%2Fcosom-ai-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funderwater-squad%2Fcosom-ai-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab88af49e5ac645288efe1626e41d54a200f87d4 [INFO] checking underwater-squad/cosom-ai-test against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funderwater-squad%2Fcosom-ai-test" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/underwater-squad/cosom-ai-test on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-14/source/.cargo/config [INFO] started tweaking git repo https://github.com/underwater-squad/cosom-ai-test [INFO] finished tweaking git repo https://github.com/underwater-squad/cosom-ai-test [INFO] tweaked toml for git repo https://github.com/underwater-squad/cosom-ai-test written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/underwater-squad/cosom-ai-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c263ec46babf5323daca0408264732c36bf85630896c92476f3e2ad23eef4ce [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6c263ec46babf5323daca0408264732c36bf85630896c92476f3e2ad23eef4ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c263ec46babf5323daca0408264732c36bf85630896c92476f3e2ad23eef4ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c263ec46babf5323daca0408264732c36bf85630896c92476f3e2ad23eef4ce", kill_on_drop: false }` [INFO] [stdout] 6c263ec46babf5323daca0408264732c36bf85630896c92476f3e2ad23eef4ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6cc1cafdc8749b9ce0d61212239e66603de30a5071a8e6bb895d061fa701881 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e6cc1cafdc8749b9ce0d61212239e66603de30a5071a8e6bb895d061fa701881", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking postcard-cobs v0.1.5-pre [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking serde-json-wasm v0.2.1 [INFO] [stderr] Checking postcard v0.5.1 [INFO] [stderr] Checking cosmwasm-std v0.11.2 [INFO] [stderr] Checking cosmwasm-schema v0.11.2 [INFO] [stderr] Checking cosmwasm-storage v0.11.2 [INFO] [stderr] Checking cosom-ai-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HumanAddr`, `InitResult` [INFO] [stdout] --> src/contract.rs:2:72 [INFO] [stdout] | [INFO] [stdout] 2 | to_binary, Api, Binary, Env, Extern, HandleResponse, HandleResult, HumanAddr, InitResponse, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 3 | InitResult, Querier, StdError, StdResult, Storage,MessageInfo [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ContractError` [INFO] [stdout] --> src/contract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::ContractError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `activation::Activation`, `cost::CostFunctionArgu` [INFO] [stdout] --> src/contract.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | cost::CostFunctionArgu, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | activation::Activation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CanonicalAddr` [INFO] [stdout] --> src/state.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{CanonicalAddr, Storage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadonlySingleton`, `Singleton`, `singleton_read`, `singleton` [INFO] [stdout] --> src/state.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | bucket, bucket_read, singleton, singleton_read, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Bucket, ReadonlyBucket, ReadonlySingleton,Singleton, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `activation::ActivationKind`, `activation::Activation` [INFO] [stdout] --> src/engine/nl.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | activation::Activation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | activation::ActivationKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> src/engine/cost/squared_error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/engine/utils.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize,Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HumanAddr`, `InitResult` [INFO] [stdout] --> src/contract.rs:2:72 [INFO] [stdout] | [INFO] [stdout] 2 | to_binary, Api, Binary, Env, Extern, HandleResponse, HandleResult, HumanAddr, InitResponse, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 3 | InitResult, Querier, StdError, StdResult, Storage,MessageInfo [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ContractError` [INFO] [stdout] --> src/contract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::ContractError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `activation::Activation`, `cost::CostFunctionArgu` [INFO] [stdout] --> src/contract.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | cost::CostFunctionArgu, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | activation::Activation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/contract.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mock_dependencies`, `mock_env`, `mock_info` [INFO] [stdout] --> src/contract.rs:296:33 [INFO] [stdout] | [INFO] [stdout] 296 | use cosmwasm_std::testing::{mock_dependencies, mock_env, mock_info}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `coins`, `from_binary` [INFO] [stdout] --> src/contract.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | use cosmwasm_std::{coins, from_binary}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CanonicalAddr` [INFO] [stdout] --> src/state.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{CanonicalAddr, Storage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadonlySingleton`, `Singleton`, `singleton_read`, `singleton` [INFO] [stdout] --> src/state.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | bucket, bucket_read, singleton, singleton_read, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Bucket, ReadonlyBucket, ReadonlySingleton,Singleton, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Activation` [INFO] [stdout] --> src/engine/activation/sigmoid.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use super::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Sigmoid` [INFO] [stdout] --> src/engine/activation/sigmoid.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use super::Sigmoid; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Activation` [INFO] [stdout] --> src/engine/activation/identity.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use super::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Activation` [INFO] [stdout] --> src/engine/activation/hyperbolictangent.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | use super::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Activation` [INFO] [stdout] --> src/engine/activation/softplus.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use super::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Activation` [INFO] [stdout] --> src/engine/activation/softmax.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use super::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::SoftMax` [INFO] [stdout] --> src/engine/activation/softmax.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use super::SoftMax; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Activation` [INFO] [stdout] --> src/engine/activation/rectifiedlinearunit.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use super::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::RectifiedLinearUnit` [INFO] [stdout] --> src/engine/activation/rectifiedlinearunit.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use super::RectifiedLinearUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Activation` [INFO] [stdout] --> src/engine/activation/leakyrectifiedlinearunit.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use super::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `activation::ActivationKind`, `activation::Activation` [INFO] [stdout] --> src/engine/nl.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | activation::Activation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | activation::ActivationKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::nl::NeuralLayer` [INFO] [stdout] --> src/engine/nl.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use crate::engine::nl::NeuralLayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::matrix::MatrixTrait` [INFO] [stdout] --> src/engine/nl.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | use crate::engine::matrix::MatrixTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::activation::Sigmoid` [INFO] [stdout] --> src/engine/nl.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use crate::engine::activation::Sigmoid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::activation::Sigmoid` [INFO] [stdout] --> src/engine/nn.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | use crate::engine::activation::Sigmoid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::activation::SoftMax` [INFO] [stdout] --> src/engine/nn.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | use crate::engine::activation::SoftMax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::activation::HyperbolicTangent` [INFO] [stdout] --> src/engine/nn.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | use crate::engine::activation::HyperbolicTangent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::sample::Sample` [INFO] [stdout] --> src/engine/nn.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | use crate::engine::sample::Sample; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::nl::NeuralLayer` [INFO] [stdout] --> src/engine/nn.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | use crate::engine::nl::NeuralLayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::nn::NeuralNetwork` [INFO] [stdout] --> src/engine/nn.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | use crate::engine::nn::NeuralNetwork; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::matrix::MatrixTrait` [INFO] [stdout] --> src/engine/nn.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | use crate::engine::matrix::MatrixTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::cost::cross_entropy::CrossEntropy` [INFO] [stdout] --> src/engine/nn.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | use crate::engine::cost::cross_entropy::CrossEntropy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::nn::BlackBox` [INFO] [stdout] --> src/engine/nn.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | use crate::engine::nn::BlackBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/engine/sample.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> src/engine/cost/squared_error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/engine/utils.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize,Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | deps: &mut Extern, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/contract.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | msg: InitMsg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> src/contract.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let api = deps.api; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_s` [INFO] [stdout] --> src/contract.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | let (in_s,out_s) = (size.0 as usize, size.1 as usize); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_in_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_s` [INFO] [stdout] --> src/contract.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | let (in_s,out_s) = (size.0 as usize, size.1 as usize); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_out_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let mut ns= neuralnetwork(&mut deps.storage).may_load(key.as_bytes())?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | deps: &mut Extern, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/contract.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | msg: InitMsg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> src/contract.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let api = deps.api; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_s` [INFO] [stdout] --> src/contract.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | let (in_s,out_s) = (size.0 as usize, size.1 as usize); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_in_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_s` [INFO] [stdout] --> src/contract.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | let (in_s,out_s) = (size.0 as usize, size.1 as usize); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_out_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/engine/matrix.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let test = Matrix::random(2, 2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activation` [INFO] [stdout] --> src/engine/activation/identity.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let activation = Identity::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activation` [INFO] [stdout] --> src/engine/activation/identity.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let activation = Identity::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activation` [INFO] [stdout] --> src/engine/activation/hyperbolictangent.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let activation = HyperbolicTangent::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activation` [INFO] [stdout] --> src/engine/activation/hyperbolictangent.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let activation = HyperbolicTangent::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activation` [INFO] [stdout] --> src/engine/activation/softplus.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let activation = SoftPlus::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activation` [INFO] [stdout] --> src/engine/activation/softplus.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let activation = SoftPlus::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activation` [INFO] [stdout] --> src/engine/activation/leakyrectifiedlinearunit.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let activation = LeakyRectifiedLinearUnit::new(0.01f64); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activation` [INFO] [stdout] --> src/engine/activation/leakyrectifiedlinearunit.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let activation = LeakyRectifiedLinearUnit::new(0.01f64); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/engine/cost/cross_entropy.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let result = cross_entropy.calc( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/engine/cost/cross_entropy.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let result = cross_entropy.calc( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let mut ns= neuralnetwork(&mut deps.storage).may_load(key.as_bytes())?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/matrix.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut key = vec![0u8;m*n]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/matrix.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut key = vec![0u8;m*n]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/engine/nn.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new()-> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_on_error` [INFO] [stdout] --> src/engine/nn.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn set_on_error(&mut self,func: F) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_on_epoch` [INFO] [stdout] --> src/engine/nn.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn set_on_epoch(&mut self,func: F) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/engine/nn.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new()-> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_on_error` [INFO] [stdout] --> src/engine/nn.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn set_on_error(&mut self,func: F) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_on_epoch` [INFO] [stdout] --> src/engine/nn.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn set_on_epoch(&mut self,func: F) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `simple_option` [INFO] [stdout] --> examples/schema.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use simple_option::msg::{ModelResult, HandleMsg, InitMsg, QueryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `simple_option` [INFO] [stdout] --> examples/schema.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use simple_option::state::{NeuralStruct,DataCenter}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InitMsg` in this scope [INFO] [stdout] --> examples/schema.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | export_schema(&schema_for!(InitMsg), &out_dir); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use cosom_ai_test::msg::InitMsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HandleMsg` in this scope [INFO] [stdout] --> examples/schema.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | export_schema(&schema_for!(HandleMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cosom_ai_test::msg::HandleMsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryMsg` in this scope [INFO] [stdout] --> examples/schema.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | export_schema(&schema_for!(QueryMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cosom_ai_test::msg::QueryMsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NeuralStruct` in this scope [INFO] [stdout] --> examples/schema.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | export_schema(&schema_for!(NeuralStruct), &out_dir); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use cosom_ai_test::state::NeuralStruct; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DataCenter` in this scope [INFO] [stdout] --> examples/schema.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | export_schema(&schema_for!(DataCenter), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use cosom_ai_test::state::DataCenter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ModelResult` in this scope [INFO] [stdout] --> examples/schema.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | export_schema(&schema_for!(ModelResult), &out_dir); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use cosom_ai_test::msg::ModelResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cosom-ai-test` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e6cc1cafdc8749b9ce0d61212239e66603de30a5071a8e6bb895d061fa701881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6cc1cafdc8749b9ce0d61212239e66603de30a5071a8e6bb895d061fa701881", kill_on_drop: false }` [INFO] [stdout] e6cc1cafdc8749b9ce0d61212239e66603de30a5071a8e6bb895d061fa701881