[INFO] cloning repository https://github.com/hsiaocheng11/RWA_GreenShare [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hsiaocheng11/RWA_GreenShare" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsiaocheng11%2FRWA_GreenShare", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsiaocheng11%2FRWA_GreenShare'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03ec5fbdff687a4d60905365b06329efeb706cea [INFO] checking hsiaocheng11/RWA_GreenShare against 1.95.0-beta.7 for beta-1.95-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsiaocheng11%2FRWA_GreenShare" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hsiaocheng11/RWA_GreenShare [INFO] finished tweaking git repo https://github.com/hsiaocheng11/RWA_GreenShare [INFO] tweaked toml for git repo https://github.com/hsiaocheng11/RWA_GreenShare written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hsiaocheng11/RWA_GreenShare on toolchain 1.95.0-beta.7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hsiaocheng11/RWA_GreenShare 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" "+1.95.0-beta.7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-array v0.14.9 [INFO] [stderr] Downloaded actix-test v0.1.5 [INFO] [stderr] Downloaded actix-tls v3.4.0 [INFO] [stderr] Downloaded actix-http-test v3.2.0 [INFO] [stderr] Downloaded actix-cors v0.6.5 [INFO] [stderr] Downloaded awc v3.8.1 [INFO] [stderr] Downloaded secp256k1 v0.28.2 [INFO] [stderr] Downloaded actix-web v4.11.0 [INFO] [stderr] Downloaded secp256k1-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ead41564c08d9c039f8be0c0d3db79d7a4a8e03c193c8e3bf3ccf35eb043023 [INFO] running `Command { std: "docker" "start" "-a" "0ead41564c08d9c039f8be0c0d3db79d7a4a8e03c193c8e3bf3ccf35eb043023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ead41564c08d9c039f8be0c0d3db79d7a4a8e03c193c8e3bf3ccf35eb043023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ead41564c08d9c039f8be0c0d3db79d7a4a8e03c193c8e3bf3ccf35eb043023", kill_on_drop: false }` [INFO] [stdout] 0ead41564c08d9c039f8be0c0d3db79d7a4a8e03c193c8e3bf3ccf35eb043023 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40089a401f6be14961fb2552e900a5fb8bdb06bed099b0907cf47fc01683301c [INFO] running `Command { std: "docker" "start" "-a" "40089a401f6be14961fb2552e900a5fb8bdb06bed099b0907cf47fc01683301c", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling cc v1.2.43 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking bytestring v1.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking actix-http v3.11.2 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking awc v3.8.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking actix-http-test v3.2.0 [INFO] [stderr] Checking actix-cors v0.6.5 [INFO] [stderr] Checking actix-test v0.1.5 [INFO] [stderr] Checking rofl-enclave v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `version` [INFO] [stdout] --> src/handlers.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 16 | let response = HealthResponse { [INFO] [stdout] | -------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 22 | .as_secs() [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | help: try adding a comma: `,` [INFO] [stdout] 23 | version: "1.0.0".to_string(), [INFO] [stdout] | ^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `info` [INFO] [stdout] --> src/handlers.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | })? [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 158 | info!("Sealing specific proof: {}", proof_id); [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/seal.rs:220:62 [INFO] [stdout] | [INFO] [stdout] 220 | cost_data["estimated_cost"].as_f64().unwrap_or(0.001) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 221 | // For now, return a simple estimate based on data size and epochs [INFO] [stdout] 222 | let base_cost_per_mb = 1000; // Mock cost in gas units [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rofl_enclave` in this scope [INFO] [stdout] --> tests/integration_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rofl_enclave::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rofl_enclave` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rofl_enclave`, use `cargo add rofl_enclave` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rofl_enclave` in this scope [INFO] [stdout] --> tests/integration_test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rofl_enclave::models::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rofl_enclave` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rofl_enclave`, use `cargo add rofl_enclave` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rofl_enclave` in this scope [INFO] [stdout] --> tests/integration_test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rofl_enclave::handlers::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rofl_enclave` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rofl_enclave`, use `cargo add rofl_enclave` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rofl_enclave` in this scope [INFO] [stdout] --> tests/integration_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rofl_enclave::aggregator::DataAggregator; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rofl_enclave` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rofl_enclave`, use `cargo add rofl_enclave` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rofl_enclave::config::Config`, `rofl_enclave::models::*`, `rofl_enclave::handlers::*`, `rofl_enclave::aggregator::DataAggregator` [INFO] [stdout] --> tests/integration_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rofl_enclave::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use rofl_enclave::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use rofl_enclave::handlers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | use rofl_enclave::aggregator::DataAggregator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `version` [INFO] [stdout] --> src/handlers.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 16 | let response = HealthResponse { [INFO] [stdout] | -------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 22 | .as_secs() [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | help: try adding a comma: `,` [INFO] [stdout] 23 | version: "1.0.0".to_string(), [INFO] [stdout] | ^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `info` [INFO] [stdout] --> src/handlers.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | })? [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 158 | info!("Sealing specific proof: {}", proof_id); [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/seal.rs:220:62 [INFO] [stdout] | [INFO] [stdout] 220 | cost_data["estimated_cost"].as_f64().unwrap_or(0.001) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 221 | // For now, return a simple estimate based on data size and epochs [INFO] [stdout] 222 | let base_cost_per_mb = 1000; // Mock cost in gas units [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `secp256k1::Signature`, `secp256k1::ecdsa::RecoverableSignature` [INFO] [stdout] --> src/crypto.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use secp256k1::{PublicKey, Signature, Message, Secp256k1, ecdsa::RecoverableSignature}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RecoverableSignature` in `ecdsa` [INFO] [stdout] | | [INFO] [stdout] | no `Signature` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/secp256k1-0.28.2/src/ecdsa/mod.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "recovery")] [INFO] [stdout] | -------------------- the item is gated behind the `recovery` feature [INFO] [stdout] 13 | pub use self::recovery::{RecoverableSignature, RecoveryId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::seal::SealService` [INFO] [stdout] --> src/handlers.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::seal::SealService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `SealService` in `seal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RecoveryId` in `ecdsa` [INFO] [stdout] --> src/crypto.rs:77:45 [INFO] [stdout] | [INFO] [stdout] 77 | let recovery_id = secp256k1::ecdsa::RecoveryId::from_i32(recovery_id as i32)?; [INFO] [stdout] | ^^^^^^^^^^ could not find `RecoveryId` in `ecdsa` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/secp256k1-0.28.2/src/ecdsa/mod.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "recovery")] [INFO] [stdout] | -------------------- the item is gated behind the `recovery` feature [INFO] [stdout] 13 | pub use self::recovery::{RecoverableSignature, RecoveryId}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RecoveryId` in `ecdsa` [INFO] [stdout] --> src/crypto.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | let recovery_id = secp256k1::ecdsa::RecoveryId::from_i32(recovery_id as i32)?; [INFO] [stdout] | ^^^^^^^^^^ could not find `RecoveryId` in `ecdsa` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/secp256k1-0.28.2/src/ecdsa/mod.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "recovery")] [INFO] [stdout] | -------------------- the item is gated behind the `recovery` feature [INFO] [stdout] 13 | pub use self::recovery::{RecoverableSignature, RecoveryId}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> src/seal.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | .query(&[("size", data.len())]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PublicKey` [INFO] [stdout] --> src/crypto.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use secp256k1::{PublicKey, Signature, Message, Secp256k1, ecdsa::RecoverableSignature}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/handlers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/aggregator.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, warn, error, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/aggregator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `health_check` in this scope [INFO] [stdout] --> tests/integration_test.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | .route("/health", web::get().to(health_check)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HealthResponse` in this scope [INFO] [stdout] --> tests/integration_test.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let body: HealthResponse = test::read_body_json(resp).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ingest_data` in this scope [INFO] [stdout] --> tests/integration_test.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | .route("/ingest", web::post().to(ingest_data)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IngestResponse` in this scope [INFO] [stdout] --> tests/integration_test.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | let body: IngestResponse = test::read_body_json(resp).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ingest_data` in this scope [INFO] [stdout] --> tests/integration_test.rs:73:46 [INFO] [stdout] | [INFO] [stdout] 73 | .route("/ingest", web::post().to(ingest_data)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_status` in this scope [INFO] [stdout] --> tests/integration_test.rs:98:45 [INFO] [stdout] | [INFO] [stdout] 98 | .route("/status", web::get().to(get_status)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `StatusResponse` in this scope [INFO] [stdout] --> tests/integration_test.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | let body: StatusResponse = test::read_body_json(resp).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ingest_data` in this scope [INFO] [stdout] --> tests/integration_test.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | .route("/ingest", web::post().to(ingest_data)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_latest_proof` in this scope [INFO] [stdout] --> tests/integration_test.rs:124:52 [INFO] [stdout] | [INFO] [stdout] 124 | .route("/proofs/latest", web::get().to(get_latest_proof)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ProofData` in this scope [INFO] [stdout] --> tests/integration_test.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | let proof: ProofData = test::read_body_json(resp).await; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ingest_data` in this scope [INFO] [stdout] --> tests/integration_test.rs:167:46 [INFO] [stdout] | [INFO] [stdout] 167 | .route("/ingest", web::post().to(ingest_data)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IngestResponse` in this scope [INFO] [stdout] --> tests/integration_test.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | let body: IngestResponse = test::read_body_json(resp).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `seal_proof` in this scope [INFO] [stdout] --> tests/integration_test.rs:201:44 [INFO] [stdout] | [INFO] [stdout] 201 | .route("/seal", web::post().to(seal_proof)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SealRequest` in this scope [INFO] [stdout] --> tests/integration_test.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | let seal_request = SealRequest { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `SealResponse` in this scope [INFO] [stdout] --> tests/integration_test.rs:219:15 [INFO] [stdout] | [INFO] [stdout] 219 | let body: SealResponse = test::read_body_json(resp).await; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ingest_data` in this scope [INFO] [stdout] --> tests/integration_test.rs:234:46 [INFO] [stdout] | [INFO] [stdout] 234 | .route("/ingest", web::post().to(ingest_data)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `SignedMeterData` in this scope [INFO] [stdout] --> tests/integration_test.rs:280:39 [INFO] [stdout] | [INFO] [stdout] 280 | fn create_test_signed_meter_data() -> SignedMeterData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MeterRecord` in this scope [INFO] [stdout] --> tests/integration_test.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | let record = MeterRecord { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SignedMeterData` in this scope [INFO] [stdout] --> tests/integration_test.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | SignedMeterData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> tests/integration_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `version` in initializer of `models::HealthResponse` [INFO] [stdout] --> src/handlers.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let response = HealthResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `status_code` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/handlers.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(status_code.json(ErrorResponse { [INFO] [stdout] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 91 | let (mut status_code, error_code) = if e.to_string().contains("Invalid signature") { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for opaque type `impl Service` in the current scope [INFO] [stdout] --> tests/integration_test.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | let app_clone = app.clone(); [INFO] [stdout] | ^^^^^ method not found in `impl Service` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/integration_test-60e9b2b1434a0a5f.long-type-4169630628204231991.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: Send` is not satisfied [INFO] [stdout] --> src/aggregator.rs:49:66 [INFO] [stdout] | [INFO] [stdout] 49 | if !self.crypto.verify_signature(&record, &signature)? { [INFO] [stdout] | -------------------------------------^ `dyn StdError` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box` [INFO] [stdout] --> /rustc/cc969f3c457b2ce350fb9fda6c784cc9813b5c71/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: Sync` is not satisfied [INFO] [stdout] --> src/aggregator.rs:49:66 [INFO] [stdout] | [INFO] [stdout] 49 | if !self.crypto.verify_signature(&record, &signature)? { [INFO] [stdout] | -------------------------------------^ `dyn StdError` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box` [INFO] [stdout] --> /rustc/cc969f3c457b2ce350fb9fda6c784cc9813b5c71/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: std::marker::Sized` is not satisfied [INFO] [stdout] --> src/aggregator.rs:49:66 [INFO] [stdout] | [INFO] [stdout] 49 | if !self.crypto.verify_signature(&record, &signature)? { [INFO] [stdout] | -------------------------------------^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `StdError` [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `secp256k1::Signature`, `secp256k1::ecdsa::RecoverableSignature` [INFO] [stdout] --> src/crypto.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use secp256k1::{PublicKey, Signature, Message, Secp256k1, ecdsa::RecoverableSignature}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RecoverableSignature` in `ecdsa` [INFO] [stdout] | | [INFO] [stdout] | no `Signature` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/secp256k1-0.28.2/src/ecdsa/mod.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "recovery")] [INFO] [stdout] | -------------------- the item is gated behind the `recovery` feature [INFO] [stdout] 13 | pub use self::recovery::{RecoverableSignature, RecoveryId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: Send` is not satisfied [INFO] [stdout] --> src/aggregator.rs:56:66 [INFO] [stdout] | [INFO] [stdout] 56 | let record_hash = self.crypto.create_record_hash(&record)?; [INFO] [stdout] | ---------------------------^ `dyn StdError` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box` [INFO] [stdout] --> /rustc/cc969f3c457b2ce350fb9fda6c784cc9813b5c71/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::seal::SealService` [INFO] [stdout] --> src/handlers.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::seal::SealService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `SealService` in `seal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: Sync` is not satisfied [INFO] [stdout] --> src/aggregator.rs:56:66 [INFO] [stdout] | [INFO] [stdout] 56 | let record_hash = self.crypto.create_record_hash(&record)?; [INFO] [stdout] | ---------------------------^ `dyn StdError` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box` [INFO] [stdout] --> /rustc/cc969f3c457b2ce350fb9fda6c784cc9813b5c71/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: std::marker::Sized` is not satisfied [INFO] [stdout] --> src/aggregator.rs:56:66 [INFO] [stdout] | [INFO] [stdout] 56 | let record_hash = self.crypto.create_record_hash(&record)?; [INFO] [stdout] | ---------------------------^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `StdError` [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rofl-enclave` (test "integration_test") due to 25 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RecoveryId` in `ecdsa` [INFO] [stdout] --> src/crypto.rs:77:45 [INFO] [stdout] | [INFO] [stdout] 77 | let recovery_id = secp256k1::ecdsa::RecoveryId::from_i32(recovery_id as i32)?; [INFO] [stdout] | ^^^^^^^^^^ could not find `RecoveryId` in `ecdsa` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/secp256k1-0.28.2/src/ecdsa/mod.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "recovery")] [INFO] [stdout] | -------------------- the item is gated behind the `recovery` feature [INFO] [stdout] 13 | pub use self::recovery::{RecoverableSignature, RecoveryId}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RecoveryId` in `ecdsa` [INFO] [stdout] --> src/crypto.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | let recovery_id = secp256k1::ecdsa::RecoveryId::from_i32(recovery_id as i32)?; [INFO] [stdout] | ^^^^^^^^^^ could not find `RecoveryId` in `ecdsa` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/secp256k1-0.28.2/src/ecdsa/mod.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "recovery")] [INFO] [stdout] | -------------------- the item is gated behind the `recovery` feature [INFO] [stdout] 13 | pub use self::recovery::{RecoverableSignature, RecoveryId}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of partially moved value: `window` [INFO] [stdout] --> src/aggregator.rs:163:41 [INFO] [stdout] | [INFO] [stdout] 154 | let filtered_records = self.filter_outliers(window.records)?; [INFO] [stdout] | -------------- value partially moved here [INFO] [stdout] ... [INFO] [stdout] 163 | let proof = self.generate_proof(&window, filtered_records).await?; [INFO] [stdout] | ^^^^^^^ value borrowed here after partial move [INFO] [stdout] | [INFO] [stdout] = note: partial move occurs because `window.records` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: Send` is not satisfied [INFO] [stdout] --> src/aggregator.rs:224:57 [INFO] [stdout] | [INFO] [stdout] 224 | let merkle_tree = MerkleTree::new(record_hashes)?; [INFO] [stdout] | ------------------------------^ `dyn StdError` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box` [INFO] [stdout] --> /rustc/cc969f3c457b2ce350fb9fda6c784cc9813b5c71/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: Sync` is not satisfied [INFO] [stdout] --> src/aggregator.rs:224:57 [INFO] [stdout] | [INFO] [stdout] 224 | let merkle_tree = MerkleTree::new(record_hashes)?; [INFO] [stdout] | ------------------------------^ `dyn StdError` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box` [INFO] [stdout] --> /rustc/cc969f3c457b2ce350fb9fda6c784cc9813b5c71/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: std::marker::Sized` is not satisfied [INFO] [stdout] --> src/aggregator.rs:224:57 [INFO] [stdout] | [INFO] [stdout] 224 | let merkle_tree = MerkleTree::new(record_hashes)?; [INFO] [stdout] | ------------------------------^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `StdError` [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `base64` in this scope [INFO] [stdout] --> src/seal.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | let encoded_data = base64::encode(json_data.as_bytes()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `base64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `base64` in this scope [INFO] [stdout] --> src/seal.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | let json_data = base64::decode(&data_bytes)?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `base64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `endpoint` on type `&WalrusClient` [INFO] [stdout] --> src/seal.rs:205:59 [INFO] [stdout] | [INFO] [stdout] 205 | .get(&format!("{}/api/v1/cost-estimate", self.endpoint)) [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `client`, `publisher_url`, `gateway_url`, `default_epochs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> src/seal.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | .query(&[("size", data.len())]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PublicKey` [INFO] [stdout] --> src/crypto.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use secp256k1::{PublicKey, Signature, Message, Secp256k1, ecdsa::RecoverableSignature}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/handlers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/aggregator.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, warn, error, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/aggregator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/seal.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 202 | pub async fn estimate_cost(&self, data_size_bytes: u64) -> Result> { [INFO] [stdout] | --------------------------------------- expected `Box` because of return type [INFO] [stdout] ... [INFO] [stdout] 212 | return Err(format!("Cost estimation failed: {}", cost_response.status())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Box`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] help: call `Into::into` on this expression to convert `std::string::String` into `Box` [INFO] [stdout] | [INFO] [stdout] 212 | return Err(format!("Cost estimation failed: {}", cost_response.status()).into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/crypto.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let message = Message::from_slice(&message_hash)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover_ecdsa` found for struct `Secp256k1` in the current scope [INFO] [stdout] --> src/crypto.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | match self.secp.recover_ecdsa(&message, &recoverable_sig) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover_ecdsa` found for struct `Secp256k1` in the current scope [INFO] [stdout] --> src/crypto.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | let public_key = self.secp.recover_ecdsa(&message, &recoverable_sig)?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/crypto.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | let message = Message::from_slice(&message_hash)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover_ecdsa` found for struct `Secp256k1` in the current scope [INFO] [stdout] --> src/crypto.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | let public_key = self.secp.recover_ecdsa(&message, &recoverable_sig)?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `version` in initializer of `models::HealthResponse` [INFO] [stdout] --> src/handlers.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let response = HealthResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `status_code` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/handlers.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(status_code.json(ErrorResponse { [INFO] [stdout] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 91 | let (mut status_code, error_code) = if e.to_string().contains("Invalid signature") { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: Send` is not satisfied [INFO] [stdout] --> src/aggregator.rs:49:66 [INFO] [stdout] | [INFO] [stdout] 49 | if !self.crypto.verify_signature(&record, &signature)? { [INFO] [stdout] | -------------------------------------^ `dyn StdError` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box` [INFO] [stdout] --> /rustc/cc969f3c457b2ce350fb9fda6c784cc9813b5c71/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: Sync` is not satisfied [INFO] [stdout] --> src/aggregator.rs:49:66 [INFO] [stdout] | [INFO] [stdout] 49 | if !self.crypto.verify_signature(&record, &signature)? { [INFO] [stdout] | -------------------------------------^ `dyn StdError` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box` [INFO] [stdout] --> /rustc/cc969f3c457b2ce350fb9fda6c784cc9813b5c71/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: std::marker::Sized` is not satisfied [INFO] [stdout] --> src/aggregator.rs:49:66 [INFO] [stdout] | [INFO] [stdout] 49 | if !self.crypto.verify_signature(&record, &signature)? { [INFO] [stdout] | -------------------------------------^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `StdError` [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: Send` is not satisfied [INFO] [stdout] --> src/aggregator.rs:56:66 [INFO] [stdout] | [INFO] [stdout] 56 | let record_hash = self.crypto.create_record_hash(&record)?; [INFO] [stdout] | ---------------------------^ `dyn StdError` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box` [INFO] [stdout] --> /rustc/cc969f3c457b2ce350fb9fda6c784cc9813b5c71/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: Sync` is not satisfied [INFO] [stdout] --> src/aggregator.rs:56:66 [INFO] [stdout] | [INFO] [stdout] 56 | let record_hash = self.crypto.create_record_hash(&record)?; [INFO] [stdout] | ---------------------------^ `dyn StdError` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box` [INFO] [stdout] --> /rustc/cc969f3c457b2ce350fb9fda6c784cc9813b5c71/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: std::marker::Sized` is not satisfied [INFO] [stdout] --> src/aggregator.rs:56:66 [INFO] [stdout] | [INFO] [stdout] 56 | let record_hash = self.crypto.create_record_hash(&record)?; [INFO] [stdout] | ---------------------------^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `StdError` [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of partially moved value: `window` [INFO] [stdout] --> src/aggregator.rs:163:41 [INFO] [stdout] | [INFO] [stdout] 154 | let filtered_records = self.filter_outliers(window.records)?; [INFO] [stdout] | -------------- value partially moved here [INFO] [stdout] ... [INFO] [stdout] 163 | let proof = self.generate_proof(&window, filtered_records).await?; [INFO] [stdout] | ^^^^^^^ value borrowed here after partial move [INFO] [stdout] | [INFO] [stdout] = note: partial move occurs because `window.records` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: Send` is not satisfied [INFO] [stdout] --> src/aggregator.rs:224:57 [INFO] [stdout] | [INFO] [stdout] 224 | let merkle_tree = MerkleTree::new(record_hashes)?; [INFO] [stdout] | ------------------------------^ `dyn StdError` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box` [INFO] [stdout] --> /rustc/cc969f3c457b2ce350fb9fda6c784cc9813b5c71/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: Sync` is not satisfied [INFO] [stdout] --> src/aggregator.rs:224:57 [INFO] [stdout] | [INFO] [stdout] 224 | let merkle_tree = MerkleTree::new(record_hashes)?; [INFO] [stdout] | ------------------------------^ `dyn StdError` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box` [INFO] [stdout] --> /rustc/cc969f3c457b2ce350fb9fda6c784cc9813b5c71/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError: std::marker::Sized` is not satisfied [INFO] [stdout] --> src/aggregator.rs:224:57 [INFO] [stdout] | [INFO] [stdout] 224 | let merkle_tree = MerkleTree::new(record_hashes)?; [INFO] [stdout] | ------------------------------^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `dyn StdError` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `StdError` [INFO] [stdout] = note: required for `Box` to implement `std::convert::From>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `base64` in this scope [INFO] [stdout] --> src/seal.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | let encoded_data = base64::encode(json_data.as_bytes()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `base64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `base64` in this scope [INFO] [stdout] --> src/seal.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | let json_data = base64::decode(&data_bytes)?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `base64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `endpoint` on type `&seal::WalrusClient` [INFO] [stdout] --> src/seal.rs:205:59 [INFO] [stdout] | [INFO] [stdout] 205 | .get(&format!("{}/api/v1/cost-estimate", self.endpoint)) [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `client`, `publisher_url`, `gateway_url`, `default_epochs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_minute` found for struct `chrono::DateTime` in the current scope [INFO] [stdout] --> src/aggregator.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 122 | let window_start = now [INFO] [stdout] | ____________________________- [INFO] [stdout] 123 | | .with_minute(0).unwrap() [INFO] [stdout] | |_____________-^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.42/src/traits.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 318 | fn with_minute(&self, min: u32) -> Option; [INFO] [stdout] | ----------- the method is available for `chrono::DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `minute` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.42/src/traits.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | fn minute(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Timelike` which provides `with_minute` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use chrono::Timelike; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/seal.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 202 | pub async fn estimate_cost(&self, data_size_bytes: u64) -> Result> { [INFO] [stdout] | --------------------------------------- expected `Box` because of return type [INFO] [stdout] ... [INFO] [stdout] 212 | return Err(format!("Cost estimation failed: {}", cost_response.status())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Box`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] help: call `Into::into` on this expression to convert `std::string::String` into `Box` [INFO] [stdout] | [INFO] [stdout] 212 | return Err(format!("Cost estimation failed: {}", cost_response.status()).into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/crypto.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let message = Message::from_slice(&message_hash)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover_ecdsa` found for struct `Secp256k1` in the current scope [INFO] [stdout] --> src/crypto.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | match self.secp.recover_ecdsa(&message, &recoverable_sig) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover_ecdsa` found for struct `Secp256k1` in the current scope [INFO] [stdout] --> src/crypto.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | let public_key = self.secp.recover_ecdsa(&message, &recoverable_sig)?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead [INFO] [stdout] --> src/crypto.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | let message = Message::from_slice(&message_hash)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover_ecdsa` found for struct `Secp256k1` in the current scope [INFO] [stdout] --> src/crypto.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | let public_key = self.secp.recover_ecdsa(&message, &recoverable_sig)?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_minute` found for struct `chrono::DateTime` in the current scope [INFO] [stdout] --> src/aggregator.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 122 | let window_start = now [INFO] [stdout] | ____________________________- [INFO] [stdout] 123 | | .with_minute(0).unwrap() [INFO] [stdout] | |_____________-^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.42/src/traits.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 318 | fn with_minute(&self, min: u32) -> Option; [INFO] [stdout] | ----------- the method is available for `chrono::DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `minute` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.42/src/traits.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | fn minute(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Timelike` which provides `with_minute` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use chrono::Timelike; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308, E0382, E0425, E0432, E0433, E0596, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rofl-enclave` (bin "rofl-enclave") due to 28 previous errors; 6 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308, E0382, E0425, E0432, E0433, E0596, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rofl-enclave` (bin "rofl-enclave" test) due to 28 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "40089a401f6be14961fb2552e900a5fb8bdb06bed099b0907cf47fc01683301c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40089a401f6be14961fb2552e900a5fb8bdb06bed099b0907cf47fc01683301c", kill_on_drop: false }` [INFO] [stdout] 40089a401f6be14961fb2552e900a5fb8bdb06bed099b0907cf47fc01683301c