[INFO] fetching crate susydev-jsonrpc-derive 11.0.0... [INFO] testing susydev-jsonrpc-derive-11.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate susydev-jsonrpc-derive 11.0.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate susydev-jsonrpc-derive 11.0.0 [INFO] finished tweaking crates.io crate susydev-jsonrpc-derive 11.0.0 [INFO] tweaked toml for crates.io crate susydev-jsonrpc-derive 11.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate susydev-jsonrpc-derive 11.0.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 146 packages to latest compatible versions [INFO] [stderr] Adding compiletest_rs v0.3.26 (available: v0.11.2) [INFO] [stderr] Adding proc-macro-crate v0.1.5 (available: v3.3.0) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.95) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.40) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded compiletest_rs v0.3.26 [INFO] [stderr] Downloaded tester v0.6.0 [INFO] [stderr] Downloaded susydev-jsonrpc-client v11.0.0 [INFO] [stderr] Downloaded susydev-jsonrpc-core v11.0.0 [INFO] [stderr] Downloaded susydev-jsonrpc-tcp-server v11.0.0 [INFO] [stderr] Downloaded susydev-jsonrpc-pubsub v11.0.0 [INFO] [stderr] Downloaded susydev-jsonrpc-server-utils v11.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75e2fa6a22ce5b164d3824f4dbef06454c9a08d16d366784aea8d173ddd1b1b5 [INFO] running `Command { std: "docker" "start" "-a" "75e2fa6a22ce5b164d3824f4dbef06454c9a08d16d366784aea8d173ddd1b1b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75e2fa6a22ce5b164d3824f4dbef06454c9a08d16d366784aea8d173ddd1b1b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75e2fa6a22ce5b164d3824f4dbef06454c9a08d16d366784aea8d173ddd1b1b5", kill_on_drop: false }` [INFO] [stdout] 75e2fa6a22ce5b164d3824f4dbef06454c9a08d16d366784aea8d173ddd1b1b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 09e0202c92519d526f82e227f7726734abd7f5a804f08b4dc4eaacbaad7c31d8 [INFO] running `Command { std: "docker" "start" "-a" "09e0202c92519d526f82e227f7726734abd7f5a804f08b4dc4eaacbaad7c31d8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling susydev-jsonrpc-derive v11.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.20s [INFO] running `Command { std: "docker" "inspect" "09e0202c92519d526f82e227f7726734abd7f5a804f08b4dc4eaacbaad7c31d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e0202c92519d526f82e227f7726734abd7f5a804f08b4dc4eaacbaad7c31d8", kill_on_drop: false }` [INFO] [stdout] 09e0202c92519d526f82e227f7726734abd7f5a804f08b4dc4eaacbaad7c31d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c639ba4ea817031e949f9145d2b00db72f7ae0227d777a5a1ad85f9683459082 [INFO] running `Command { std: "docker" "start" "-a" "c639ba4ea817031e949f9145d2b00db72f7ae0227d777a5a1ad85f9683459082", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling compiletest_rs v0.3.26 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling susydev-jsonrpc-core v11.0.0 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling susydev-jsonrpc-pubsub v11.0.0 [INFO] [stderr] Compiling tester v0.6.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustfix v0.4.6 [INFO] [stderr] Compiling susydev-jsonrpc-client v11.0.0 [INFO] [stderr] Compiling susydev-jsonrpc-server-utils v11.0.0 [INFO] [stderr] Compiling susydev-jsonrpc-tcp-server v11.0.0 [INFO] [stderr] Compiling susydev-jsonrpc-derive v11.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: pubsub methods are currently not supported in the generated client. [INFO] [stdout] warning: pubsub methods are currently not supported in the generated client. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 33.20s [INFO] running `Command { std: "docker" "inspect" "c639ba4ea817031e949f9145d2b00db72f7ae0227d777a5a1ad85f9683459082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c639ba4ea817031e949f9145d2b00db72f7ae0227d777a5a1ad85f9683459082", kill_on_drop: false }` [INFO] [stdout] c639ba4ea817031e949f9145d2b00db72f7ae0227d777a5a1ad85f9683459082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1f6f4187360a57f57a873f899a5827a1778e332c9220f4725a90777966605018 [INFO] running `Command { std: "docker" "start" "-a" "1f6f4187360a57f57a873f899a5827a1778e332c9220f4725a90777966605018", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/susydev_jsonrpc_derive-d48f09d878665231) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/compiletests.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/compiletests-73430bdf6951022c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test [ui] ui/attr-invalid-meta-words.rs ... FAILED [INFO] [stdout] test [ui] ui/attr-missing-rpc-name.rs ... FAILED [INFO] [stdout] test [ui] ui/pubsub/attr-invalid-name-values.rs ... FAILED [INFO] [stdout] test [ui] ui/pubsub/attr-invalid-meta-list-names.rs ... FAILED [INFO] [stdout] test [ui] ui/pubsub/attr-invalid-meta-words.rs ... FAILED [INFO] [stdout] test [ui] ui/pubsub/attr-both-subscribe-and-unsubscribe.rs ... FAILED [INFO] [stdout] test [ui] ui/multiple-rpc-attributes.rs ... FAILED [INFO] [stdout] test [ui] ui/pubsub/attr-missing-subscription-name.rs ... FAILED [INFO] [stdout] test [ui] ui/attr-invalid-name-values.rs ... FAILED [INFO] [stdout] test [ui] ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs ... FAILED [INFO] [stdout] test [ui] ui/attr-invalid-meta-list-names.rs ... FAILED [INFO] [stdout] test [ui] ui/pubsub/missing-unsubscribe.rs ... FAILED [INFO] [stdout] test [ui] ui/too-many-params.rs ... FAILED [INFO] [stdout] test [ui] ui/pubsub/missing-subscribe.rs ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [ui] ui/attr-invalid-meta-list-names.rs [INFO] [stdout] [ui] ui/attr-invalid-meta-words.rs [INFO] [stdout] [ui] ui/attr-invalid-name-values.rs [INFO] [stdout] [ui] ui/attr-missing-rpc-name.rs [INFO] [stdout] [ui] ui/multiple-rpc-attributes.rs [INFO] [stdout] [ui] ui/pubsub/attr-both-subscribe-and-unsubscribe.rs [INFO] [stdout] [ui] ui/pubsub/attr-invalid-meta-list-names.rs [INFO] [stdout] [ui] ui/pubsub/attr-invalid-meta-words.rs [INFO] [stdout] [ui] ui/pubsub/attr-invalid-name-values.rs [INFO] [stdout] [ui] ui/pubsub/attr-missing-subscription-name.rs [INFO] [stdout] [ui] ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs [INFO] [stdout] [ui] ui/pubsub/missing-subscribe.rs [INFO] [stdout] [ui] ui/pubsub/missing-unsubscribe.rs [INFO] [stdout] [ui] ui/too-many-params.rs [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] test compile_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- compile_test stdout ---- [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-invalid-meta-words.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta [INFO] [stdout] crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-invalid-meta-words.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error: Invalid attribute parameter(s): 'Xmeta'. Expected 'meta' [INFO] [stdout] --> $DIR/attr-invalid-meta-words.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Returns a protocol version [INFO] [stdout] 11 | | #[rpc(name = "protocolVersion", Xmeta)] [INFO] [stdout] 12 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: Invalid attribute parameter(s): 'Xmeta'. Expected 'meta' [INFO] [stdout] --> $DIR/attr-invalid-meta-words.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Returns a protocol version [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[rpc(name = "protocolVersion", Xmeta)] [INFO] [stdout] 12 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:1:1 [INFO] [stdout] + | [INFO] [stdout] +1 | extern crate serde; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta [INFO] [stdout] + crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:2:1 [INFO] [stdout] + | [INFO] [stdout] +2 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] error: Invalid attribute parameter(s): 'Xmeta'. Expected 'meta' [INFO] [stdout] --> $DIR/attr-invalid-meta-words.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Returns a protocol version [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Returns a protocol version [INFO] [stdout] 11 | | #[rpc(name = "protocolVersion", Xmeta)] [INFO] [stdout] 12 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/attr-invalid-meta-words.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'attr-invalid-meta-words.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/attr-invalid-meta-words.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/attr-invalid-meta-words.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/attr-invalid-meta-words.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-words.rs","byte_start":0,"byte_end":19,"line_start":1,"line_end":1,"column_start":1,"column_end":20,"is_primary":true,"text":[{"text":"extern crate serde;","highlight_start":1,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta\ncrate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/attr-invalid-meta-words.rs:1:1\n |\n1 | extern crate serde;\n | ^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta\n crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-words.rs","byte_start":20,"byte_end":54,"line_start":2,"line_end":2,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/attr-invalid-meta-words.rs:2:1\n |\n2 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Invalid attribute parameter(s): 'Xmeta'. Expected 'meta'","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-words.rs","byte_start":165,"byte_end":283,"line_start":10,"line_end":12,"column_start":2,"column_end":47,"is_primary":true,"text":[{"text":"\t/// Returns a protocol version","highlight_start":2,"highlight_end":32},{"text":"\t#[rpc(name = \"protocolVersion\", Xmeta)]","highlight_start":1,"highlight_end":41},{"text":"\tfn protocol_version(&self) -> Result;","highlight_start":1,"highlight_end":47}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Invalid attribute parameter(s): 'Xmeta'. Expected 'meta'\n --> tests/ui/attr-invalid-meta-words.rs:10:2\n |\n10 | / /// Returns a protocol version\n11 | | #[rpc(name = \"protocolVersion\", Xmeta)]\n12 | | fn protocol_version(&self) -> Result;\n | |_________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-missing-rpc-name.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta [INFO] [stdout] crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-missing-rpc-name.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error: rpc attribute should have a name e.g. `name = "method_name"` [INFO] [stdout] --> $DIR/attr-missing-rpc-name.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Returns a protocol version [INFO] [stdout] 11 | | #[rpc] [INFO] [stdout] 12 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: rpc attribute should have a name e.g. `name = "method_name"` [INFO] [stdout] --> $DIR/attr-missing-rpc-name.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Returns a protocol version [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[rpc] [INFO] [stdout] 12 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-missing-rpc-name.rs:1:1 [INFO] [stdout] + | [INFO] [stdout] +1 | extern crate serde; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta [INFO] [stdout] + crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-missing-rpc-name.rs:2:1 [INFO] [stdout] + | [INFO] [stdout] +2 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] error: rpc attribute should have a name e.g. `name = "method_name"` [INFO] [stdout] --> $DIR/attr-missing-rpc-name.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Returns a protocol version [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Returns a protocol version [INFO] [stdout] 11 | | #[rpc] [INFO] [stdout] 12 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/attr-missing-rpc-name.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'attr-missing-rpc-name.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/attr-missing-rpc-name.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/attr-missing-rpc-name.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/attr-missing-rpc-name.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-missing-rpc-name.rs","byte_start":0,"byte_end":19,"line_start":1,"line_end":1,"column_start":1,"column_end":20,"is_primary":true,"text":[{"text":"extern crate serde;","highlight_start":1,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta\ncrate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/attr-missing-rpc-name.rs:1:1\n |\n1 | extern crate serde;\n | ^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta\n crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-missing-rpc-name.rs","byte_start":20,"byte_end":54,"line_start":2,"line_end":2,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/attr-missing-rpc-name.rs:2:1\n |\n2 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"rpc attribute should have a name e.g. `name = \"method_name\"`","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-missing-rpc-name.rs","byte_start":165,"byte_end":250,"line_start":10,"line_end":12,"column_start":2,"column_end":47,"is_primary":true,"text":[{"text":"\t/// Returns a protocol version","highlight_start":2,"highlight_end":32},{"text":"\t#[rpc]","highlight_start":1,"highlight_end":8},{"text":"\tfn protocol_version(&self) -> Result;","highlight_start":1,"highlight_end":47}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: rpc attribute should have a name e.g. `name = \"method_name\"`\n --> tests/ui/attr-missing-rpc-name.rs:10:2\n |\n10 | / /// Returns a protocol version\n11 | | #[rpc]\n12 | | fn protocol_version(&self) -> Result;\n | |_________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-invalid-name-values.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-invalid-name-values.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] [INFO] [stdout] error: Invalid attribute parameter(s): 'Xsubscription, Xname'. Expected 'subscription, name' [INFO] [stdout] --> $DIR/attr-invalid-name-values.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(Xsubscription = "hello", subscribe, Xname = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: Invalid attribute parameter(s): 'Xsubscription, Xname'. Expected 'subscription, name' [INFO] [stdout] --> $DIR/attr-invalid-name-values.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Hello subscription [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[pubsub(Xsubscription = "hello", subscribe, Xname = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-invalid-meta-list-names.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-invalid-meta-list-names.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] [INFO] [stdout] error: Invalid attribute parameter(s): 'Xalias'. Expected 'alias' [INFO] [stdout] --> $DIR/attr-invalid-meta-list-names.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", Xalias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: Invalid attribute parameter(s): 'Xalias'. Expected 'alias' [INFO] [stdout] --> $DIR/attr-invalid-meta-list-names.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Hello subscription [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", Xalias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:3:1 [INFO] [stdout] + | [INFO] [stdout] +3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:4:1 [INFO] [stdout] + | [INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] + [INFO] [stdout] error: Invalid attribute parameter(s): 'Xsubscription, Xname'. Expected 'subscription, name' [INFO] [stdout] --> $DIR/attr-invalid-name-values.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Hello subscription [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(Xsubscription = "hello", subscribe, Xname = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/pubsub/attr-invalid-name-values.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'pubsub/attr-invalid-name-values.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/pubsub/attr-invalid-name-values.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/pubsub/attr-invalid-name-values.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/pubsub/attr-invalid-name-values.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/attr-invalid-name-values.rs:3:1\n |\n3 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/attr-invalid-name-values.rs:4:1\n |\n4 | extern crate susydev_jsonrpc_pubsub;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Invalid attribute parameter(s): 'Xsubscription, Xname'. Expected 'subscription, name'","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":164,"byte_end":359,"line_start":10,"line_end":12,"column_start":2,"column_end":79,"is_primary":true,"text":[{"text":"\t/// Hello subscription","highlight_start":2,"highlight_end":24},{"text":"\t#[pubsub(Xsubscription = \"hello\", subscribe, Xname = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":1,"highlight_end":94},{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);","highlight_start":1,"highlight_end":79}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Invalid attribute parameter(s): 'Xsubscription, Xname'. Expected 'subscription, name'\n --> tests/ui/pubsub/attr-invalid-name-values.rs:10:2\n |\n10 | / /// Hello subscription\n11 | | #[pubsub(Xsubscription = \"hello\", subscribe, Xname = \"hello_subscribe\", alias(\"hello_sub\"))]\n12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);\n | |_________________________________________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:3:1 [INFO] [stdout] + | [INFO] [stdout] +3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:4:1 [INFO] [stdout] + | [INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] + [INFO] [stdout] error: Invalid attribute parameter(s): 'Xalias'. Expected 'alias' [INFO] [stdout] --> $DIR/attr-invalid-meta-list-names.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Hello subscription [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", Xalias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/pubsub/attr-invalid-meta-list-names.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'pubsub/attr-invalid-meta-list-names.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/pubsub/attr-invalid-meta-list-names.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/pubsub/attr-invalid-meta-list-names.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/pubsub/attr-invalid-meta-list-names.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:3:1\n |\n3 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:4:1\n |\n4 | extern crate susydev_jsonrpc_pubsub;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Invalid attribute parameter(s): 'Xalias'. Expected 'alias'","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":164,"byte_end":358,"line_start":10,"line_end":12,"column_start":2,"column_end":79,"is_primary":true,"text":[{"text":"\t/// Hello subscription","highlight_start":2,"highlight_end":24},{"text":"\t#[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\", Xalias(\"hello_sub\"))]","highlight_start":1,"highlight_end":93},{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);","highlight_start":1,"highlight_end":79}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Invalid attribute parameter(s): 'Xalias'. Expected 'alias'\n --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:10:2\n |\n10 | / /// Hello subscription\n11 | | #[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\", Xalias(\"hello_sub\"))]\n12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);\n | |_________________________________________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-invalid-meta-words.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-invalid-meta-words.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] [INFO] [stdout] error: Invalid attribute parameter(s): 'Xsubscribe'. Expected 'subscribe, unsubscribe' [INFO] [stdout] --> $DIR/attr-invalid-meta-words.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", Xsubscribe, name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: Invalid attribute parameter(s): 'Xsubscribe'. Expected 'subscribe, unsubscribe' [INFO] [stdout] --> $DIR/attr-invalid-meta-words.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Hello subscription [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", Xsubscribe, name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:3:1 [INFO] [stdout] + | [INFO] [stdout] +3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:4:1 [INFO] [stdout] + | [INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] + [INFO] [stdout] error: Invalid attribute parameter(s): 'Xsubscribe'. Expected 'subscribe, unsubscribe' [INFO] [stdout] --> $DIR/attr-invalid-meta-words.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Hello subscription [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", Xsubscribe, name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/pubsub/attr-invalid-meta-words.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'pubsub/attr-invalid-meta-words.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/pubsub/attr-invalid-meta-words.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/pubsub/attr-invalid-meta-words.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/pubsub/attr-invalid-meta-words.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/attr-invalid-meta-words.rs:3:1\n |\n3 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/attr-invalid-meta-words.rs:4:1\n |\n4 | extern crate susydev_jsonrpc_pubsub;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Invalid attribute parameter(s): 'Xsubscribe'. Expected 'subscribe, unsubscribe'","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":164,"byte_end":358,"line_start":10,"line_end":12,"column_start":2,"column_end":79,"is_primary":true,"text":[{"text":"\t/// Hello subscription","highlight_start":2,"highlight_end":24},{"text":"\t#[pubsub(subscription = \"hello\", Xsubscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":1,"highlight_end":93},{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);","highlight_start":1,"highlight_end":79}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Invalid attribute parameter(s): 'Xsubscribe'. Expected 'subscribe, unsubscribe'\n --> tests/ui/pubsub/attr-invalid-meta-words.rs:10:2\n |\n10 | / /// Hello subscription\n11 | | #[pubsub(subscription = \"hello\", Xsubscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]\n12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);\n | |_________________________________________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-both-subscribe-and-unsubscribe.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-both-subscribe-and-unsubscribe.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] [INFO] [stdout] error: pubsub attribute annotated with both subscribe and unsubscribe [INFO] [stdout] --> $DIR/attr-both-subscribe-and-unsubscribe.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", subscribe, unsubscribe, name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: pubsub attribute annotated with both subscribe and unsubscribe [INFO] [stdout] --> $DIR/attr-both-subscribe-and-unsubscribe.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Hello subscription [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", subscribe, unsubscribe, name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-both-subscribe-and-unsubscribe.rs:3:1 [INFO] [stdout] + | [INFO] [stdout] +3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-both-subscribe-and-unsubscribe.rs:4:1 [INFO] [stdout] + | [INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] + [INFO] [stdout] error: pubsub attribute annotated with both subscribe and unsubscribe [INFO] [stdout] --> $DIR/attr-both-subscribe-and-unsubscribe.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Hello subscription [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", subscribe, unsubscribe, name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/pubsub/attr-both-subscribe-and-unsubscribe.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'pubsub/attr-both-subscribe-and-unsubscribe.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/pubsub/attr-both-subscribe-and-unsubscribe.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/pubsub/attr-both-subscribe-and-unsubscribe.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:3:1\n |\n3 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:4:1\n |\n4 | extern crate susydev_jsonrpc_pubsub;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"pubsub attribute annotated with both subscribe and unsubscribe","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":164,"byte_end":370,"line_start":10,"line_end":12,"column_start":2,"column_end":79,"is_primary":true,"text":[{"text":"\t/// Hello subscription","highlight_start":2,"highlight_end":24},{"text":"\t#[pubsub(subscription = \"hello\", subscribe, unsubscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":1,"highlight_end":105},{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);","highlight_start":1,"highlight_end":79}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: pubsub attribute annotated with both subscribe and unsubscribe\n --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:10:2\n |\n10 | / /// Hello subscription\n11 | | #[pubsub(subscription = \"hello\", subscribe, unsubscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]\n12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);\n | |_________________________________________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/multiple-rpc-attributes.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta [INFO] [stdout] crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/multiple-rpc-attributes.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error: Expected only a single rpc attribute per method [INFO] [stdout] --> $DIR/multiple-rpc-attributes.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Returns a protocol version [INFO] [stdout] 11 | | #[rpc(name = "protocolVersion")] [INFO] [stdout] 12 | | #[rpc(name = "protocolVersionAgain")] [INFO] [stdout] 13 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: Expected only a single rpc attribute per method [INFO] [stdout] --> $DIR/multiple-rpc-attributes.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Returns a protocol version [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[rpc(name = "protocolVersion")] [INFO] [stdout] 12 | | #[rpc(name = "protocolVersionAgain")] [INFO] [stdout] 13 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/multiple-rpc-attributes.rs:1:1 [INFO] [stdout] + | [INFO] [stdout] +1 | extern crate serde; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta [INFO] [stdout] + crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/multiple-rpc-attributes.rs:2:1 [INFO] [stdout] + | [INFO] [stdout] +2 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] error: Expected only a single rpc attribute per method [INFO] [stdout] --> $DIR/multiple-rpc-attributes.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Returns a protocol version [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Returns a protocol version [INFO] [stdout] 11 | | #[rpc(name = "protocolVersion")] [INFO] [stdout] 12 | | #[rpc(name = "protocolVersionAgain")] [INFO] [stdout] 13 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/multiple-rpc-attributes.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'multiple-rpc-attributes.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/multiple-rpc-attributes.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/multiple-rpc-attributes.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/multiple-rpc-attributes.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/multiple-rpc-attributes.rs","byte_start":0,"byte_end":19,"line_start":1,"line_end":1,"column_start":1,"column_end":20,"is_primary":true,"text":[{"text":"extern crate serde;","highlight_start":1,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta\ncrate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/multiple-rpc-attributes.rs:1:1\n |\n1 | extern crate serde;\n | ^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta\n crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/multiple-rpc-attributes.rs","byte_start":20,"byte_end":54,"line_start":2,"line_end":2,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/multiple-rpc-attributes.rs:2:1\n |\n2 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Expected only a single rpc attribute per method","code":null,"level":"error","spans":[{"file_name":"tests/ui/multiple-rpc-attributes.rs","byte_start":165,"byte_end":315,"line_start":10,"line_end":13,"column_start":2,"column_end":47,"is_primary":true,"text":[{"text":"\t/// Returns a protocol version","highlight_start":2,"highlight_end":32},{"text":"\t#[rpc(name = \"protocolVersion\")]","highlight_start":1,"highlight_end":34},{"text":"\t#[rpc(name = \"protocolVersionAgain\")]","highlight_start":1,"highlight_end":39},{"text":"\tfn protocol_version(&self) -> Result;","highlight_start":1,"highlight_end":47}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Expected only a single rpc attribute per method\n --> tests/ui/multiple-rpc-attributes.rs:10:2\n |\n10 | / /// Returns a protocol version\n11 | | #[rpc(name = \"protocolVersion\")]\n12 | | #[rpc(name = \"protocolVersionAgain\")]\n13 | | fn protocol_version(&self) -> Result;\n | |_________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-missing-subscription-name.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-missing-subscription-name.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] [INFO] [stdout] error: pubsub attribute should have a subscription name [INFO] [stdout] --> $DIR/attr-missing-subscription-name.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(subscribe, name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: pubsub attribute should have a subscription name [INFO] [stdout] --> $DIR/attr-missing-subscription-name.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Hello subscription [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[pubsub(subscribe, name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-missing-subscription-name.rs:3:1 [INFO] [stdout] + | [INFO] [stdout] +3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-missing-subscription-name.rs:4:1 [INFO] [stdout] + | [INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] + [INFO] [stdout] error: pubsub attribute should have a subscription name [INFO] [stdout] --> $DIR/attr-missing-subscription-name.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Hello subscription [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(subscribe, name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/pubsub/attr-missing-subscription-name.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'pubsub/attr-missing-subscription-name.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/pubsub/attr-missing-subscription-name.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/pubsub/attr-missing-subscription-name.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/pubsub/attr-missing-subscription-name.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/attr-missing-subscription-name.rs:3:1\n |\n3 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/attr-missing-subscription-name.rs:4:1\n |\n4 | extern crate susydev_jsonrpc_pubsub;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"pubsub attribute should have a subscription name","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":164,"byte_end":333,"line_start":10,"line_end":12,"column_start":2,"column_end":79,"is_primary":true,"text":[{"text":"\t/// Hello subscription","highlight_start":2,"highlight_end":24},{"text":"\t#[pubsub(subscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":1,"highlight_end":68},{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);","highlight_start":1,"highlight_end":79}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: pubsub attribute should have a subscription name\n --> tests/ui/pubsub/attr-missing-subscription-name.rs:10:2\n |\n10 | / /// Hello subscription\n11 | | #[pubsub(subscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]\n12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);\n | |_________________________________________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-invalid-name-values.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta [INFO] [stdout] crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-invalid-name-values.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error: Invalid attribute parameter(s): 'Xname'. Expected 'name, returns' [INFO] [stdout] --> $DIR/attr-invalid-name-values.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Returns a protocol version [INFO] [stdout] 11 | | #[rpc(Xname = "protocolVersion")] [INFO] [stdout] 12 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: Invalid attribute parameter(s): 'Xname'. Expected 'name, returns' [INFO] [stdout] --> $DIR/attr-invalid-name-values.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Returns a protocol version [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[rpc(Xname = "protocolVersion")] [INFO] [stdout] 12 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:1:1 [INFO] [stdout] + | [INFO] [stdout] +1 | extern crate serde; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta [INFO] [stdout] + crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:2:1 [INFO] [stdout] + | [INFO] [stdout] +2 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] error: Invalid attribute parameter(s): 'Xname'. Expected 'name, returns' [INFO] [stdout] --> $DIR/attr-invalid-name-values.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Returns a protocol version [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Returns a protocol version [INFO] [stdout] 11 | | #[rpc(Xname = "protocolVersion")] [INFO] [stdout] 12 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/attr-invalid-name-values.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'attr-invalid-name-values.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/attr-invalid-name-values.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/attr-invalid-name-values.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/attr-invalid-name-values.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-name-values.rs","byte_start":0,"byte_end":19,"line_start":1,"line_end":1,"column_start":1,"column_end":20,"is_primary":true,"text":[{"text":"extern crate serde;","highlight_start":1,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta\ncrate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/attr-invalid-name-values.rs:1:1\n |\n1 | extern crate serde;\n | ^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta\n crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-name-values.rs","byte_start":20,"byte_end":54,"line_start":2,"line_end":2,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/attr-invalid-name-values.rs:2:1\n |\n2 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stderr] error: test failed, to rerun pass `--test compiletests` [INFO] [stdout] {"$message_type":"diagnostic","message":"Invalid attribute parameter(s): 'Xname'. Expected 'name, returns'","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-name-values.rs","byte_start":165,"byte_end":277,"line_start":10,"line_end":12,"column_start":2,"column_end":47,"is_primary":true,"text":[{"text":"\t/// Returns a protocol version","highlight_start":2,"highlight_end":32},{"text":"\t#[rpc(Xname = \"protocolVersion\")]","highlight_start":1,"highlight_end":35},{"text":"\tfn protocol_version(&self) -> Result;","highlight_start":1,"highlight_end":47}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Invalid attribute parameter(s): 'Xname'. Expected 'name, returns'\n --> tests/ui/attr-invalid-name-values.rs:10:2\n |\n10 | / /// Returns a protocol version\n11 | | #[rpc(Xname = \"protocolVersion\")]\n12 | | fn protocol_version(&self) -> Result;\n | |_________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] [INFO] [stdout] error: pubsub attribute not annotated with either subscribe or unsubscribe [INFO] [stdout] --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: pubsub attribute not annotated with either subscribe or unsubscribe [INFO] [stdout] --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Hello subscription [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:3:1 [INFO] [stdout] + | [INFO] [stdout] +3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:4:1 [INFO] [stdout] + | [INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] + [INFO] [stdout] error: pubsub attribute not annotated with either subscribe or unsubscribe [INFO] [stdout] --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Hello subscription [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/pubsub/attr-neither-subscribe-or-unsubscribe.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'pubsub/attr-neither-subscribe-or-unsubscribe.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/pubsub/attr-neither-subscribe-or-unsubscribe.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/pubsub/attr-neither-subscribe-or-unsubscribe.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:3:1\n |\n3 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:4:1\n |\n4 | extern crate susydev_jsonrpc_pubsub;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"pubsub attribute not annotated with either subscribe or unsubscribe","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":164,"byte_end":346,"line_start":10,"line_end":12,"column_start":2,"column_end":79,"is_primary":true,"text":[{"text":"\t/// Hello subscription","highlight_start":2,"highlight_end":24},{"text":"\t#[pubsub(subscription = \"hello\", name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":1,"highlight_end":81},{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);","highlight_start":1,"highlight_end":79}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: pubsub attribute not annotated with either subscribe or unsubscribe\n --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:10:2\n |\n10 | / /// Hello subscription\n11 | | #[pubsub(subscription = \"hello\", name = \"hello_subscribe\", alias(\"hello_sub\"))]\n12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);\n | |_________________________________________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-invalid-meta-list-names.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta [INFO] [stdout] crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/attr-invalid-meta-list-names.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error: Invalid attribute parameter(s): 'Xalias'. Expected 'alias' [INFO] [stdout] --> $DIR/attr-invalid-meta-list-names.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Returns a protocol version [INFO] [stdout] 11 | | #[rpc(name = "protocolVersion", Xalias("alias"))] [INFO] [stdout] 12 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: Invalid attribute parameter(s): 'Xalias'. Expected 'alias' [INFO] [stdout] --> $DIR/attr-invalid-meta-list-names.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Returns a protocol version [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[rpc(name = "protocolVersion", Xalias("alias"))] [INFO] [stdout] 12 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:1:1 [INFO] [stdout] + | [INFO] [stdout] +1 | extern crate serde; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta [INFO] [stdout] + crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:2:1 [INFO] [stdout] + | [INFO] [stdout] +2 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] error: Invalid attribute parameter(s): 'Xalias'. Expected 'alias' [INFO] [stdout] --> $DIR/attr-invalid-meta-list-names.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Returns a protocol version [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Returns a protocol version [INFO] [stdout] 11 | | #[rpc(name = "protocolVersion", Xalias("alias"))] [INFO] [stdout] 12 | | fn protocol_version(&self) -> Result; [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/attr-invalid-meta-list-names.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'attr-invalid-meta-list-names.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/attr-invalid-meta-list-names.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/attr-invalid-meta-list-names.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/attr-invalid-meta-list-names.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-list-names.rs","byte_start":0,"byte_end":19,"line_start":1,"line_end":1,"column_start":1,"column_end":20,"is_primary":true,"text":[{"text":"extern crate serde;","highlight_start":1,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta\ncrate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/attr-invalid-meta-list-names.rs:1:1\n |\n1 | extern crate serde;\n | ^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta\n crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-list-names.rs","byte_start":20,"byte_end":54,"line_start":2,"line_end":2,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/attr-invalid-meta-list-names.rs:2:1\n |\n2 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Invalid attribute parameter(s): 'Xalias'. Expected 'alias'","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-list-names.rs","byte_start":165,"byte_end":293,"line_start":10,"line_end":12,"column_start":2,"column_end":47,"is_primary":true,"text":[{"text":"\t/// Returns a protocol version","highlight_start":2,"highlight_end":32},{"text":"\t#[rpc(name = \"protocolVersion\", Xalias(\"alias\"))]","highlight_start":1,"highlight_end":51},{"text":"\tfn protocol_version(&self) -> Result;","highlight_start":1,"highlight_end":47}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Invalid attribute parameter(s): 'Xalias'. Expected 'alias'\n --> tests/ui/attr-invalid-meta-list-names.rs:10:2\n |\n10 | / /// Returns a protocol version\n11 | | #[rpc(name = \"protocolVersion\", Xalias(\"alias\"))]\n12 | | fn protocol_version(&self) -> Result;\n | |_________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/missing-unsubscribe.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/missing-unsubscribe.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] [INFO] [stdout] error: subscription 'hello'. Can't find unsubscribe method, expected a method annotated with `unsubscribe` e.g. `#[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]` [INFO] [stdout] --> $DIR/missing-unsubscribe.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: subscription 'hello'. Can't find unsubscribe method, expected a method annotated with `unsubscribe` e.g. `#[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]` [INFO] [stdout] --> $DIR/missing-unsubscribe.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Hello subscription [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/missing-unsubscribe.rs:3:1 [INFO] [stdout] + | [INFO] [stdout] +3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/missing-unsubscribe.rs:4:1 [INFO] [stdout] + | [INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] + [INFO] [stdout] error: subscription 'hello'. Can't find unsubscribe method, expected a method annotated with `unsubscribe` e.g. `#[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]` [INFO] [stdout] --> $DIR/missing-unsubscribe.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Hello subscription [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Hello subscription [INFO] [stdout] 11 | | #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", alias("hello_sub"))] [INFO] [stdout] 12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/pubsub/missing-unsubscribe.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'pubsub/missing-unsubscribe.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/pubsub/missing-unsubscribe.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/pubsub/missing-unsubscribe.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/pubsub/missing-unsubscribe.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/missing-unsubscribe.rs:3:1\n |\n3 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/missing-unsubscribe.rs:4:1\n |\n4 | extern crate susydev_jsonrpc_pubsub;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"subscription 'hello'. Can't find unsubscribe method, expected a method annotated with `unsubscribe` e.g. `#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]`","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":164,"byte_end":357,"line_start":10,"line_end":12,"column_start":2,"column_end":79,"is_primary":true,"text":[{"text":"\t/// Hello subscription","highlight_start":2,"highlight_end":24},{"text":"\t#[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":1,"highlight_end":92},{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);","highlight_start":1,"highlight_end":79}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: subscription 'hello'. Can't find unsubscribe method, expected a method annotated with `unsubscribe` e.g. `#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]`\n --> tests/ui/pubsub/missing-unsubscribe.rs:10:2\n |\n10 | / /// Hello subscription\n11 | | #[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]\n12 | | fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber, _: u64);\n | |_________________________________________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/too-many-params.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta [INFO] [stdout] crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/too-many-params.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error: Maximum supported number of params is 16 [INFO] [stdout] --> $DIR/too-many-params.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Has too many params [INFO] [stdout] 11 | | #[rpc(name = "tooManyParams")] [INFO] [stdout] 12 | | fn to_many_params( [INFO] [stdout] 13 | | &self, [INFO] [stdout] 14 | | a: u64, b: u64, c: u64, d: u64, e: u64, f: u64, g: u64, h: u64, i: u64, j: u64, [INFO] [stdout] 15 | | k: u64, l: u64, m: u64, n: u64, o: u64, p: u64, q: u64, [INFO] [stdout] 16 | | ) -> Result; [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: Maximum supported number of params is 16 [INFO] [stdout] --> $DIR/too-many-params.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | /// Has too many params [INFO] [stdout] | _____^ [INFO] [stdout] 11 | | #[rpc(name = "tooManyParams")] [INFO] [stdout] 12 | | fn to_many_params( [INFO] [stdout] 13 | | &self, [INFO] [stdout] 14 | | a: u64, b: u64, c: u64, d: u64, e: u64, f: u64, g: u64, h: u64, i: u64, j: u64, [INFO] [stdout] 15 | | k: u64, l: u64, m: u64, n: u64, o: u64, p: u64, q: u64, [INFO] [stdout] 16 | | ) -> Result; [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/too-many-params.rs:1:1 [INFO] [stdout] + | [INFO] [stdout] +1 | extern crate serde; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta [INFO] [stdout] + crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/too-many-params.rs:2:1 [INFO] [stdout] + | [INFO] [stdout] +2 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] error: Maximum supported number of params is 16 [INFO] [stdout] --> $DIR/too-many-params.rs:10:2 [INFO] [stdout] | [INFO] [stdout] -10 | /// Has too many params [INFO] [stdout] - | _____^ [INFO] [stdout] +10 | / /// Has too many params [INFO] [stdout] 11 | | #[rpc(name = "tooManyParams")] [INFO] [stdout] 12 | | fn to_many_params( [INFO] [stdout] 13 | | &self, [INFO] [stdout] 14 | | a: u64, b: u64, c: u64, d: u64, e: u64, f: u64, g: u64, h: u64, i: u64, j: u64, [INFO] [stdout] 15 | | k: u64, l: u64, m: u64, n: u64, o: u64, p: u64, q: u64, [INFO] [stdout] 16 | | ) -> Result; [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/too-many-params.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'too-many-params.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/too-many-params.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/too-many-params.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/too-many-params.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/too-many-params.rs","byte_start":0,"byte_end":19,"line_start":1,"line_end":1,"column_start":1,"column_end":20,"is_primary":true,"text":[{"text":"extern crate serde;","highlight_start":1,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta\ncrate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `serde` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/too-many-params.rs:1:1\n |\n1 | extern crate serde;\n | ^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rmeta\n crate `serde`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libserde-a2903530fb704c6f.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/too-many-params.rs","byte_start":20,"byte_end":54,"line_start":2,"line_end":2,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/too-many-params.rs:2:1\n |\n2 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Maximum supported number of params is 16","code":null,"level":"error","spans":[{"file_name":"tests/ui/too-many-params.rs","byte_start":165,"byte_end":432,"line_start":10,"line_end":16,"column_start":2,"column_end":25,"is_primary":true,"text":[{"text":"\t/// Has too many params","highlight_start":2,"highlight_end":25},{"text":"\t#[rpc(name = \"tooManyParams\")]","highlight_start":1,"highlight_end":32},{"text":"\tfn to_many_params(","highlight_start":1,"highlight_end":20},{"text":" &self,","highlight_start":1,"highlight_end":15},{"text":" a: u64, b: u64, c: u64, d: u64, e: u64, f: u64, g: u64, h: u64, i: u64, j: u64,","highlight_start":1,"highlight_end":88},{"text":" k: u64, l: u64, m: u64, n: u64, o: u64, p: u64, q: u64,","highlight_start":1,"highlight_end":64},{"text":" ) -> Result;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: Maximum supported number of params is 16\n --> tests/ui/too-many-params.rs:10:2\n |\n10 | / /// Has too many params\n11 | | #[rpc(name = \"tooManyParams\")]\n12 | | fn to_many_params(\n13 | | &self,\n14 | | a: u64, b: u64, c: u64, d: u64, e: u64, f: u64, g: u64, h: u64, i: u64, j: u64,\n15 | | k: u64, l: u64, m: u64, n: u64, o: u64, p: u64, q: u64,\n16 | | ) -> Result;\n | |________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] normalized stderr: [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/missing-subscribe.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] [INFO] [stdout] error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] --> $DIR/missing-subscribe.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] [INFO] [stdout] error: subscription 'hello'. Can't find subscribe method, expected a method annotated with `subscribe` e.g. `#[pubsub(subscription = "hello", subscribe, name = "hello_subscribe")]` [INFO] [stdout] --> $DIR/missing-subscribe.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | / /// Unsubscribe from hello subscription. [INFO] [stdout] 13 | | #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")] [INFO] [stdout] 14 | | fn unsubscribe(&self, _: Option, _: SubscriptionId) -> Result; [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] expected stderr: [INFO] [stdout] error: subscription 'hello'. Can't find subscribe method, expected a method annotated with `subscribe` e.g. `#[pubsub(subscription = "hello", subscribe, name = "hello_subscribe")]` [INFO] [stdout] --> $DIR/missing-subscribe.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | /// Unsubscribe from hello subscription. [INFO] [stdout] | _____^ [INFO] [stdout] 13 | | #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")] [INFO] [stdout] 14 | | fn unsubscribe(&self, _: Option, _: SubscriptionId) -> Result; [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/missing-subscribe.rs:3:1 [INFO] [stdout] + | [INFO] [stdout] +3 | extern crate susydev_jsonrpc_core; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib [INFO] [stdout] + [INFO] [stdout] +error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl [INFO] [stdout] + --> $DIR/missing-subscribe.rs:4:1 [INFO] [stdout] + | [INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub; [INFO] [stdout] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] + = note: the following crate versions were found: [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta [INFO] [stdout] + crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib [INFO] [stdout] + [INFO] [stdout] error: subscription 'hello'. Can't find subscribe method, expected a method annotated with `subscribe` e.g. `#[pubsub(subscription = "hello", subscribe, name = "hello_subscribe")]` [INFO] [stdout] --> $DIR/missing-subscribe.rs:12:2 [INFO] [stdout] | [INFO] [stdout] -12 | /// Unsubscribe from hello subscription. [INFO] [stdout] - | _____^ [INFO] [stdout] +12 | / /// Unsubscribe from hello subscription. [INFO] [stdout] 13 | | #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")] [INFO] [stdout] 14 | | fn unsubscribe(&self, _: Option, _: SubscriptionId) -> Result; [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] +For more information about this error, try `rustc --explain E0461`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/pubsub/missing-subscribe.stderr [INFO] [stdout] To update references, run this command from build directory: [INFO] [stdout] tests/ui/update-references.sh '/tmp' 'pubsub/missing-subscribe.rs' [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/pubsub/missing-subscribe.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/pubsub/missing-subscribe.stage-id" "-L" "../target/debug/" "-L" "../target/debug/deps/" "-L" "/tmp/pubsub/missing-subscribe.stage-id.aux" "-A" "unused" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\ncrate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_core` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/missing-subscribe.rs:3:1\n |\n3 | extern crate susydev_jsonrpc_core;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rmeta\n crate `susydev_jsonrpc_core`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_core-41c1bc3424fd00cc.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl","code":{"code":"E0461","explanation":"Couldn't find crate `..` with expected target triple `..`.\n\nExample of erroneous code:\n\n`a.rs`\n```ignore (cannot-link-with-other-tests)\n#![crate_type = \"lib\"]\n\nfn foo() {}\n```\n\n`main.rs`\n```ignore (cannot-link-with-other-tests)\nextern crate a;\n\nfn main() {\n a::foo();\n}\n```\n\n`a.rs` is then compiled with `--target powerpc-unknown-linux-gnu` and `b.rs`\nwith `--target x86_64-unknown-linux-gnu`. `a.rs` is compiled into a binary\nformat incompatible with `b.rs`; PowerPC and x86 are totally different\narchitectures. This issue also extends to any difference in target triples, as\n`std` is operating-system specific.\n\nThis error can be fixed by:\n * Using [Cargo](../cargo/index.html), the Rust package manager, automatically\n fixing this issue.\n * Recompiling either crate so that they target a consistent target triple.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following crate versions were found:\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\ncrate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0461]: couldn't find crate `susydev_jsonrpc_pubsub` with expected target triple x86_64-unknown-linux-musl\n --> tests/ui/pubsub/missing-subscribe.rs:4:1\n |\n4 | extern crate susydev_jsonrpc_pubsub;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: the following crate versions were found:\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rmeta\n crate `susydev_jsonrpc_pubsub`, target triple x86_64-unknown-linux-gnu: ../target/debug/deps/libsusydev_jsonrpc_pubsub-1e7c523a5a53f6bd.rlib\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"subscription 'hello'. Can't find subscribe method, expected a method annotated with `subscribe` e.g. `#[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\")]`","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":209,"byte_end":411,"line_start":12,"line_end":14,"column_start":2,"column_end":86,"is_primary":true,"text":[{"text":"\t/// Unsubscribe from hello subscription.","highlight_start":2,"highlight_end":42},{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":1,"highlight_end":76},{"text":"\tfn unsubscribe(&self, _: Option, _: SubscriptionId) -> Result;","highlight_start":1,"highlight_end":86}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: subscription 'hello'. Can't find subscribe method, expected a method annotated with `subscribe` e.g. `#[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\")]`\n --> tests/ui/pubsub/missing-subscribe.rs:12:2\n |\n12 | / /// Unsubscribe from hello subscription.\n13 | | #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n14 | | fn unsubscribe(&self, _: Option, _: SubscriptionId) -> Result;\n | |________________________________________________________________________________________^\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0461`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0461`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'compile_test' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.3.26/src/lib.rs:101:22: [INFO] [stdout] Some tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x707683ff1e32 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x707683ff1e32 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x707683ff1e32 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x707683ff1e32 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x70768402fea3 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x70768402fea3 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x707683fee613 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x707683fee613 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x707683ff1c82 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x707683ff3f8c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x707683ff3de2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x707683ae0034 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x707683ae0034 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x707683ff49f3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x707683ff49f3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x707683ff47fc - std::panicking::begin_panic::{{closure}}::h3ce7fe5f3d6361b4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:770:9 [INFO] [stdout] 16: 0x707683ff2329 - std::sys::backtrace::__rust_end_short_backtrace::h0bc33d2a8e0bcf29 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x707683aa53a0 - std::panicking::begin_panic::h7531254884c52765 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:769:5 [INFO] [stdout] 18: 0x707683aeebd2 - compiletest_rs::run_tests::hae647c3a9e949f11 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.3.26/src/lib.rs:101:22 [INFO] [stdout] 19: 0x707683aa7d4a - compiletests::run_mode::h93f479c0a20bbedb [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletests.rs:18:2 [INFO] [stdout] 20: 0x707683aa7dc2 - compiletests::compile_test::h904424f37cb09a6c [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletests.rs:23:2 [INFO] [stdout] 21: 0x707683aa7d97 - compiletests::compile_test::{{closure}}::h8fd91ba9a432fa8b [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletests.rs:22:18 [INFO] [stdout] 22: 0x707683aa7676 - core::ops::function::FnOnce::call_once::h160dc4601faa4608 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x707683ae572b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x707683ae572b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 25: 0x707683ae499e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 26: 0x707683ae499e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x707683ae499e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x707683ae499e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x707683ae499e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x707683ae499e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 31: 0x707683ae499e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 32: 0x707683aa9824 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 33: 0x707683aa9824 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x707683aad01a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x707683aad01a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x707683aad01a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 37: 0x707683aad01a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 38: 0x707683aad01a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x707683aad01a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x707683aad01a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x707683ff7527 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 42: 0x707683ff7527 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x707683ff7527 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] compile_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f6f4187360a57f57a873f899a5827a1778e332c9220f4725a90777966605018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f6f4187360a57f57a873f899a5827a1778e332c9220f4725a90777966605018", kill_on_drop: false }` [INFO] [stdout] 1f6f4187360a57f57a873f899a5827a1778e332c9220f4725a90777966605018