[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#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasm-rpc%2Frust-wasm-rpc" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wasm-rpc/rust-wasm-rpc on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-4/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-4/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c201a90b1512f90f7efe8d3325542afbfa8604debd7406d486d0a8a691da0a0a [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" "c201a90b1512f90f7efe8d3325542afbfa8604debd7406d486d0a8a691da0a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c201a90b1512f90f7efe8d3325542afbfa8604debd7406d486d0a8a691da0a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c201a90b1512f90f7efe8d3325542afbfa8604debd7406d486d0a8a691da0a0a", kill_on_drop: false }` [INFO] [stdout] c201a90b1512f90f7efe8d3325542afbfa8604debd7406d486d0a8a691da0a0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba34e7a0a37ace36151bce9651e1947aa6582d794cc46217a8ee34d3b0baef0e [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" "ba34e7a0a37ace36151bce9651e1947aa6582d794cc46217a8ee34d3b0baef0e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Compiling libc v0.2.93 [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] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking wasm-rpc-macros v0.2.18 (/opt/rustwide/workdir/wasm-rpc-macros) [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling wasm-rpc-macros v0.2.18 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [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 wasm_snappy v0.1.0 (/opt/rustwide/workdir/examples/wasm_snappy) [INFO] [stderr] Checking error_handler v0.1.0 (/opt/rustwide/workdir/examples/error_handler) [INFO] [stderr] Checking complex_arguments v0.1.0 (/opt/rustwide/workdir/examples/complex_arguments) [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/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/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] 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: 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] 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[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 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/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/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: 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] 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] 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: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm_snappy` [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: 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: 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[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[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: 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" "ba34e7a0a37ace36151bce9651e1947aa6582d794cc46217a8ee34d3b0baef0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba34e7a0a37ace36151bce9651e1947aa6582d794cc46217a8ee34d3b0baef0e", kill_on_drop: false }` [INFO] [stdout] ba34e7a0a37ace36151bce9651e1947aa6582d794cc46217a8ee34d3b0baef0e