[INFO] fetching crate wasi-binio-host 0.1.0... [INFO] testing wasi-binio-host-0.1.0 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate wasi-binio-host 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate wasi-binio-host 0.1.0 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate wasi-binio-host 0.1.0 [INFO] finished tweaking crates.io crate wasi-binio-host 0.1.0 [INFO] tweaked toml for crates.io crate wasi-binio-host 0.1.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 653f3b3a829fade870e6e8973a83d1de27f5f02d0cdb795c74d47e3fd1ccaf02 [INFO] running `"docker" "start" "-a" "653f3b3a829fade870e6e8973a83d1de27f5f02d0cdb795c74d47e3fd1ccaf02"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling cranelift-codegen-shared v0.62.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling wasmparser v0.51.4 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling wasmtime-environ v0.15.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling more-asserts v0.2.1 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling wasi_binio_shared_mods v0.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling wast v18.0.0 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling scroll_derive v0.10.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling cranelift-entity v0.62.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling string-interner v0.7.1 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling errno v0.2.5 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling gimli v0.20.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling cranelift-codegen-meta v0.62.0 [INFO] [stderr] Compiling cranelift-bforest v0.62.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling scroll v0.10.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling object v0.18.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling goblin v0.1.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling zstd-sys v1.4.16+zstd.1.4.5 [INFO] [stderr] Compiling wasmtime-runtime v0.15.0 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Compiling wat v1.0.19 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling file-per-thread-logger v0.1.3 [INFO] [stderr] Compiling faerie v0.15.0 [INFO] [stderr] Compiling cranelift-codegen v0.62.0 [INFO] [stderr] Compiling cranelift-frontend v0.62.0 [INFO] [stderr] Compiling cranelift-native v0.62.0 [INFO] [stderr] Compiling zstd-safe v2.0.4+zstd.1.4.5 [INFO] [stderr] Compiling zstd v0.5.2+zstd.1.4.5 [INFO] [stderr] Compiling cranelift-wasm v0.62.0 [INFO] [stderr] Compiling wasmtime-debug v0.15.0 [INFO] [stderr] Compiling wasmtime-profiling v0.15.0 [INFO] [stderr] Compiling wasmtime-jit v0.15.0 [INFO] [stderr] Compiling wasmtime v0.15.0 [INFO] [stderr] Compiling wasi-binio-host v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 52s [INFO] running `"docker" "inspect" "653f3b3a829fade870e6e8973a83d1de27f5f02d0cdb795c74d47e3fd1ccaf02"` [INFO] running `"docker" "rm" "-f" "653f3b3a829fade870e6e8973a83d1de27f5f02d0cdb795c74d47e3fd1ccaf02"` [INFO] [stdout] 653f3b3a829fade870e6e8973a83d1de27f5f02d0cdb795c74d47e3fd1ccaf02 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4c8e1acd54727e4706764ef9f1fd192ac06002f49d34882cd6703b5b4382b1f0 [INFO] running `"docker" "start" "-a" "4c8e1acd54727e4706764ef9f1fd192ac06002f49d34882cd6703b5b4382b1f0"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling wasi-binio-host v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `"docker" "inspect" "4c8e1acd54727e4706764ef9f1fd192ac06002f49d34882cd6703b5b4382b1f0"` [INFO] running `"docker" "rm" "-f" "4c8e1acd54727e4706764ef9f1fd192ac06002f49d34882cd6703b5b4382b1f0"` [INFO] [stdout] 4c8e1acd54727e4706764ef9f1fd192ac06002f49d34882cd6703b5b4382b1f0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9842fcde451d228d9dcb09c0242d9cc8aacbb1afab8484a4413f58465161abef [INFO] running `"docker" "start" "-a" "9842fcde451d228d9dcb09c0242d9cc8aacbb1afab8484a4413f58465161abef"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/wasi_binio_host-d79de8ecc9de04f8 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests wasi-binio-host [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - call_stub (line 69) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:13:73 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call_stub` in this scope [INFO] [stdout] --> src/lib.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use wasi_binio_host::call_stub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `instance` in this scope [INFO] [stdout] --> src/lib.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `point1` in this scope [INFO] [stdout] --> src/lib.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `point2` in this scope [INFO] [stdout] --> src/lib.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - call_stub (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stdout] --> src/lib.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 3 | let instance = Instance::new(&module, &imports).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Instance` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `module` in this scope [INFO] [stdout] --> src/lib.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 3 | let instance = Instance::new(&module, &imports).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `imports` in this scope [INFO] [stdout] --> src/lib.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 3 | let instance = Instance::new(&module, &imports).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/lib.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 6 | let point1 = Point{x:2, y:3}; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/lib.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 7 | let point2 = Point{x:8, y:9}; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/lib.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 17 | let result: Rect/* It is very important to have the Type here */ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call_stub` in this scope [INFO] [stdout] --> src/lib.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 18 | = call_stub(&instance, //Instance is needed to find export wasm function [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use wasi_binio_host::call_stub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 6 | let rect: Rect = some_how_make_a_rect_from_two_points()... /* Your own logic here */ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 | let rect: Rect = some_how_make_a_rect_from_two_points().. /* Your own logic here */ [INFO] [stdout] | ^^ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 | let rect: Rect = some_how_make_a_rect_from_two_points()..= /* Your own logic here */ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:23:51 [INFO] [stdout] | [INFO] [stdout] 7 | wasi_binio_wasm::wasm_serialize(&rect).unwrap() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `wasm` [INFO] [stdout] --> src/lib.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 9 | Since wasm and wasi are under active development. Wasi will soon provide complex arguments support. [INFO] [stdout] | ^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasi_binio_wasm` [INFO] [stdout] --> src/lib.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 5 | let point_tuple : (Point, Point) = wasi_binio_wasm::wasm_deserialize(ptr, buffer_size).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `wasi_binio_wasm` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasi_binio_wasm` [INFO] [stdout] --> src/lib.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 7 | wasi_binio_wasm::wasm_serialize(&rect).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `wasi_binio_wasm` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/lib.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 5 | let point_tuple : (Point, Point) = wasi_binio_wasm::wasm_deserialize(ptr, buffer_size).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/lib.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 5 | let point_tuple : (Point, Point) = wasi_binio_wasm::wasm_deserialize(ptr, buffer_size).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/lib.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 6 | let rect: Rect = some_how_make_a_rect_from_two_points()... /* Your own logic here */ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `some_how_make_a_rect_from_two_points` in this scope [INFO] [stdout] --> src/lib.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 6 | let rect: Rect = some_how_make_a_rect_from_two_points()... /* Your own logic here */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rect` in this scope [INFO] [stdout] --> src/lib.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 7 | wasi_binio_wasm::wasm_serialize(&rect).unwrap() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn do_compute(ptr:i32, buffer_size: i32)->i64{ [INFO] [stdout] | ---------- ^^^ expected `i64`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0433. [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 12) [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] src/lib.rs - call_stub (line 69) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "9842fcde451d228d9dcb09c0242d9cc8aacbb1afab8484a4413f58465161abef"` [INFO] running `"docker" "rm" "-f" "9842fcde451d228d9dcb09c0242d9cc8aacbb1afab8484a4413f58465161abef"` [INFO] [stdout] 9842fcde451d228d9dcb09c0242d9cc8aacbb1afab8484a4413f58465161abef