[INFO] crate wasi-binio-wasm 0.1.1 is already in cache [INFO] testing wasi-binio-wasm-0.1.1 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate wasi-binio-wasm 0.1.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate wasi-binio-wasm 0.1.1 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a35d12c0d224a12e213af30fa60e08a2769f01b24c1402a6a20880ff44c1f14 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4a35d12c0d224a12e213af30fa60e08a2769f01b24c1402a6a20880ff44c1f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a35d12c0d224a12e213af30fa60e08a2769f01b24c1402a6a20880ff44c1f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a35d12c0d224a12e213af30fa60e08a2769f01b24c1402a6a20880ff44c1f14", kill_on_drop: false }` [INFO] [stdout] 4a35d12c0d224a12e213af30fa60e08a2769f01b24c1402a6a20880ff44c1f14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a90fcccd9435186c11eae506931446b9797f005a9489fa7c04b964a582cb187 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7a90fcccd9435186c11eae506931446b9797f005a9489fa7c04b964a582cb187", kill_on_drop: false }` [INFO] [stderr] Compiling wasi_binio_shared_mods v0.1.0 [INFO] [stderr] Compiling wasi-binio-wasm v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "7a90fcccd9435186c11eae506931446b9797f005a9489fa7c04b964a582cb187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a90fcccd9435186c11eae506931446b9797f005a9489fa7c04b964a582cb187", kill_on_drop: false }` [INFO] [stdout] 7a90fcccd9435186c11eae506931446b9797f005a9489fa7c04b964a582cb187 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce1ff89ca57271299f07a077654b4b826e004f4ede4a9e3233bd4c0925276fcd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ce1ff89ca57271299f07a077654b4b826e004f4ede4a9e3233bd4c0925276fcd", kill_on_drop: false }` [INFO] [stderr] Compiling wasi-binio-wasm v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "ce1ff89ca57271299f07a077654b4b826e004f4ede4a9e3233bd4c0925276fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce1ff89ca57271299f07a077654b4b826e004f4ede4a9e3233bd4c0925276fcd", kill_on_drop: false }` [INFO] [stdout] ce1ff89ca57271299f07a077654b4b826e004f4ede4a9e3233bd4c0925276fcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 567f6850f3355a42944e7357ac62df53db31f4b2d793611a105d5c24b58ac19b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "567f6850f3355a42944e7357ac62df53db31f4b2d793611a105d5c24b58ac19b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/wasi_binio_wasm-4ce909d2a1f04ccc [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 - wasm_serialize (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - wasm_deserialize (line 59) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... 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 - 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 - (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] ---- 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 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] [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 `Command { std: "docker" "inspect" "567f6850f3355a42944e7357ac62df53db31f4b2d793611a105d5c24b58ac19b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "567f6850f3355a42944e7357ac62df53db31f4b2d793611a105d5c24b58ac19b", kill_on_drop: false }` [INFO] [stdout] 567f6850f3355a42944e7357ac62df53db31f4b2d793611a105d5c24b58ac19b