[INFO] fetching crate near-lake-framework 0.5.2... [INFO] testing near-lake-framework-0.5.2 against beta-2022-09-25 for beta-1.65-1 [INFO] extracting crate near-lake-framework 0.5.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate near-lake-framework 0.5.2 on toolchain beta-2022-09-25 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate near-lake-framework 0.5.2 [INFO] finished tweaking crates.io crate near-lake-framework 0.5.2 [INFO] tweaked toml for crates.io crate near-lake-framework 0.5.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "fetch" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d879f2ba068559deb5b5bf4971d05a2a0d2aac995af824cbdb59d90060b86dbb [INFO] running `Command { std: "docker" "start" "-a" "d879f2ba068559deb5b5bf4971d05a2a0d2aac995af824cbdb59d90060b86dbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d879f2ba068559deb5b5bf4971d05a2a0d2aac995af824cbdb59d90060b86dbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d879f2ba068559deb5b5bf4971d05a2a0d2aac995af824cbdb59d90060b86dbb", kill_on_drop: false }` [INFO] [stdout] d879f2ba068559deb5b5bf4971d05a2a0d2aac995af824cbdb59d90060b86dbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e686e042304c94791077752d32b89c5732c83973f94e3d1473e2872e5ce24538 [INFO] running `Command { std: "docker" "start" "-a" "e686e042304c94791077752d32b89c5732c83973f94e3d1473e2872e5ce24538", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.101 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling time v0.3.15 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling semver v1.0.14 [INFO] [stderr] Compiling bytes-utils v0.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling aws-types v0.13.0 [INFO] [stderr] Compiling parity-secp256k1 v0.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling signature v1.6.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling uint v0.9.4 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling ed25519 v1.5.2 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling aws-smithy-types v0.43.0 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling aws-smithy-eventstream v0.43.0 [INFO] [stderr] Compiling tokio-stream v0.1.10 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling aws-smithy-xml v0.43.0 [INFO] [stderr] Compiling c2-chacha v0.3.3 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling urlencoding v2.1.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling aws-smithy-query v0.43.0 [INFO] [stderr] Compiling aws-smithy-json v0.43.0 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling aws-smithy-async v0.43.0 [INFO] [stderr] Compiling futures-executor v0.3.24 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling derive_builder v0.11.2 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling near-rpc-error-core v0.14.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.14.0 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling aws-smithy-http v0.43.0 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling aws-smithy-http-tower v0.43.0 [INFO] [stderr] Compiling aws-sigv4 v0.13.0 [INFO] [stderr] Compiling aws-smithy-client v0.43.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling aws-sig-auth v0.13.0 [INFO] [stderr] Compiling aws-endpoint v0.13.0 [INFO] [stderr] Compiling aws-http v0.13.0 [INFO] [stderr] Compiling near-account-id v0.14.0 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling aws-sdk-sso v0.13.0 [INFO] [stderr] Compiling aws-sdk-sts v0.13.0 [INFO] [stderr] Compiling aws-sdk-s3 v0.13.0 [INFO] [stderr] Compiling near-primitives-core v0.14.0 [INFO] [stderr] Compiling near-vm-errors v0.14.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling aws-config v0.13.0 [INFO] [stderr] Compiling near-crypto v0.14.0 [INFO] [stderr] Compiling near-primitives v0.14.0 [INFO] [stderr] Compiling near-indexer-primitives v0.14.0 [INFO] [stderr] Compiling near-lake-framework v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "e686e042304c94791077752d32b89c5732c83973f94e3d1473e2872e5ce24538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e686e042304c94791077752d32b89c5732c83973f94e3d1473e2872e5ce24538", kill_on_drop: false }` [INFO] [stdout] e686e042304c94791077752d32b89c5732c83973f94e3d1473e2872e5ce24538 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b271d1ffb5f552e239292d746221e28885873dc619755e0e56c54c049cbdd9e [INFO] running `Command { std: "docker" "start" "-a" "4b271d1ffb5f552e239292d746221e28885873dc619755e0e56c54c049cbdd9e", kill_on_drop: false }` [INFO] [stderr] Compiling near-lake-framework v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.53s [INFO] running `Command { std: "docker" "inspect" "4b271d1ffb5f552e239292d746221e28885873dc619755e0e56c54c049cbdd9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b271d1ffb5f552e239292d746221e28885873dc619755e0e56c54c049cbdd9e", kill_on_drop: false }` [INFO] [stdout] 4b271d1ffb5f552e239292d746221e28885873dc619755e0e56c54c049cbdd9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 649147bba9132dff8250fc9ffb438e9ff1f5804ea15db36faa7d3ca09323453a [INFO] running `Command { std: "docker" "start" "-a" "649147bba9132dff8250fc9ffb438e9ff1f5804ea15db36faa7d3ca09323453a", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/near_lake_framework-61cdc81935aba9ae) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests near-lake-framework [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/types.rs - types::LakeConfigBuilder::testnet (line 79) ... FAILED [INFO] [stdout] test src/types.rs - types::LakeConfigBuilder::mainnet (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - streamer (line 221) ... FAILED [INFO] [stdout] test src/types.rs - types::LakeConfig (line 7) ... FAILED [INFO] [stdout] test src/lib.rs - (line 66) ... FAILED [INFO] [stdout] test src/types.rs - types::LakeConfigBuilder::s3_config (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - (line 7) ... FAILED [INFO] [stdout] test src/types.rs - types::LakeConfigBuilder::s3_config (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - (line 96) ... FAILED [INFO] [stdout] test src/types.rs - types::LakeConfig::s3_config (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - (line 133) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/types.rs - types::LakeConfigBuilder::testnet (line 79) stdout ---- [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/types.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0752`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types.rs - types::LakeConfigBuilder::mainnet (line 61) stdout ---- [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/types.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0752`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - streamer (line 221) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `stream` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib.rs:234:40 [INFO] [stdout] | [INFO] [stdout] 13 | let (_, stream) = near_lake_framework::streamer(config); [INFO] [stdout] | ------ help: consider changing this to be mutable: `mut stream` [INFO] [stdout] 14 | [INFO] [stdout] 15 | while let Some(streamer_message) = stream.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0596, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types.rs - types::LakeConfig (line 7) stdout ---- [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/types.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0752`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 66) stdout ---- [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0752`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types.rs - types::LakeConfigBuilder::s3_config (line 32) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http` [INFO] [stdout] --> src/types.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http::Uri; [INFO] [stdout] | ^^^^ use of undeclared crate or module `http` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 9 | let mut s3_conf = aws_sdk_s3::config::Builder::from(&aws_config); [INFO] [stdout] | ---------------------------------------------- expected due to this value [INFO] [stdout] 10 | s3_conf = s3_conf [INFO] [stdout] | _______________^ [INFO] [stdout] 11 | | .endpoint_resolver( [INFO] [stdout] 12 | | Endpoint::immutable("http://0.0.0.0:9000".parse::().unwrap())) [INFO] [stdout] 13 | | .build(); [INFO] [stdout] | |________________^ expected struct `aws_sdk_s3::config::Builder`, found struct `aws_sdk_s3::Config` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 16 | .s3_config(s3_conf) [INFO] [stdout] | --------- ^^^^^^^ expected struct `aws_sdk_s3::Config`, found struct `aws_sdk_s3::config::Builder` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/types.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) s3_config: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/types.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 7) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/lib.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:25:67 [INFO] [stdout] | [INFO] [stdout] 20 | let mut handlers = tokio_stream::wrappers::ReceiverStream::new(stream) [INFO] [stdout] | ------------------------------------------- ^^^^^^ expected struct `tokio::sync::mpsc::Receiver`, found tuple [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `tokio::sync::mpsc::Receiver<_>` [INFO] [stdout] found tuple `(tokio::task::JoinHandle>, tokio::sync::mpsc::Receiver)` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-stream-0.1.10/src/wrappers/mpsc_bounded.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(recv: Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), tokio::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types.rs - types::LakeConfigBuilder::s3_config (line 32) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http` [INFO] [stdout] --> src/types.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http::Uri; [INFO] [stdout] | ^^^^ use of undeclared crate or module `http` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 9 | let mut s3_conf = aws_sdk_s3::config::Builder::from(&aws_config); [INFO] [stdout] | ---------------------------------------------- expected due to this value [INFO] [stdout] 10 | s3_conf = s3_conf [INFO] [stdout] | _______________^ [INFO] [stdout] 11 | | .endpoint_resolver( [INFO] [stdout] 12 | | Endpoint::immutable("http://0.0.0.0:9000".parse::().unwrap())) [INFO] [stdout] 13 | | .build(); [INFO] [stdout] | |________________^ expected struct `aws_sdk_s3::config::Builder`, found struct `aws_sdk_s3::Config` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 16 | .s3_config(s3_conf) [INFO] [stdout] | --------- ^^^^^^^ expected struct `aws_sdk_s3::Config`, found struct `aws_sdk_s3::config::Builder` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/types.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) s3_config: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/types.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 96) stdout ---- [INFO] [stdout] error: expected `;`, found `aws_access_key_id` [INFO] [stdout] --> src/lib.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 3 | [default] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | aws_access_key_id=AKIAIOSFODNN7EXAMPLE [INFO] [stdout] | ----------------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `aws_secret_access_key` [INFO] [stdout] --> src/lib.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 4 | aws_access_key_id=AKIAIOSFODNN7EXAMPLE [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY [INFO] [stdout] | --------------------- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `default` in this scope [INFO] [stdout] --> src/lib.rs:97:2 [INFO] [stdout] | [INFO] [stdout] 3 | [default] [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::default::default; [INFO] [stdout] | [INFO] [stdout] 2 | use derive_builder::export::core::default::default; [INFO] [stdout] | [INFO] [stdout] 2 | use std::default::default; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `aws_access_key_id` in this scope [INFO] [stdout] --> src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 4 | aws_access_key_id=AKIAIOSFODNN7EXAMPLE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AKIAIOSFODNN7EXAMPLE` in this scope [INFO] [stdout] --> src/lib.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 4 | aws_access_key_id=AKIAIOSFODNN7EXAMPLE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `aws_secret_access_key` in this scope [INFO] [stdout] --> src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 5 | aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `wJalrXUtnFEMI` in this scope [INFO] [stdout] --> src/lib.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 5 | aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `K7MDENG` in this scope [INFO] [stdout] --> src/lib.rs:99:37 [INFO] [stdout] | [INFO] [stdout] 5 | aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bPxRfiCYEXAMPLEKEY` in this scope [INFO] [stdout] --> src/lib.rs:99:45 [INFO] [stdout] | [INFO] [stdout] 5 | aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types.rs - types::LakeConfig::s3_config (line 32) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http` [INFO] [stdout] --> src/types.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http::Uri; [INFO] [stdout] | ^^^^ use of undeclared crate or module `http` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 9 | let mut s3_conf = aws_sdk_s3::config::Builder::from(&aws_config); [INFO] [stdout] | ---------------------------------------------- expected due to this value [INFO] [stdout] 10 | s3_conf = s3_conf [INFO] [stdout] | _______________^ [INFO] [stdout] 11 | | .endpoint_resolver( [INFO] [stdout] 12 | | Endpoint::immutable("http://0.0.0.0:9000".parse::().unwrap())) [INFO] [stdout] 13 | | .build(); [INFO] [stdout] | |________________^ expected struct `aws_sdk_s3::config::Builder`, found struct `aws_sdk_s3::Config` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 16 | .s3_config(s3_conf) [INFO] [stdout] | --------- ^^^^^^^ expected struct `aws_sdk_s3::Config`, found struct `aws_sdk_s3::config::Builder` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/types.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) s3_config: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/types.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 133) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http` [INFO] [stdout] --> src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http::Uri; [INFO] [stdout] | ^^^^ use of undeclared crate or module `http` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 9 | let mut s3_conf = aws_sdk_s3::config::Builder::from(&aws_config); [INFO] [stdout] | ---------------------------------------------- expected due to this value [INFO] [stdout] 10 | s3_conf = s3_conf [INFO] [stdout] | ___________^ [INFO] [stdout] 11 | | .endpoint_resolver( [INFO] [stdout] 12 | | Endpoint::immutable("http://0.0.0.0:9000".parse::().unwrap())) [INFO] [stdout] 13 | | .build(); [INFO] [stdout] | |____________^ expected struct `aws_sdk_s3::config::Builder`, found struct `aws_sdk_s3::Config` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 16 | .s3_config(s3_conf) [INFO] [stdout] | --------- ^^^^^^^ expected struct `aws_sdk_s3::Config`, found struct `aws_sdk_s3::config::Builder` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/types.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) s3_config: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 133) [INFO] [stdout] src/lib.rs - (line 66) [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] src/lib.rs - (line 96) [INFO] [stdout] src/lib.rs - streamer (line 221) [INFO] [stdout] src/types.rs - types::LakeConfig (line 7) [INFO] [stdout] src/types.rs - types::LakeConfig::s3_config (line 32) [INFO] [stdout] src/types.rs - types::LakeConfigBuilder::mainnet (line 61) [INFO] [stdout] src/types.rs - types::LakeConfigBuilder::s3_config (line 32) [INFO] [stdout] src/types.rs - types::LakeConfigBuilder::s3_config (line 32) [INFO] [stdout] src/types.rs - types::LakeConfigBuilder::testnet (line 79) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "649147bba9132dff8250fc9ffb438e9ff1f5804ea15db36faa7d3ca09323453a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "649147bba9132dff8250fc9ffb438e9ff1f5804ea15db36faa7d3ca09323453a", kill_on_drop: false }` [INFO] [stdout] 649147bba9132dff8250fc9ffb438e9ff1f5804ea15db36faa7d3ca09323453a