[INFO] fetching crate susydev-jsonrpc-derive 11.0.0...
[INFO] testing susydev-jsonrpc-derive-11.0.0 against 1.76.0 for beta-1.77-1
[INFO] extracting crate susydev-jsonrpc-derive 11.0.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate susydev-jsonrpc-derive 11.0.0 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded susydev-jsonrpc-core v11.0.0
[INFO] [stderr]   Downloaded susydev-jsonrpc-client v11.0.0
[INFO] [stderr]   Downloaded rustfix v0.4.6
[INFO] [stderr]   Downloaded compiletest_rs v0.3.26
[INFO] [stderr]   Downloaded tester v0.6.0
[INFO] [stderr]   Downloaded susydev-jsonrpc-server-utils v11.0.0
[INFO] [stderr]   Downloaded susydev-jsonrpc-tcp-server v11.0.0
[INFO] [stderr]   Downloaded susydev-jsonrpc-pubsub v11.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 514933d6b8b7f10edb300ef4032e03dd7aafb8109fb8f3aa0833d1e799411092
[INFO] running `Command { std: "docker" "start" "-a" "514933d6b8b7f10edb300ef4032e03dd7aafb8109fb8f3aa0833d1e799411092", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "514933d6b8b7f10edb300ef4032e03dd7aafb8109fb8f3aa0833d1e799411092", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "514933d6b8b7f10edb300ef4032e03dd7aafb8109fb8f3aa0833d1e799411092", kill_on_drop: false }`
[INFO] [stdout] 514933d6b8b7f10edb300ef4032e03dd7aafb8109fb8f3aa0833d1e799411092
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 149640824d94b4510f4df0aed9c40c7c91f7ca4132351bb8be69cf6bed63924a
[INFO] running `Command { std: "docker" "start" "-a" "149640824d94b4510f4df0aed9c40c7c91f7ca4132351bb8be69cf6bed63924a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling serde_derive v1.0.196
[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 [unoptimized + debuginfo] target(s) in 10.35s
[INFO] running `Command { std: "docker" "inspect" "149640824d94b4510f4df0aed9c40c7c91f7ca4132351bb8be69cf6bed63924a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "149640824d94b4510f4df0aed9c40c7c91f7ca4132351bb8be69cf6bed63924a", kill_on_drop: false }`
[INFO] [stdout] 149640824d94b4510f4df0aed9c40c7c91f7ca4132351bb8be69cf6bed63924a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a471f82b7b2698a67a1f0533f82fda7a7b399c050ce8a1afe4bc8bf05f0939d
[INFO] running `Command { std: "docker" "start" "-a" "4a471f82b7b2698a67a1f0533f82fda7a7b399c050ce8a1afe4bc8bf05f0939d", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling owning_ref v0.4.1
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling bstr v1.9.0
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling term v0.6.1
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling compiletest_rs v0.3.26
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling tokio-service v0.1.0
[INFO] [stderr]    Compiling filetime v0.2.23
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling tester v0.6.0
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling susydev-jsonrpc-core v11.0.0
[INFO] [stderr]    Compiling susydev-jsonrpc-pubsub v11.0.0
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling globset v0.4.14
[INFO] [stderr]    Compiling regex v1.10.3
[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 [unoptimized + debuginfo] target(s) in 15.38s
[INFO] running `Command { std: "docker" "inspect" "4a471f82b7b2698a67a1f0533f82fda7a7b399c050ce8a1afe4bc8bf05f0939d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a471f82b7b2698a67a1f0533f82fda7a7b399c050ce8a1afe4bc8bf05f0939d", kill_on_drop: false }`
[INFO] [stdout] 4a471f82b7b2698a67a1f0533f82fda7a7b399c050ce8a1afe4bc8bf05f0939d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a297520766d05a785f324c6b93480fc585bdd784108c5e9b98ba5cdac0f41367
[INFO] running `Command { std: "docker" "start" "-a" "a297520766d05a785f324c6b93480fc585bdd784108c5e9b98ba5cdac0f41367", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/susydev_jsonrpc_derive-fbba3b68b383e70c)
[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/debug/deps/compiletests-a9b9a72098edef13)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test [ui] ui/attr-missing-rpc-name.rs ... FAILED
[INFO] [stdout] test [ui] ui/attr-invalid-name-values.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-invalid-meta-words.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-invalid-meta-list-names.rs ... FAILED
[INFO] [stdout] test [ui] ui/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/attr-invalid-meta-list-names.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/missing-unsubscribe.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-invalid-name-values.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-neither-subscribe-or-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] test [ui] ui/pubsub/attr-missing-subscription-name.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[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib
[INFO] [stdout]   = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-missing-rpc-name.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-missing-rpc-name.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/attr-missing-rpc-name.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[rpc]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0464`.
[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<String>;
[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: rpc attribute should have a name e.g. `name = "method_name"`
[INFO] [stdout] -  --> $DIR/attr-missing-rpc-name.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib
[INFO] [stdout] +  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib
[INFO] [stdout] +
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-missing-rpc-name.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-missing-rpc-name.rs:8:3
[INFO] [stdout] +  |
[INFO] [stdout] +8 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/attr-missing-rpc-name.rs:11:4
[INFO] [stdout]     |
[INFO] [stdout] -10 |       /// Returns a protocol version
[INFO] [stdout] -   |  _____^
[INFO] [stdout] -11 | |     #[rpc]
[INFO] [stdout] -12 | |     fn protocol_version(&self) -> Result<String>;
[INFO] [stdout] -   | |_________________________________________________^
[INFO] [stdout] +11 |     #[rpc]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: aborting due to 4 previous errors
[INFO] [stdout]  
[INFO] [stdout] +For more information about this error, try `rustc --explain E0464`.
[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-gnu" "--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":"multiple candidates for `rlib` dependency `serde` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\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":"candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `rlib` dependency `serde` found\n --> tests/ui/attr-missing-rpc-name.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib\n  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-missing-rpc-name.rs","byte_start":68,"byte_end":104,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/attr-missing-rpc-name.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-missing-rpc-name.rs","byte_start":143,"byte_end":146,"line_start":8,"line_end":8,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/attr-missing-rpc-name.rs:8:3\n  |\n8 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-missing-rpc-name.rs","byte_start":199,"byte_end":202,"line_start":11,"line_end":11,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/attr-missing-rpc-name.rs:11:4\n   |\n11 |     #[rpc]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib
[INFO] [stdout]   = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-name-values.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[rpc(Xname = "protocolVersion")]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0464`.
[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<String>;
[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: Invalid attribute parameter(s): 'Xname'. Expected 'name, returns'
[INFO] [stdout] -  --> $DIR/attr-invalid-name-values.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib
[INFO] [stdout] +  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib
[INFO] [stdout] +
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:8:3
[INFO] [stdout] +  |
[INFO] [stdout] +8 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-name-values.rs:11:4
[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<String>;
[INFO] [stdout] -   | |_________________________________________________^
[INFO] [stdout] +11 |     #[rpc(Xname = "protocolVersion")]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: aborting due to 4 previous errors
[INFO] [stdout]  
[INFO] [stdout] +For more information about this error, try `rustc --explain E0464`.
[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-gnu" "--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":"multiple candidates for `rlib` dependency `serde` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\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":"candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `rlib` dependency `serde` found\n --> tests/ui/attr-invalid-name-values.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib\n  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-name-values.rs","byte_start":68,"byte_end":104,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/attr-invalid-name-values.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-name-values.rs","byte_start":143,"byte_end":146,"line_start":8,"line_end":8,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/attr-invalid-name-values.rs:8:3\n  |\n8 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-name-values.rs","byte_start":199,"byte_end":202,"line_start":11,"line_end":11,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc(Xname = \"protocolVersion\")]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/attr-invalid-name-values.rs:11:4\n   |\n11 |     #[rpc(Xname = \"protocolVersion\")]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-words.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(subscription = "hello", Xsubscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-words.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/attr-invalid-meta-words.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-words.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/attr-invalid-meta-words.rs:16:73
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<String>, _: 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: Invalid attribute parameter(s): 'Xsubscribe'. Expected 'subscribe, unsubscribe'
[INFO] [stdout] -  --> $DIR/attr-invalid-meta-words.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-words.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(subscription = "hello", Xsubscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-words.rs:15:4
[INFO] [stdout] +   |
[INFO] [stdout] +15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-words.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-words.rs:16:54
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-words.rs:16:73
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 7 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/attr-invalid-meta-words.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/attr-invalid-meta-words.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", Xsubscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-invalid-meta-words.rs:11:4\n   |\n11 |     #[pubsub(subscription = \"hello\", Xsubscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":405,"byte_end":411,"line_start":15,"line_end":15,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-invalid-meta-words.rs:15:4\n   |\n15 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":323,"byte_end":328,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/attr-invalid-meta-words.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":531,"byte_end":545,"line_start":16,"line_end":16,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/attr-invalid-meta-words.rs:16:54\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":550,"byte_end":556,"line_start":16,"line_end":16,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":557,"byte_end":561,"line_start":16,"line_end":16,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":561,"byte_end":561,"line_start":16,"line_end":16,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/attr-invalid-meta-words.rs:16:73\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-list-names.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", Xalias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-list-names.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/attr-invalid-meta-list-names.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-list-names.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/attr-invalid-meta-list-names.rs:16:73
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<String>, _: 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: Invalid attribute parameter(s): 'Xalias'. Expected 'alias'
[INFO] [stdout] -  --> $DIR/attr-invalid-meta-list-names.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-list-names.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", Xalias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-list-names.rs:15:4
[INFO] [stdout] +   |
[INFO] [stdout] +15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-list-names.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-list-names.rs:16:54
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-list-names.rs:16:73
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 7 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\", Xalias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:11:4\n   |\n11 |     #[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\", Xalias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":405,"byte_end":411,"line_start":15,"line_end":15,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:15:4\n   |\n15 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":323,"byte_end":328,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":531,"byte_end":545,"line_start":16,"line_end":16,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:16:54\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":550,"byte_end":556,"line_start":16,"line_end":16,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":557,"byte_end":561,"line_start":16,"line_end":16,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":561,"byte_end":561,"line_start":16,"line_end":16,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:16:73\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib
[INFO] [stdout]   = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-words.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[rpc(name = "protocolVersion", Xmeta)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0464`.
[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<String>;
[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: Invalid attribute parameter(s): 'Xmeta'. Expected 'meta'
[INFO] [stdout] -  --> $DIR/attr-invalid-meta-words.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib
[INFO] [stdout] +  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib
[INFO] [stdout] +
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:8:3
[INFO] [stdout] +  |
[INFO] [stdout] +8 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-words.rs:11:4
[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<String>;
[INFO] [stdout] -   | |_________________________________________________^
[INFO] [stdout] +11 |     #[rpc(name = "protocolVersion", Xmeta)]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: aborting due to 4 previous errors
[INFO] [stdout]  
[INFO] [stdout] +For more information about this error, try `rustc --explain E0464`.
[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-gnu" "--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":"multiple candidates for `rlib` dependency `serde` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\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":"candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `rlib` dependency `serde` found\n --> tests/ui/attr-invalid-meta-words.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib\n  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-words.rs","byte_start":68,"byte_end":104,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/attr-invalid-meta-words.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-words.rs","byte_start":143,"byte_end":146,"line_start":8,"line_end":8,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/attr-invalid-meta-words.rs:8:3\n  |\n8 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-words.rs","byte_start":199,"byte_end":202,"line_start":11,"line_end":11,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc(name = \"protocolVersion\", Xmeta)]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/attr-invalid-meta-words.rs:11:4\n   |\n11 |     #[rpc(name = \"protocolVersion\", Xmeta)]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-both-subscribe-and-unsubscribe.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(subscription = "hello", subscribe, unsubscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-both-subscribe-and-unsubscribe.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/attr-both-subscribe-and-unsubscribe.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/attr-both-subscribe-and-unsubscribe.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/attr-both-subscribe-and-unsubscribe.rs:16:73
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<String>, _: 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: pubsub attribute annotated with both subscribe and unsubscribe
[INFO] [stdout] -  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-both-subscribe-and-unsubscribe.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-both-subscribe-and-unsubscribe.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(subscription = "hello", subscribe, unsubscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:15:4
[INFO] [stdout] +   |
[INFO] [stdout] +15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:16:54
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:16:73
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 7 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", subscribe, unsubscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:11:4\n   |\n11 |     #[pubsub(subscription = \"hello\", subscribe, unsubscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":417,"byte_end":423,"line_start":15,"line_end":15,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:15:4\n   |\n15 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":335,"byte_end":340,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":543,"byte_end":557,"line_start":16,"line_end":16,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:16:54\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":562,"byte_end":568,"line_start":16,"line_end":16,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":569,"byte_end":573,"line_start":16,"line_end":16,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":573,"byte_end":573,"line_start":16,"line_end":16,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:16:73\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `serde` found
[INFO] [stdout]  --> $DIR/multiple-rpc-attributes.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate serde;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib
[INFO] [stdout]   = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/multiple-rpc-attributes.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/multiple-rpc-attributes.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/multiple-rpc-attributes.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[rpc(name = "protocolVersion")]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/multiple-rpc-attributes.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[rpc(name = "protocolVersionAgain")]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0464`.
[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<String>;
[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: Expected only a single rpc attribute per method
[INFO] [stdout] -  --> $DIR/multiple-rpc-attributes.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `rlib` dependency `serde` found
[INFO] [stdout] + --> $DIR/multiple-rpc-attributes.rs:1:1
[INFO] [stdout] +  |
[INFO] [stdout] +1 | extern crate serde;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib
[INFO] [stdout] +  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib
[INFO] [stdout] +
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/multiple-rpc-attributes.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/multiple-rpc-attributes.rs:8:3
[INFO] [stdout] +  |
[INFO] [stdout] +8 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/multiple-rpc-attributes.rs:11:4
[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<String>;
[INFO] [stdout] -   | |_________________________________________________^
[INFO] [stdout] +11 |     #[rpc(name = "protocolVersion")]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/multiple-rpc-attributes.rs:12:4
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     #[rpc(name = "protocolVersionAgain")]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] +error: aborting due to 5 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0464`.
[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-gnu" "--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":"multiple candidates for `rlib` dependency `serde` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\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":"candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `rlib` dependency `serde` found\n --> tests/ui/multiple-rpc-attributes.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib\n  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/multiple-rpc-attributes.rs","byte_start":68,"byte_end":104,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/multiple-rpc-attributes.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/multiple-rpc-attributes.rs","byte_start":143,"byte_end":146,"line_start":8,"line_end":8,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/multiple-rpc-attributes.rs:8:3\n  |\n8 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/multiple-rpc-attributes.rs","byte_start":199,"byte_end":202,"line_start":11,"line_end":11,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc(name = \"protocolVersion\")]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/multiple-rpc-attributes.rs:11:4\n   |\n11 |     #[rpc(name = \"protocolVersion\")]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/multiple-rpc-attributes.rs","byte_start":233,"byte_end":236,"line_start":12,"line_end":12,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc(name = \"protocolVersionAgain\")]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/multiple-rpc-attributes.rs:12:4\n   |\n12 |     #[rpc(name = \"protocolVersionAgain\")]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib
[INFO] [stdout]   = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-list-names.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[rpc(name = "protocolVersion", Xalias("alias"))]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0464`.
[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<String>;
[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: Invalid attribute parameter(s): 'Xalias'. Expected 'alias'
[INFO] [stdout] -  --> $DIR/attr-invalid-meta-list-names.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib
[INFO] [stdout] +  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib
[INFO] [stdout] +
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:8:3
[INFO] [stdout] +  |
[INFO] [stdout] +8 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-list-names.rs:11:4
[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<String>;
[INFO] [stdout] -   | |_________________________________________________^
[INFO] [stdout] +11 |     #[rpc(name = "protocolVersion", Xalias("alias"))]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: aborting due to 4 previous errors
[INFO] [stdout]  
[INFO] [stdout] +For more information about this error, try `rustc --explain E0464`.
[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-gnu" "--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":"multiple candidates for `rlib` dependency `serde` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\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":"candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `rlib` dependency `serde` found\n --> tests/ui/attr-invalid-meta-list-names.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib\n  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-list-names.rs","byte_start":68,"byte_end":104,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/attr-invalid-meta-list-names.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-list-names.rs","byte_start":143,"byte_end":146,"line_start":8,"line_end":8,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/attr-invalid-meta-list-names.rs:8:3\n  |\n8 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-list-names.rs","byte_start":199,"byte_end":202,"line_start":11,"line_end":11,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc(name = \"protocolVersion\", Xalias(\"alias\"))]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/attr-invalid-meta-list-names.rs:11:4\n   |\n11 |     #[rpc(name = \"protocolVersion\", Xalias(\"alias\"))]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/missing-unsubscribe.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/missing-unsubscribe.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/missing-unsubscribe.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/missing-unsubscribe.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[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<String>, _: 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: 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] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/missing-unsubscribe.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/missing-unsubscribe.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/missing-unsubscribe.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/missing-unsubscribe.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout]  
[INFO] [stdout] +error: aborting due to 4 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0433`.
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/missing-unsubscribe.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/missing-unsubscribe.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/missing-unsubscribe.rs:11:4\n   |\n11 |     #[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":322,"byte_end":327,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/missing-unsubscribe.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0433`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0433`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-name-values.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(Xsubscription = "hello", subscribe, Xname = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-name-values.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/attr-invalid-name-values.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-name-values.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/attr-invalid-name-values.rs:16:73
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<String>, _: 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: Invalid attribute parameter(s): 'Xsubscription, Xname'. Expected 'subscription, name'
[INFO] [stdout] -  --> $DIR/attr-invalid-name-values.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-name-values.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(Xsubscription = "hello", subscribe, Xname = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-name-values.rs:15:4
[INFO] [stdout] +   |
[INFO] [stdout] +15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/attr-invalid-name-values.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-name-values.rs:16:54
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/attr-invalid-name-values.rs:16:73
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 7 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/attr-invalid-name-values.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/attr-invalid-name-values.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(Xsubscription = \"hello\", subscribe, Xname = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-invalid-name-values.rs:11:4\n   |\n11 |     #[pubsub(Xsubscription = \"hello\", subscribe, Xname = \"hello_subscribe\", alias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":406,"byte_end":412,"line_start":15,"line_end":15,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-invalid-name-values.rs:15:4\n   |\n15 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":324,"byte_end":329,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/attr-invalid-name-values.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":532,"byte_end":546,"line_start":16,"line_end":16,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/attr-invalid-name-values.rs:16:54\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":551,"byte_end":557,"line_start":16,"line_end":16,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":558,"byte_end":562,"line_start":16,"line_end":16,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":562,"byte_end":562,"line_start":16,"line_end":16,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/attr-invalid-name-values.rs:16:73\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(subscription = "hello", name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:16:73
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<String>, _: 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: pubsub attribute not annotated with either subscribe or unsubscribe
[INFO] [stdout] -  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(subscription = "hello", name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:15:4
[INFO] [stdout] +   |
[INFO] [stdout] +15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:16:54
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:16:73
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 7 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:11:4\n   |\n11 |     #[pubsub(subscription = \"hello\", name = \"hello_subscribe\", alias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":393,"byte_end":399,"line_start":15,"line_end":15,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:15:4\n   |\n15 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":311,"byte_end":316,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":519,"byte_end":533,"line_start":16,"line_end":16,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:16:54\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":538,"byte_end":544,"line_start":16,"line_end":16,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":545,"byte_end":549,"line_start":16,"line_end":16,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":549,"byte_end":549,"line_start":16,"line_end":16,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:16:73\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `serde` found
[INFO] [stdout]  --> $DIR/too-many-params.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate serde;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib
[INFO] [stdout]   = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/too-many-params.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/too-many-params.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/too-many-params.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[rpc(name = "tooManyParams")]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0464`.
[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<String>;
[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: Maximum supported number of params is 16
[INFO] [stdout] -  --> $DIR/too-many-params.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `rlib` dependency `serde` found
[INFO] [stdout] + --> $DIR/too-many-params.rs:1:1
[INFO] [stdout] +  |
[INFO] [stdout] +1 | extern crate serde;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib
[INFO] [stdout] +  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib
[INFO] [stdout] +
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/too-many-params.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/too-many-params.rs:8:3
[INFO] [stdout] +  |
[INFO] [stdout] +8 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/too-many-params.rs:11:4
[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<String>;
[INFO] [stdout] -   | |________________________^
[INFO] [stdout] +11 |     #[rpc(name = "tooManyParams")]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: aborting due to 4 previous errors
[INFO] [stdout]  
[INFO] [stdout] +For more information about this error, try `rustc --explain E0464`.
[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-gnu" "--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":"multiple candidates for `rlib` dependency `serde` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\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":"candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `rlib` dependency `serde` found\n --> tests/ui/too-many-params.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-37887a785ec91ff7.rlib\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-a53743534a749853.rlib\n  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-c525d5d83d415a67.rlib\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/too-many-params.rs","byte_start":68,"byte_end":104,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/too-many-params.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/too-many-params.rs","byte_start":143,"byte_end":146,"line_start":8,"line_end":8,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/too-many-params.rs:8:3\n  |\n8 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/too-many-params.rs","byte_start":192,"byte_end":195,"line_start":11,"line_end":11,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc(name = \"tooManyParams\")]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/too-many-params.rs:11:4\n   |\n11 |     #[rpc(name = \"tooManyParams\")]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/missing-subscribe.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/missing-subscribe.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/missing-subscribe.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/missing-subscribe.rs:14:54
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/missing-subscribe.rs:14:73
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[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: 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] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/missing-subscribe.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/missing-subscribe.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/missing-subscribe.rs:13:4
[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<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] -   | |________________________________________________________________________________________^
[INFO] [stdout] +13 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/missing-subscribe.rs:14:54
[INFO] [stdout] +   |
[INFO] [stdout] +14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout]  
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/missing-subscribe.rs:14:73
[INFO] [stdout] +   |
[INFO] [stdout] +14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 5 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout]  
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-missing-subscription-name.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-missing-subscription-name.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-missing-subscription-name.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(subscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-missing-subscription-name.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/attr-missing-subscription-name.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/attr-missing-subscription-name.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/attr-missing-subscription-name.rs:16:73
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<String>, _: 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] 
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/missing-subscribe.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/missing-subscribe.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":253,"byte_end":259,"line_start":13,"line_end":13,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/missing-subscribe.rs:13:4\n   |\n13 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":379,"byte_end":393,"line_start":14,"line_end":14,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/missing-subscribe.rs:14:54\n   |\n14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":398,"byte_end":404,"line_start":14,"line_end":14,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":405,"byte_end":409,"line_start":14,"line_end":14,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":409,"byte_end":409,"line_start":14,"line_end":14,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/missing-subscribe.rs:14:73\n   |\n14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] -error: pubsub attribute should have a subscription name
[INFO] [stdout] -  --> $DIR/attr-missing-subscription-name.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-missing-subscription-name.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-missing-subscription-name.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-missing-subscription-name.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(subscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-missing-subscription-name.rs:15:4
[INFO] [stdout] +   |
[INFO] [stdout] +15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/attr-missing-subscription-name.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/attr-missing-subscription-name.rs:16:54
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/attr-missing-subscription-name.rs:16:73
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 7 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/attr-missing-subscription-name.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-2c46fccac43a5c10.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/attr-missing-subscription-name.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-missing-subscription-name.rs:11:4\n   |\n11 |     #[pubsub(subscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":380,"byte_end":386,"line_start":15,"line_end":15,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-missing-subscription-name.rs:15:4\n   |\n15 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":298,"byte_end":303,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/attr-missing-subscription-name.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":506,"byte_end":520,"line_start":16,"line_end":16,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/attr-missing-subscription-name.rs:16:54\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":525,"byte_end":531,"line_start":16,"line_end":16,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":532,"byte_end":536,"line_start":16,"line_end":16,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":536,"byte_end":536,"line_start":16,"line_end":16,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/attr-missing-subscription-name.rs:16:73\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] thread 'compile_test' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.3.26/src/lib.rs:101:22:
[INFO] [stdout] Some tests failed
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5572a8782916 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x5572a8782916 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5572a8782916 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x5572a8782916 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x5572a87aeac0 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x5572a87aeac0 - core::fmt::write::h3ed6aeaa977c8e45
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x5572a877f86f - std::io::Write::write_fmt::h1299aa7741865f2b
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x5572a87826f4 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5572a87826f4 - std::sys_common::backtrace::print::h85035a511aafe7a8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5572a8784b37 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
[INFO] [stdout]   10:     0x5572a878481d - std::panicking::default_hook::hf5fcb0f213fe709a
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x5572a822d6b7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h60265c2dfa87ee34
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x5572a822d6b7 - test::test_main::{{closure}}::h77865bd3127078c6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x5572a8785156 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbc5ccf4eb663e1e5
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x5572a8785156 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x5572a83f58b8 - std::panicking::begin_panic::{{closure}}::h5ad1887bcc82c359
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:687:9
[INFO] [stdout]   16:     0x5572a83f57fa - std::sys_common::backtrace::__rust_end_short_backtrace::hb69967403d0370d6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x5572a83f5837 - std::panicking::begin_panic::h82d38e31ebecf558
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:686:12
[INFO] [stdout]   18:     0x5572a826f52d - compiletest_rs::run_tests::hd1d9d14c3f28aea5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.3.26/src/lib.rs:101:22
[INFO] [stdout]   19:     0x5572a81f8cc5 - compiletests::run_mode::hdccc903acceeae56
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletests.rs:18:2
[INFO] [stdout]   20:     0x5572a81f8d32 - compiletests::compile_test::hf7a48b6564e75ae8
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletests.rs:23:2
[INFO] [stdout]   21:     0x5572a81f8d07 - compiletests::compile_test::{{closure}}::h9aaf1fb3e04d10d3
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletests.rs:22:18
[INFO] [stdout]   22:     0x5572a81f8676 - core::ops::function::FnOnce::call_once::hf30b2e958e0b946e
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5572a8232f8f - core::ops::function::FnOnce::call_once::h8dc6907944022cf6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5572a8232f8f - test::__rust_begin_short_backtrace::haae1a87433f1efb3
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:627:18
[INFO] [stdout]   25:     0x5572a8231d11 - test::run_test_in_process::{{closure}}::h8c7decfa7c14e152
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:650:60
[INFO] [stdout]   26:     0x5572a8231d11 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h19e6ff056d9d21e9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x5572a8231d11 - std::panicking::try::do_call::h89c848fcaa37c035
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
[INFO] [stdout]   28:     0x5572a8231d11 - std::panicking::try::h57ab3dc74e2839b8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
[INFO] [stdout]   29:     0x5572a8231d11 - std::panic::catch_unwind::hfb6a1b1abc120fb9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
[INFO] [stdout]   30:     0x5572a8231d11 - test::run_test_in_process::h5ae2f9875edd562d
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:650:27
[INFO] [stdout]   31:     0x5572a8231d11 - test::run_test::{{closure}}::h35d7300d8928a067
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:573:43
[INFO] [stdout]   32:     0x5572a81f9046 - test::run_test::{{closure}}::h7525ced405d23d1b
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:601:41
[INFO] [stdout]   33:     0x5572a81f9046 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4e7db78ce05afad8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   34:     0x5572a81fe0a7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcfbcb64f1a1b3482
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   35:     0x5572a81fe0a7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9d89c5c4108bd689
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x5572a81fe0a7 - std::panicking::try::do_call::h8a4869bc94ec50c9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
[INFO] [stdout]   37:     0x5572a81fe0a7 - std::panicking::try::h9a576f20ff81ac30
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
[INFO] [stdout]   38:     0x5572a81fe0a7 - std::panic::catch_unwind::hbcb4e3f860ef9830
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
[INFO] [stdout]   39:     0x5572a81fe0a7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h93c79a6be1505948
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   40:     0x5572a81fe0a7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h426d96740c81bdaf
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x5572a878b6f5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h12de4fc57affb195
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   42:     0x5572a878b6f5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3c619f45059d5cf1
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   43:     0x5572a878b6f5 - std::sys::unix::thread::Thread::new::thread_start::hbac657605e4b7389
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   44:     0x7f146835fac3 - <unknown>
[INFO] [stdout]   45:     0x7f14683f0bf4 - __clone
[INFO] [stdout]   46:                0x0 - <unknown>
[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.35s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test compiletests`
[INFO] running `Command { std: "docker" "inspect" "a297520766d05a785f324c6b93480fc585bdd784108c5e9b98ba5cdac0f41367", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a297520766d05a785f324c6b93480fc585bdd784108c5e9b98ba5cdac0f41367", kill_on_drop: false }`
[INFO] [stdout] a297520766d05a785f324c6b93480fc585bdd784108c5e9b98ba5cdac0f41367
[INFO] testing susydev-jsonrpc-derive-11.0.0 against beta-2024-02-10 for beta-1.77-1
[INFO] extracting crate susydev-jsonrpc-derive 11.0.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate susydev-jsonrpc-derive 11.0.0 on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6fb08f844e7ed5beee9c0147968f19fa1e9a3959438da066b449cce1897dd1da
[INFO] running `Command { std: "docker" "start" "-a" "6fb08f844e7ed5beee9c0147968f19fa1e9a3959438da066b449cce1897dd1da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6fb08f844e7ed5beee9c0147968f19fa1e9a3959438da066b449cce1897dd1da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fb08f844e7ed5beee9c0147968f19fa1e9a3959438da066b449cce1897dd1da", kill_on_drop: false }`
[INFO] [stdout] 6fb08f844e7ed5beee9c0147968f19fa1e9a3959438da066b449cce1897dd1da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8fca1c1565e60f6dc49f3023608f4a6867a5df290ea6baef3fc5ca7277d3c1c2
[INFO] running `Command { std: "docker" "start" "-a" "8fca1c1565e60f6dc49f3023608f4a6867a5df290ea6baef3fc5ca7277d3c1c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling serde_derive v1.0.196
[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 [unoptimized + debuginfo] target(s) in 10.09s
[INFO] running `Command { std: "docker" "inspect" "8fca1c1565e60f6dc49f3023608f4a6867a5df290ea6baef3fc5ca7277d3c1c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fca1c1565e60f6dc49f3023608f4a6867a5df290ea6baef3fc5ca7277d3c1c2", kill_on_drop: false }`
[INFO] [stdout] 8fca1c1565e60f6dc49f3023608f4a6867a5df290ea6baef3fc5ca7277d3c1c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7a3e9416c5fa0162eecfbc73e792263edadba9371d21114c28cd98ab3b3227a1
[INFO] running `Command { std: "docker" "start" "-a" "7a3e9416c5fa0162eecfbc73e792263edadba9371d21114c28cd98ab3b3227a1", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling owning_ref v0.4.1
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling bstr v1.9.0
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling term v0.6.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling compiletest_rs v0.3.26
[INFO] [stderr]    Compiling filetime v0.2.23
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling tester v0.6.0
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling tokio-service v0.1.0
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling susydev-jsonrpc-core v11.0.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling susydev-jsonrpc-pubsub v11.0.0
[INFO] [stderr]    Compiling rustfix v0.4.6
[INFO] [stderr]    Compiling susydev-jsonrpc-client v11.0.0
[INFO] [stderr]    Compiling globset v0.4.14
[INFO] [stderr]    Compiling regex v1.10.3
[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 [unoptimized + debuginfo] target(s) in 12.64s
[INFO] running `Command { std: "docker" "inspect" "7a3e9416c5fa0162eecfbc73e792263edadba9371d21114c28cd98ab3b3227a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a3e9416c5fa0162eecfbc73e792263edadba9371d21114c28cd98ab3b3227a1", kill_on_drop: false }`
[INFO] [stdout] 7a3e9416c5fa0162eecfbc73e792263edadba9371d21114c28cd98ab3b3227a1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6184c18e6f60ee154060c138876e33b83686daf658144ddab1d59092d2fac921
[INFO] running `Command { std: "docker" "start" "-a" "6184c18e6f60ee154060c138876e33b83686daf658144ddab1d59092d2fac921", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.62s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/susydev_jsonrpc_derive-c379ce67c17946d1)
[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/debug/deps/compiletests-9add82550e4f1c50)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test [ui] ui/too-many-params.rs ... FAILED
[INFO] [stdout] test [ui] ui/attr-invalid-meta-words.rs ... FAILED
[INFO] [stdout] test [ui] ui/attr-invalid-name-values.rs ... FAILED
[INFO] [stdout] test [ui] ui/multiple-rpc-attributes.rs ... FAILED
[INFO] [stdout] test [ui] ui/attr-invalid-meta-list-names.rs ... FAILED
[INFO] [stdout] test [ui] ui/attr-missing-rpc-name.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/missing-unsubscribe.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/pubsub/attr-invalid-name-values.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-missing-subscription-name.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/missing-subscribe.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-invalid-meta-list-names.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-neither-subscribe-or-unsubscribe.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[E0464]: multiple candidates for `rlib` dependency `serde` found
[INFO] [stdout]  --> $DIR/too-many-params.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate serde;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib
[INFO] [stdout]   = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/too-many-params.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/too-many-params.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/too-many-params.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[rpc(name = "tooManyParams")]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0464`.
[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<String>;
[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: Maximum supported number of params is 16
[INFO] [stdout] -  --> $DIR/too-many-params.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `rlib` dependency `serde` found
[INFO] [stdout] + --> $DIR/too-many-params.rs:1:1
[INFO] [stdout] +  |
[INFO] [stdout] +1 | extern crate serde;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib
[INFO] [stdout] +  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib
[INFO] [stdout] +
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/too-many-params.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/too-many-params.rs:8:3
[INFO] [stdout] +  |
[INFO] [stdout] +8 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/too-many-params.rs:11:4
[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<String>;
[INFO] [stdout] -   | |________________________^
[INFO] [stdout] +11 |     #[rpc(name = "tooManyParams")]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: aborting due to 4 previous errors
[INFO] [stdout]  
[INFO] [stdout] +For more information about this error, try `rustc --explain E0464`.
[INFO] [stdout]  
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib
[INFO] [stdout]   = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-words.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[rpc(name = "protocolVersion", Xmeta)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0464`.
[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<String>;
[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] 
[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-gnu" "--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":"multiple candidates for `rlib` dependency `serde` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\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":"candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `rlib` dependency `serde` found\n --> tests/ui/too-many-params.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib\n  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/too-many-params.rs","byte_start":68,"byte_end":104,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/too-many-params.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/too-many-params.rs","byte_start":143,"byte_end":146,"line_start":8,"line_end":8,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/too-many-params.rs:8:3\n  |\n8 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/too-many-params.rs","byte_start":192,"byte_end":195,"line_start":11,"line_end":11,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc(name = \"tooManyParams\")]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/too-many-params.rs:11:4\n   |\n11 |     #[rpc(name = \"tooManyParams\")]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] -error: Invalid attribute parameter(s): 'Xmeta'. Expected 'meta'
[INFO] [stdout] -  --> $DIR/attr-invalid-meta-words.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib
[INFO] [stdout] +  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib
[INFO] [stdout] +
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:8:3
[INFO] [stdout] +  |
[INFO] [stdout] +8 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-words.rs:11:4
[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<String>;
[INFO] [stdout] -   | |_________________________________________________^
[INFO] [stdout] +11 |     #[rpc(name = "protocolVersion", Xmeta)]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: aborting due to 4 previous errors
[INFO] [stdout]  
[INFO] [stdout] +For more information about this error, try `rustc --explain E0464`.
[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-gnu" "--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":"multiple candidates for `rlib` dependency `serde` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\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":"candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `rlib` dependency `serde` found\n --> tests/ui/attr-invalid-meta-words.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib\n  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-words.rs","byte_start":68,"byte_end":104,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/attr-invalid-meta-words.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-words.rs","byte_start":143,"byte_end":146,"line_start":8,"line_end":8,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/attr-invalid-meta-words.rs:8:3\n  |\n8 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-words.rs","byte_start":199,"byte_end":202,"line_start":11,"line_end":11,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc(name = \"protocolVersion\", Xmeta)]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/attr-invalid-meta-words.rs:11:4\n   |\n11 |     #[rpc(name = \"protocolVersion\", Xmeta)]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib
[INFO] [stdout]   = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-name-values.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[rpc(Xname = "protocolVersion")]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0464`.
[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<String>;
[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: Invalid attribute parameter(s): 'Xname'. Expected 'name, returns'
[INFO] [stdout] -  --> $DIR/attr-invalid-name-values.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib
[INFO] [stdout] +  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib
[INFO] [stdout] +
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:8:3
[INFO] [stdout] +  |
[INFO] [stdout] +8 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-name-values.rs:11:4
[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<String>;
[INFO] [stdout] -   | |_________________________________________________^
[INFO] [stdout] +11 |     #[rpc(Xname = "protocolVersion")]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: aborting due to 4 previous errors
[INFO] [stdout]  
[INFO] [stdout] +For more information about this error, try `rustc --explain E0464`.
[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-gnu" "--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":"multiple candidates for `rlib` dependency `serde` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\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":"candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `rlib` dependency `serde` found\n --> tests/ui/attr-invalid-name-values.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib\n  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-name-values.rs","byte_start":68,"byte_end":104,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/attr-invalid-name-values.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-name-values.rs","byte_start":143,"byte_end":146,"line_start":8,"line_end":8,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/attr-invalid-name-values.rs:8:3\n  |\n8 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-name-values.rs","byte_start":199,"byte_end":202,"line_start":11,"line_end":11,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc(Xname = \"protocolVersion\")]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/attr-invalid-name-values.rs:11:4\n   |\n11 |     #[rpc(Xname = \"protocolVersion\")]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `serde` found
[INFO] [stdout]  --> $DIR/multiple-rpc-attributes.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate serde;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib
[INFO] [stdout]   = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/multiple-rpc-attributes.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/multiple-rpc-attributes.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/multiple-rpc-attributes.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[rpc(name = "protocolVersion")]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/multiple-rpc-attributes.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[rpc(name = "protocolVersionAgain")]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0464`.
[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<String>;
[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: Expected only a single rpc attribute per method
[INFO] [stdout] -  --> $DIR/multiple-rpc-attributes.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `rlib` dependency `serde` found
[INFO] [stdout] + --> $DIR/multiple-rpc-attributes.rs:1:1
[INFO] [stdout] +  |
[INFO] [stdout] +1 | extern crate serde;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib
[INFO] [stdout] +  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib
[INFO] [stdout] +
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/multiple-rpc-attributes.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/multiple-rpc-attributes.rs:8:3
[INFO] [stdout] +  |
[INFO] [stdout] +8 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/multiple-rpc-attributes.rs:11:4
[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<String>;
[INFO] [stdout] -   | |_________________________________________________^
[INFO] [stdout] +11 |     #[rpc(name = "protocolVersion")]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/multiple-rpc-attributes.rs:12:4
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     #[rpc(name = "protocolVersionAgain")]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] +error: aborting due to 5 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0464`.
[INFO] [stdout]  
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib
[INFO] [stdout]   = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-list-names.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[rpc(name = "protocolVersion", Xalias("alias"))]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0464`.
[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<String>;
[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] 
[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-gnu" "--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":"multiple candidates for `rlib` dependency `serde` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\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":"candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `rlib` dependency `serde` found\n --> tests/ui/multiple-rpc-attributes.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib\n  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/multiple-rpc-attributes.rs","byte_start":68,"byte_end":104,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/multiple-rpc-attributes.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/multiple-rpc-attributes.rs","byte_start":143,"byte_end":146,"line_start":8,"line_end":8,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/multiple-rpc-attributes.rs:8:3\n  |\n8 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/multiple-rpc-attributes.rs","byte_start":199,"byte_end":202,"line_start":11,"line_end":11,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc(name = \"protocolVersion\")]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/multiple-rpc-attributes.rs:11:4\n   |\n11 |     #[rpc(name = \"protocolVersion\")]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/multiple-rpc-attributes.rs","byte_start":233,"byte_end":236,"line_start":12,"line_end":12,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc(name = \"protocolVersionAgain\")]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/multiple-rpc-attributes.rs:12:4\n   |\n12 |     #[rpc(name = \"protocolVersionAgain\")]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib
[INFO] [stdout]   = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-missing-rpc-name.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-missing-rpc-name.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]   --> $DIR/attr-missing-rpc-name.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[rpc]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0464`.
[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<String>;
[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: Invalid attribute parameter(s): 'Xalias'. Expected 'alias'
[INFO] [stdout] -  --> $DIR/attr-invalid-meta-list-names.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib
[INFO] [stdout] +  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib
[INFO] [stdout] +
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:8:3
[INFO] [stdout] +  |
[INFO] [stdout] +8 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-list-names.rs:11:4
[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<String>;
[INFO] [stdout] -   | |_________________________________________________^
[INFO] [stdout] +11 |     #[rpc(name = "protocolVersion", Xalias("alias"))]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: aborting due to 4 previous errors
[INFO] [stdout]  
[INFO] [stdout] +For more information about this error, try `rustc --explain E0464`.
[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] +error[E0464]: multiple candidates for `rlib` dependency `serde` found
[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: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib
[INFO] [stdout] +  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib
[INFO] [stdout] +
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-missing-rpc-name.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-missing-rpc-name.rs:8:3
[INFO] [stdout] +  |
[INFO] [stdout] +8 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] +  --> $DIR/attr-missing-rpc-name.rs:11:4
[INFO] [stdout]     |
[INFO] [stdout] -10 |       /// Returns a protocol version
[INFO] [stdout] -   |  _____^
[INFO] [stdout] -11 | |     #[rpc]
[INFO] [stdout] -12 | |     fn protocol_version(&self) -> Result<String>;
[INFO] [stdout] -   | |_________________________________________________^
[INFO] [stdout] +11 |     #[rpc]
[INFO] [stdout] +   |       ^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: aborting due to 4 previous errors
[INFO] [stdout]  
[INFO] [stdout] +For more information about this error, try `rustc --explain E0464`.
[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-gnu" "--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":"multiple candidates for `rlib` dependency `serde` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\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":"candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `rlib` dependency `serde` found\n --> tests/ui/attr-invalid-meta-list-names.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib\n  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-list-names.rs","byte_start":68,"byte_end":104,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/attr-invalid-meta-list-names.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-list-names.rs","byte_start":143,"byte_end":146,"line_start":8,"line_end":8,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/attr-invalid-meta-list-names.rs:8:3\n  |\n8 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-list-names.rs","byte_start":199,"byte_end":202,"line_start":11,"line_end":11,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc(name = \"protocolVersion\", Xalias(\"alias\"))]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/attr-invalid-meta-list-names.rs:11:4\n   |\n11 |     #[rpc(name = \"protocolVersion\", Xalias(\"alias\"))]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[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-gnu" "--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":"multiple candidates for `rlib` dependency `serde` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\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":"candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `rlib` dependency `serde` found\n --> tests/ui/attr-missing-rpc-name.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libserde-1b1fece931a4dbd6.rlib\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libserde-1e938ffda9c86346.rlib\n  = note: candidate #3: /opt/rustwide/target/debug/deps/libserde-433959c27bbfcba8.rlib\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-missing-rpc-name.rs","byte_start":68,"byte_end":104,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/attr-missing-rpc-name.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-missing-rpc-name.rs","byte_start":143,"byte_end":146,"line_start":8,"line_end":8,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/attr-missing-rpc-name.rs:8:3\n  |\n8 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/attr-missing-rpc-name.rs","byte_start":199,"byte_end":202,"line_start":11,"line_end":11,"column_start":4,"column_end":7,"is_primary":true,"text":[{"text":"\t#[rpc]","highlight_start":4,"highlight_end":7}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n  --> tests/ui/attr-missing-rpc-name.rs:11:4\n   |\n11 |     #[rpc]\n   |       ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/missing-unsubscribe.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/missing-unsubscribe.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/missing-unsubscribe.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/missing-unsubscribe.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[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<String>, _: 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: 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] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/missing-unsubscribe.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/missing-unsubscribe.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/missing-unsubscribe.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/missing-unsubscribe.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout]  
[INFO] [stdout] +error: aborting due to 4 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0433`.
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/missing-unsubscribe.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/missing-unsubscribe.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/missing-unsubscribe.rs:11:4\n   |\n11 |     #[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":322,"byte_end":327,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/missing-unsubscribe.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0433`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0433`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-words.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(subscription = "hello", Xsubscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-words.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/attr-invalid-meta-words.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-words.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/attr-invalid-meta-words.rs:16:73
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<String>, _: 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[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-both-subscribe-and-unsubscribe.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(subscription = "hello", subscribe, unsubscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-both-subscribe-and-unsubscribe.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/attr-both-subscribe-and-unsubscribe.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/attr-both-subscribe-and-unsubscribe.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/attr-both-subscribe-and-unsubscribe.rs:16:73
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<String>, _: 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: Invalid attribute parameter(s): 'Xsubscribe'. Expected 'subscribe, unsubscribe'
[INFO] [stdout] -  --> $DIR/attr-invalid-meta-words.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-words.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(subscription = "hello", Xsubscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-words.rs:15:4
[INFO] [stdout] +   |
[INFO] [stdout] +15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-words.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-words.rs:16:54
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-words.rs:16:73
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 7 previous errors
[INFO] [stdout] +
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-name-values.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(Xsubscription = "hello", subscribe, Xname = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-name-values.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/attr-invalid-name-values.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-name-values.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/attr-invalid-name-values.rs:16:73
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[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<String>, _: u64);
[INFO] [stdout]    | |_________________________________________________________________________________^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] diff of stderr:
[INFO] [stdout] 
[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] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-both-subscribe-and-unsubscribe.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-both-subscribe-and-unsubscribe.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(subscription = "hello", subscribe, unsubscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:15:4
[INFO] [stdout] +   |
[INFO] [stdout] +15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] 
[INFO] [stdout] The actual stderr differed from the expected stderr.
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] Actual stderr saved to /tmp/pubsub/attr-invalid-meta-words.stderr
[INFO] [stdout] +  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:16:54
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] To update references, run this command from build directory:
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:16:73
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] tests/ui/update-references.sh '/tmp' 'pubsub/attr-invalid-meta-words.rs'
[INFO] [stdout] +error: aborting due to 7 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout]  
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/attr-invalid-meta-words.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/attr-invalid-meta-words.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", Xsubscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-invalid-meta-words.rs:11:4\n   |\n11 |     #[pubsub(subscription = \"hello\", Xsubscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":405,"byte_end":411,"line_start":15,"line_end":15,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-invalid-meta-words.rs:15:4\n   |\n15 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":323,"byte_end":328,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/attr-invalid-meta-words.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":531,"byte_end":545,"line_start":16,"line_end":16,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/attr-invalid-meta-words.rs:16:54\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":550,"byte_end":556,"line_start":16,"line_end":16,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":557,"byte_end":561,"line_start":16,"line_end":16,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":561,"byte_end":561,"line_start":16,"line_end":16,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/attr-invalid-meta-words.rs:16:73\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", subscribe, unsubscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:11:4\n   |\n11 |     #[pubsub(subscription = \"hello\", subscribe, unsubscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":417,"byte_end":423,"line_start":15,"line_end":15,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:15:4\n   |\n15 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":335,"byte_end":340,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":543,"byte_end":557,"line_start":16,"line_end":16,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:16:54\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":562,"byte_end":568,"line_start":16,"line_end":16,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":569,"byte_end":573,"line_start":16,"line_end":16,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":573,"byte_end":573,"line_start":16,"line_end":16,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:16:73\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[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] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-name-values.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(Xsubscription = "hello", subscribe, Xname = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-name-values.rs:15:4
[INFO] [stdout] +   |
[INFO] [stdout] +15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/attr-invalid-name-values.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-name-values.rs:16:54
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/attr-invalid-name-values.rs:16:73
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 7 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/attr-invalid-name-values.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/attr-invalid-name-values.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(Xsubscription = \"hello\", subscribe, Xname = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-invalid-name-values.rs:11:4\n   |\n11 |     #[pubsub(Xsubscription = \"hello\", subscribe, Xname = \"hello_subscribe\", alias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":406,"byte_end":412,"line_start":15,"line_end":15,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-invalid-name-values.rs:15:4\n   |\n15 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":324,"byte_end":329,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/attr-invalid-name-values.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":532,"byte_end":546,"line_start":16,"line_end":16,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/attr-invalid-name-values.rs:16:54\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":551,"byte_end":557,"line_start":16,"line_end":16,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":558,"byte_end":562,"line_start":16,"line_end":16,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":562,"byte_end":562,"line_start":16,"line_end":16,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/attr-invalid-name-values.rs:16:73\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-missing-subscription-name.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-missing-subscription-name.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-missing-subscription-name.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(subscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-missing-subscription-name.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/attr-missing-subscription-name.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/attr-missing-subscription-name.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/attr-missing-subscription-name.rs:16:73
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<String>, _: 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: pubsub attribute should have a subscription name
[INFO] [stdout] -  --> $DIR/attr-missing-subscription-name.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-missing-subscription-name.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-missing-subscription-name.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-missing-subscription-name.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(subscribe, name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-missing-subscription-name.rs:15:4
[INFO] [stdout] +   |
[INFO] [stdout] +15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/attr-missing-subscription-name.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/attr-missing-subscription-name.rs:16:54
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/attr-missing-subscription-name.rs:16:73
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 7 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/attr-missing-subscription-name.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/attr-missing-subscription-name.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-missing-subscription-name.rs:11:4\n   |\n11 |     #[pubsub(subscribe, name = \"hello_subscribe\", alias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":380,"byte_end":386,"line_start":15,"line_end":15,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-missing-subscription-name.rs:15:4\n   |\n15 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":298,"byte_end":303,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/attr-missing-subscription-name.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":506,"byte_end":520,"line_start":16,"line_end":16,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/attr-missing-subscription-name.rs:16:54\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":525,"byte_end":531,"line_start":16,"line_end":16,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":532,"byte_end":536,"line_start":16,"line_end":16,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":536,"byte_end":536,"line_start":16,"line_end":16,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/attr-missing-subscription-name.rs:16:73\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/missing-subscribe.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/missing-subscribe.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/missing-subscribe.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/missing-subscribe.rs:14:54
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/missing-subscribe.rs:14:73
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[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: 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] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/missing-subscribe.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/missing-subscribe.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/missing-subscribe.rs:13:4
[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<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] -   | |________________________________________________________________________________________^
[INFO] [stdout] +13 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/missing-subscribe.rs:14:54
[INFO] [stdout] +   |
[INFO] [stdout] +14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout]  
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/missing-subscribe.rs:14:73
[INFO] [stdout] +   |
[INFO] [stdout] +14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 5 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout]  
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-list-names.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", Xalias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-list-names.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/attr-invalid-meta-list-names.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/attr-invalid-meta-list-names.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stderr] error: test failed, to rerun pass `--test compiletests`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/attr-invalid-meta-list-names.rs:16:73
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<String>, _: 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] 
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/missing-subscribe.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/missing-subscribe.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":253,"byte_end":259,"line_start":13,"line_end":13,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/missing-subscribe.rs:13:4\n   |\n13 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":379,"byte_end":393,"line_start":14,"line_end":14,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/missing-subscribe.rs:14:54\n   |\n14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":398,"byte_end":404,"line_start":14,"line_end":14,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":405,"byte_end":409,"line_start":14,"line_end":14,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":409,"byte_end":409,"line_start":14,"line_end":14,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/missing-subscribe.rs:14:73\n   |\n14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n14 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[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] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-list-names.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(subscription = "hello", subscribe, name = "hello_subscribe", Xalias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-list-names.rs:15:4
[INFO] [stdout] +   |
[INFO] [stdout] +15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-list-names.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-list-names.rs:16:54
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/attr-invalid-meta-list-names.rs:16:73
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 7 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\", Xalias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:11:4\n   |\n11 |     #[pubsub(subscription = \"hello\", subscribe, name = \"hello_subscribe\", Xalias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":405,"byte_end":411,"line_start":15,"line_end":15,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:15:4\n   |\n15 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":323,"byte_end":328,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":531,"byte_end":545,"line_start":16,"line_end":16,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:16:54\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":550,"byte_end":556,"line_start":16,"line_end":16,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":557,"byte_end":561,"line_start":16,"line_end":16,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":561,"byte_end":561,"line_start":16,"line_end":16,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:16:73\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout]  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout]   = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rpc` in this scope
[INFO] [stdout]  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[rpc]
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pubsub(subscription = "hello", name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pubsub` in this scope
[INFO] [stdout]   --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout]   --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout]    |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout]   --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:16:73
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout]    |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[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<String>, _: 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: pubsub attribute not annotated with either subscribe or unsubscribe
[INFO] [stdout] -  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:10:2
[INFO] [stdout] +error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found
[INFO] [stdout] + --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] +  |
[INFO] [stdout] +  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so
[INFO] [stdout] +  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `rpc` in this scope
[INFO] [stdout] + --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:6:3
[INFO] [stdout] +  |
[INFO] [stdout] +6 | #[rpc]
[INFO] [stdout] +  |   ^^^
[INFO] [stdout] +
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:11:4
[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<String>, _: u64);
[INFO] [stdout] -   | |_________________________________________________________________________________^
[INFO] [stdout] +11 |     #[pubsub(subscription = "hello", name = "hello_subscribe", alias("hello_sub"))]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error: cannot find attribute `pubsub` in this scope
[INFO] [stdout] +  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:15:4
[INFO] [stdout] +   |
[INFO] [stdout] +15 |     #[pubsub(subscription = "hello", unsubscribe, name = "hello_unsubscribe")]
[INFO] [stdout] +   |       ^^^^^^
[INFO] [stdout]  
[INFO] [stdout] +error[E0433]: failed to resolve: use of undeclared crate or module `typed`
[INFO] [stdout] +  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:12:44
[INFO] [stdout] +   |
[INFO] [stdout] +12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);
[INFO] [stdout] +   |                                               ^^^^^ use of undeclared crate or module `typed`
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this module
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::typed;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0412]: cannot find type `SubscriptionId` in this scope
[INFO] [stdout] +  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:16:54
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] +   |
[INFO] [stdout] +help: consider importing this enum
[INFO] [stdout] +   |
[INFO] [stdout] +1  + use susydev_jsonrpc_pubsub::SubscriptionId;
[INFO] [stdout] +   |
[INFO] [stdout] +
[INFO] [stdout] +error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout] +  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:16:73
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
[INFO] [stdout] +   |                                                                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout] +   |                                                                            |
[INFO] [stdout] +   |                                                                            expected 2 generic arguments
[INFO] [stdout] +   |
[INFO] [stdout] +help: add missing generic argument
[INFO] [stdout] +   |
[INFO] [stdout] +16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;
[INFO] [stdout] +   |                                                                                       +++
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 7 previous errors
[INFO] [stdout] +
[INFO] [stdout] +Some errors have detailed explanations: E0107, E0412, E0433, E0464.
[INFO] [stdout] +For more information about an error, try `rustc --explain E0107`.
[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-gnu" "--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":"multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":13,"byte_end":49,"line_start":2,"line_end":2,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_derive;","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `susydev_jsonrpc_derive` found\n --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libsusydev_jsonrpc_derive-23f059db233321d5.so\n  = note: candidate #2: /opt/rustwide/target/debug/libsusydev_jsonrpc_derive.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `rpc` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":125,"byte_end":128,"line_start":6,"line_end":6,"column_start":3,"column_end":6,"is_primary":true,"text":[{"text":"#[rpc]","highlight_start":3,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `rpc` in this scope\n --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:6:3\n  |\n6 | #[rpc]\n  |   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":190,"byte_end":196,"line_start":11,"line_end":11,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", name = \"hello_subscribe\", alias(\"hello_sub\"))]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:11:4\n   |\n11 |     #[pubsub(subscription = \"hello\", name = \"hello_subscribe\", alias(\"hello_sub\"))]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `pubsub` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":393,"byte_end":399,"line_start":15,"line_end":15,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"\t#[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `pubsub` in this scope\n  --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:15:4\n   |\n15 |     #[pubsub(subscription = \"hello\", unsubscribe, name = \"hello_unsubscribe\")]\n   |       ^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: use of undeclared crate or module `typed`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared crate or module `ferris_wheel`\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":311,"byte_end":316,"line_start":12,"line_end":12,"column_start":44,"column_end":49,"is_primary":true,"text":[{"text":"\tfn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);","highlight_start":44,"highlight_end":49}],"label":"use of undeclared crate or module `typed`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this module","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::typed;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0433]: failed to resolve: use of undeclared crate or module `typed`\n  --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:12:44\n   |\n12 |     fn subscribe(&self, _: Self::Metadata, _: typed::Subscriber<String>, _: u64);\n   |                                               ^^^^^ use of undeclared crate or module `typed`\n   |\nhelp: consider importing this module\n   |\n1  + use susydev_jsonrpc_pubsub::typed;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find type `SubscriptionId` in this scope","code":{"code":"E0412","explanation":"A used type name is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n    fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n    type N;\n\n    fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n    fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n    // either\n    use super::File;\n    // or\n    // use std::fs::File;\n    fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":519,"byte_end":533,"line_start":16,"line_end":16,"column_start":54,"column_end":68,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":54,"highlight_end":68}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this enum","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use susydev_jsonrpc_pubsub::SubscriptionId;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0412]: cannot find type `SubscriptionId` in this scope\n  --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:16:54\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                         ^^^^^^^^^^^^^^ not found in this scope\n   |\nhelp: consider importing this enum\n   |\n1  + use susydev_jsonrpc_pubsub::SubscriptionId;\n   |\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"enum takes 2 generic arguments but 1 generic argument was supplied","code":{"code":"E0107","explanation":"An incorrect number of generic arguments was provided.\n\nErroneous code example:\n\n```compile_fail,E0107\nstruct Foo<T> { x: T }\n\nstruct Bar { x: Foo }             // error: wrong number of type arguments:\n                                  //        expected 1, found 0\nstruct Baz<S, T> { x: Foo<S, T> } // error: wrong number of type arguments:\n                                  //        expected 1, found 2\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool>(x);                 // error: wrong number of type arguments:\n                                    //        expected 2, found 1\n    foo::<bool, i32, i32>(x, 2, 4); // error: wrong number of type arguments:\n                                    //        expected 2, found 3\n    f::<'static>();                 // error: wrong number of lifetime arguments\n                                    //        expected 0, found 1\n}\n```\n\nWhen using/declaring an item with generic arguments, you must provide the exact\nsame number:\n\n```\nstruct Foo<T> { x: T }\n\nstruct Bar<T> { x: Foo<T> }               // ok!\nstruct Baz<S, T> { x: Foo<S>, y: Foo<T> } // ok!\n\nfn foo<T, U>(x: T, y: U) {}\nfn f() {}\n\nfn main() {\n    let x: bool = true;\n    foo::<bool, u32>(x, 12);              // ok!\n    f();                                  // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":538,"byte_end":544,"line_start":16,"line_end":16,"column_start":73,"column_end":79,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":73,"highlight_end":79}],"label":"expected 2 generic arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":545,"byte_end":549,"line_start":16,"line_end":16,"column_start":80,"column_end":84,"is_primary":false,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":80,"highlight_end":84}],"label":"supplied 1 generic argument","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"add missing generic argument","code":null,"level":"help","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":549,"byte_end":549,"line_start":16,"line_end":16,"column_start":84,"column_end":84,"is_primary":true,"text":[{"text":"\tfn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;","highlight_start":84,"highlight_end":84}],"label":null,"suggested_replacement":", E","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied\n  --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:16:73\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;\n   |                                                                            ^^^^^^ ---- supplied 1 generic argument\n   |                                                                            |\n   |                                                                            expected 2 generic arguments\n   |\nhelp: add missing generic argument\n   |\n16 |     fn unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool, E>;\n   |                                                                                       +++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0107, E0412, E0433, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0107`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0107`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] thread 'compile_test' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.3.26/src/lib.rs:101:22:
[INFO] [stdout] Some tests failed
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5576bdb1f1b6 - std::backtrace_rs::backtrace::libunwind::trace::h140b6deb6a45c671
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x5576bdb1f1b6 - std::backtrace_rs::backtrace::trace_unsynchronized::h8450d7e4e9219aed
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5576bdb1f1b6 - std::sys_common::backtrace::_print_fmt::hbd28e5e6c6fc3a3f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x5576bdb1f1b6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hb058f285768cf98e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x5576bdb4b1c0 - core::fmt::rt::Argument::fmt::h87dec7a95127da24
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x5576bdb4b1c0 - core::fmt::write::h873f89a91a4832db
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x5576bdb1bccf - std::io::Write::write_fmt::h90f651e9e694a4bb
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/io/mod.rs:1846:15
[INFO] [stdout]    7:     0x5576bdb1ef94 - std::sys_common::backtrace::_print::h7719d1529d9a9e13
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5576bdb1ef94 - std::sys_common::backtrace::print::haa3afbd0e7947108
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5576bdb213d7 - std::panicking::default_hook::{{closure}}::h10e3de2ec0eaff22
[INFO] [stdout]   10:     0x5576bdb210bd - std::panicking::default_hook::hbdc1b1b7fe073dab
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x5576bd5c7de7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h20f7887d7cd0a330
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x5576bd5c7de7 - test::test_main::{{closure}}::hc125a615957b5cb1
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x5576bdb219f6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h8c19e0590f8443c4
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x5576bdb219f6 - std::panicking::rust_panic_with_hook::hb81692602460473d
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:785:13
[INFO] [stdout]   15:     0x5576bdad4de8 - std::panicking::begin_panic::{{closure}}::he3db5619fde8597f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:689:9
[INFO] [stdout]   16:     0x5576bdad85ea - std::sys_common::backtrace::__rust_end_short_backtrace::hd3c7a6c4da5fc30a
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x5576bdad4d87 - std::panicking::begin_panic::h8758c6d09705da0d
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:688:12
[INFO] [stdout]   18:     0x5576bd5d7c9d - compiletest_rs::run_tests::h5b99ed5e9f66cd6a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.3.26/src/lib.rs:101:22
[INFO] [stdout]   19:     0x5576bd5938e5 - compiletests::run_mode::hf361e65881e83a7c
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletests.rs:18:2
[INFO] [stdout]   20:     0x5576bd593952 - compiletests::compile_test::hed3ad4faadb92467
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletests.rs:23:2
[INFO] [stdout]   21:     0x5576bd593927 - compiletests::compile_test::{{closure}}::h861b657b724e309b
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletests.rs:22:18
[INFO] [stdout]   22:     0x5576bd5931d6 - core::ops::function::FnOnce::call_once::hcdd43736945ea483
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5576bd5cd9df - core::ops::function::FnOnce::call_once::h692fe6f34484199f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5576bd5cd9df - test::__rust_begin_short_backtrace::h48b62e76bd60e2de
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:621:18
[INFO] [stdout]   25:     0x5576bd5cc801 - test::run_test_in_process::{{closure}}::h1c68597526ef43db
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:644:60
[INFO] [stdout]   26:     0x5576bd5cc801 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hcae98092997f976b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x5576bd5cc801 - std::panicking::try::do_call::h8d1548c2f5bb535a
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:554:40
[INFO] [stdout]   28:     0x5576bd5cc801 - std::panicking::try::hbb7a2054f484688e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:518:19
[INFO] [stdout]   29:     0x5576bd5cc801 - std::panic::catch_unwind::h696d12d9d80497c2
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panic.rs:142:14
[INFO] [stdout]   30:     0x5576bd5cc801 - test::run_test_in_process::h053367a7217c825b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:644:27
[INFO] [stdout]   31:     0x5576bd5cc801 - test::run_test::{{closure}}::hfa524e9fabcba78e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:567:43
[INFO] [stdout]   32:     0x5576bd593c66 - test::run_test::{{closure}}::h2c4d0bb741ef7f9f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:595:41
[INFO] [stdout]   33:     0x5576bd593c66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0d2c708415550075
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   34:     0x5576bd598c27 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h76e2635840d7293f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   35:     0x5576bd598c27 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::haa640b67a810a214
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x5576bd598c27 - std::panicking::try::do_call::h41892e3bc2807ab5
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:554:40
[INFO] [stdout]   37:     0x5576bd598c27 - std::panicking::try::h861a16d180681c80
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:518:19
[INFO] [stdout]   38:     0x5576bd598c27 - std::panic::catch_unwind::h8195f9064b1509fa
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panic.rs:142:14
[INFO] [stdout]   39:     0x5576bd598c27 - std::thread::Builder::spawn_unchecked_::{{closure}}::h73cc419da1217371
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   40:     0x5576bd598c27 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h79dc6499ff073b09
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x5576bdb27855 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha718e8cdc51a5182
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   42:     0x5576bdb27855 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h86072abc877c5474
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   43:     0x5576bdb27855 - std::sys::pal::unix::thread::Thread::new::thread_start::hac4056197c365894
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   44:     0x7f643b7c4ac3 - <unknown>
[INFO] [stdout]   45:     0x7f643b855bf4 - __clone
[INFO] [stdout]   46:                0x0 - <unknown>
[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.28s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6184c18e6f60ee154060c138876e33b83686daf658144ddab1d59092d2fac921", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6184c18e6f60ee154060c138876e33b83686daf658144ddab1d59092d2fac921", kill_on_drop: false }`
[INFO] [stdout] 6184c18e6f60ee154060c138876e33b83686daf658144ddab1d59092d2fac921
