[INFO] cloning repository https://github.com/wasm-rpc/rust-wasm-rpc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wasm-rpc/rust-wasm-rpc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasm-rpc%2Frust-wasm-rpc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasm-rpc%2Frust-wasm-rpc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d41e2b63b6804c18bc648a2fb40d7d0baccff196 [INFO] checking wasm-rpc/rust-wasm-rpc against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasm-rpc%2Frust-wasm-rpc" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wasm-rpc/rust-wasm-rpc on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wasm-rpc/rust-wasm-rpc [INFO] finished tweaking git repo https://github.com/wasm-rpc/rust-wasm-rpc [INFO] tweaked toml for git repo https://github.com/wasm-rpc/rust-wasm-rpc written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/wasm-rpc/rust-wasm-rpc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/chrysn-pull-requests/cbor` [INFO] [stderr] Updating git repository `https://github.com/rustwasm/wee_alloc` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded wasm-rpc v0.2.18 [INFO] [stderr] Downloaded wasm-rpc-macros v0.2.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b2ec9b7b53dfd7305853e402438bd4708dda772b106437b81dc04b6cf85903a [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" "8b2ec9b7b53dfd7305853e402438bd4708dda772b106437b81dc04b6cf85903a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b2ec9b7b53dfd7305853e402438bd4708dda772b106437b81dc04b6cf85903a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b2ec9b7b53dfd7305853e402438bd4708dda772b106437b81dc04b6cf85903a", kill_on_drop: false }` [INFO] [stdout] 8b2ec9b7b53dfd7305853e402438bd4708dda772b106437b81dc04b6cf85903a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5aca2d9300b0124011b20c7bc224181bd09543f765fbd1383fbe0caafb2d62b3 [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" "5aca2d9300b0124011b20c7bc224181bd09543f765fbd1383fbe0caafb2d62b3", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 (https://github.com/rustwasm/wee_alloc#f26c431d) [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking wasm-rpc-macros v0.2.18 (/opt/rustwide/workdir/wasm-rpc-macros) [INFO] [stderr] Compiling wasm-rpc-macros v0.2.18 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking serde_cbor v0.9.0 (https://github.com/chrysn-pull-requests/cbor#10a644e9) [INFO] [stderr] Checking wasm-rpc v0.2.18 (/opt/rustwide/workdir/wasm-rpc) [INFO] [stderr] Checking wasm-rpc v0.2.18 [INFO] [stderr] Checking complex_arguments v0.1.0 (/opt/rustwide/workdir/examples/complex_arguments) [INFO] [stderr] Checking error_handler v0.1.0 (/opt/rustwide/workdir/examples/error_handler) [INFO] [stderr] Checking wasm_snappy v0.1.0 (/opt/rustwide/workdir/examples/wasm_snappy) [INFO] [stdout] error[E0432]: unresolved imports `wasm_rpc::BTreeMap`, `wasm_rpc::ObjectKey`, `wasm_rpc::Value` [INFO] [stdout] --> examples/complex_arguments/src/complex_arguments.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_rpc::{BTreeMap, ObjectKey, Value}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^ no `Value` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `ObjectKey` in the root [INFO] [stdout] | no `BTreeMap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/complex_arguments/src/complex_arguments.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `wasm_rpc::BTreeMap`, `wasm_rpc::ObjectKey`, `wasm_rpc::Value` [INFO] [stdout] --> examples/complex_arguments/src/complex_arguments.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_rpc::{BTreeMap, ObjectKey, Value}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^ no `Value` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `ObjectKey` in the root [INFO] [stdout] | no `BTreeMap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/complex_arguments/src/complex_arguments.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `complex_arguments` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `wasm_rpc::error::ErrorStruct` [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_rpc::error::{Error, ErrorStruct}; [INFO] [stdout] | ^^^^^^^^^^^ no `ErrorStruct` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasm_rpc::Value` [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_rpc::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Value` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasm_rpc::error::ErrorStruct` [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_rpc::error::{Error, ErrorStruct}; [INFO] [stdout] | ^^^^^^^^^^^ no `ErrorStruct` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasm_rpc::Value` [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_rpc::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Value` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/wasm_snappy/src/lib.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> examples/wasm_snappy/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> examples/wasm_snappy/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/wasm_snappy/src/lib.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> examples/wasm_snappy/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> examples/wasm_snappy/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasm_rpc_macros::export [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | message: "example error", [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"example error".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/error_handler/src/error_handler.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | message: "example error", [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"example error".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5aca2d9300b0124011b20c7bc224181bd09543f765fbd1383fbe0caafb2d62b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aca2d9300b0124011b20c7bc224181bd09543f765fbd1383fbe0caafb2d62b3", kill_on_drop: false }` [INFO] [stdout] 5aca2d9300b0124011b20c7bc224181bd09543f765fbd1383fbe0caafb2d62b3