[INFO] fetching crate wasi-binio-wasm 0.1.1... [INFO] testing wasi-binio-wasm-0.1.1 against 1.44.0 for beta-1.45-1 [INFO] extracting crate wasi-binio-wasm 0.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate wasi-binio-wasm 0.1.1 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate wasi-binio-wasm 0.1.1 [INFO] finished tweaking crates.io crate wasi-binio-wasm 0.1.1 [INFO] tweaked toml for crates.io crate wasi-binio-wasm 0.1.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.44.0" "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] fafd6453da0a22afefd5ac808d1e90826a82fcd9d9110c86ed79b7f688d90567 [INFO] running `"docker" "start" "-a" "fafd6453da0a22afefd5ac808d1e90826a82fcd9d9110c86ed79b7f688d90567"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling wasi_binio_shared_mods v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling wasi-binio-wasm v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.72s [INFO] running `"docker" "inspect" "fafd6453da0a22afefd5ac808d1e90826a82fcd9d9110c86ed79b7f688d90567"` [INFO] running `"docker" "rm" "-f" "fafd6453da0a22afefd5ac808d1e90826a82fcd9d9110c86ed79b7f688d90567"` [INFO] [stdout] fafd6453da0a22afefd5ac808d1e90826a82fcd9d9110c86ed79b7f688d90567 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.44.0" "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] cca1d56f7e9342750b93230f5f22239dfde98185a2858826ed1c581d773042ab [INFO] running `"docker" "start" "-a" "cca1d56f7e9342750b93230f5f22239dfde98185a2858826ed1c581d773042ab"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling wasi-binio-wasm v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `"docker" "inspect" "cca1d56f7e9342750b93230f5f22239dfde98185a2858826ed1c581d773042ab"` [INFO] running `"docker" "rm" "-f" "cca1d56f7e9342750b93230f5f22239dfde98185a2858826ed1c581d773042ab"` [INFO] [stdout] cca1d56f7e9342750b93230f5f22239dfde98185a2858826ed1c581d773042ab [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.44.0" "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] 792caf14b090795aa7a7d06a1ebb80fca3375be144284b4d99498faeb09c0376 [INFO] running `"docker" "start" "-a" "792caf14b090795aa7a7d06a1ebb80fca3375be144284b4d99498faeb09c0376"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/wasi_binio_wasm-774d79ecc5fadc4e [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-wasm [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - wasm_serialize (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - wasm_deserialize (line 59) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - wasm_prepare_buffer (line 42) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error: expected `;`, found ``}`` [INFO] [stdout] --> src/lib.rs:14: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:14: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:14: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] error[E0425]: cannot find value `instance` in this scope [INFO] [stdout] --> src/lib.rs:14: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:14: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:14: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 - wasm_serialize (line 108) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/lib.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 8 | 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:113:30 [INFO] [stdout] | [INFO] [stdout] 8 | 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[E0422]: cannot find struct, variant or union type `Rect` in this scope [INFO] [stdout] --> src/lib.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 29 | let rect = Rect{left, right, top , bottom}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - wasm_deserialize (line 59) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/lib.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 8 | 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:64:30 [INFO] [stdout] | [INFO] [stdout] 8 | 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[E0422]: cannot find struct, variant or union type `Rect` in this scope [INFO] [stdout] --> src/lib.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 29 | let rect = Rect{left, right, top , bottom}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422. [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 19) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 7 | 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] 7 | 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:24:51 [INFO] [stdout] | [INFO] [stdout] 8 | wasi_binio_wasm::wasm_serialize(&rect).unwrap() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 9 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `wasm` [INFO] [stdout] --> src/lib.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 10 | 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[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 6 | 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:22:30 [INFO] [stdout] | [INFO] [stdout] 6 | 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:23:14 [INFO] [stdout] | [INFO] [stdout] 7 | 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:23:21 [INFO] [stdout] | [INFO] [stdout] 7 | 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:24:37 [INFO] [stdout] | [INFO] [stdout] 8 | 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:21:43 [INFO] [stdout] | [INFO] [stdout] 5 | 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 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425. [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 13) [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/lib.rs - wasm_deserialize (line 59) [INFO] [stdout] src/lib.rs - wasm_serialize (line 108) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "792caf14b090795aa7a7d06a1ebb80fca3375be144284b4d99498faeb09c0376"` [INFO] running `"docker" "rm" "-f" "792caf14b090795aa7a7d06a1ebb80fca3375be144284b4d99498faeb09c0376"` [INFO] [stdout] 792caf14b090795aa7a7d06a1ebb80fca3375be144284b4d99498faeb09c0376