[INFO] fetching crate susydev-jsonrpc-derive 11.0.0...
[INFO] testing susydev-jsonrpc-derive-11.0.0 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate susydev-jsonrpc-derive 11.0.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate susydev-jsonrpc-derive 11.0.0
[INFO] finished tweaking crates.io crate susydev-jsonrpc-derive 11.0.0
[INFO] tweaked toml for crates.io crate susydev-jsonrpc-derive 11.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate susydev-jsonrpc-derive 11.0.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 137 packages to highest compatible versions
[INFO] [stderr]       Adding compiletest_rs v0.3.26 (available: v0.11.2)
[INFO] [stderr]       Adding proc-macro-crate v0.1.5 (available: v3.5.0)
[INFO] [stderr]       Adding proc-macro2 v0.4.30 (available: v1.0.107)
[INFO] [stderr]       Adding quote v0.6.13 (available: v1.0.47)
[INFO] [stderr]       Adding syn v0.15.44 (available: v3.0.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-service v0.1.0
[INFO] [stderr]   Downloaded parking_lot v0.7.1
[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-core v11.0.0
[INFO] [stderr]   Downloaded rustfix v0.4.6
[INFO] [stderr]   Downloaded tester v0.6.0
[INFO] [stderr]   Downloaded susydev-jsonrpc-client v11.0.0
[INFO] [stderr]   Downloaded dirs v2.0.2
[INFO] [stderr]   Downloaded susydev-jsonrpc-pubsub v11.0.0
[INFO] [stderr]   Downloaded scopeguard v0.3.3
[INFO] [stderr]   Downloaded parking_lot_core v0.4.0
[INFO] [stderr]   Downloaded compiletest_rs v0.3.26
[INFO] [stderr]   Downloaded term v0.6.1
[INFO] [stderr]   Downloaded lock_api v0.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b
[INFO] running `Command { std: "docker" "start" "73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.229
[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.229
[INFO] [stderr]    Compiling quote v0.6.13
[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 `release` profile [optimized] target(s) in 25.95s
[INFO] running `Command { std: "docker" "inspect" "73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: output filename collision at /opt/rustwide/target/release/libtest.so
[INFO] [stderr]   |
[INFO] [stderr]   = note: the lib target `test` in package `tester v0.6.0` has the same output filename as the lib target `test` in package `tester v0.6.0`
[INFO] [stderr]   = note: this may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>
[INFO] [stderr]   = help: consider changing their names to be unique or compiling them separately
[INFO] [stderr] warning: output filename collision at /opt/rustwide/target/release/libtest.so.dwp
[INFO] [stderr]   |
[INFO] [stderr]   = note: the lib target `test` in package `tester v0.6.0` has the same output filename as the lib target `test` in package `tester v0.6.0`
[INFO] [stderr]   = note: this may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>
[INFO] [stderr]   = help: consider changing their names to be unique or compiling them separately
[INFO] [stderr]    Compiling libc v0.2.191
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling rand_core v0.4.3
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling compiletest_rs v0.3.26
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling rand_core v0.3.2
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling owning_ref v0.4.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling bstr v1.13.1
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling getopts v0.2.24
[INFO] [stderr]    Compiling term v0.6.1
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling unicase v2.10.0
[INFO] [stderr]    Compiling susydev-jsonrpc-derive v11.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling filetime v0.2.29
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling tokio-service v0.1.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling susydev-jsonrpc-core v11.0.0
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling rustfix v0.4.6
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling susydev-jsonrpc-pubsub v11.0.0
[INFO] [stderr]    Compiling susydev-jsonrpc-client v11.0.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling tester v0.6.0
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling gimli v0.32.3
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.28
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling addr2line v0.25.1
[INFO] [stderr]    Compiling globset v0.4.20
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling susydev-jsonrpc-server-utils v11.0.0
[INFO] [stderr]    Compiling susydev-jsonrpc-tcp-server v11.0.0
[INFO] [stderr]    Compiling failure v0.1.8
[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 `release` profile [optimized] target(s) in 1m 35s
[INFO] running `Command { std: "docker" "inspect" "73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: output filename collision at /opt/rustwide/target/release/libtest.so
[INFO] [stderr]   |
[INFO] [stderr]   = note: the lib target `test` in package `tester v0.6.0` has the same output filename as the lib target `test` in package `tester v0.6.0`
[INFO] [stderr]   = note: this may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>
[INFO] [stderr]   = help: consider changing their names to be unique or compiling them separately
[INFO] [stderr] warning: output filename collision at /opt/rustwide/target/release/libtest.so.dwp
[INFO] [stderr]   |
[INFO] [stderr]   = note: the lib target `test` in package `tester v0.6.0` has the same output filename as the lib target `test` in package `tester v0.6.0`
[INFO] [stderr]   = note: this may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>
[INFO] [stderr]   = help: consider changing their names to be unique or compiling them separately
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.29s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/susydev_jsonrpc_derive-c9fb931a47d97822)
[INFO] [stdout] 
[INFO] [stderr]      Running tests/compiletests.rs (/opt/rustwide/target/release/deps/compiletests-5643ae54932f4f16)
[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] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test [ui] ui/multiple-rpc-attributes.rs ... FAILED
[INFO] [stdout] test [ui] ui/attr-invalid-meta-words.rs ... FAILED
[INFO] [stdout] test [ui] ui/attr-missing-rpc-name.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/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/attr-invalid-name-values.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-missing-subscription-name.rs ... FAILED
[INFO] [stdout] test [ui] ui/attr-invalid-meta-list-names.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-invalid-meta-words.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-invalid-meta-list-names.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-both-subscribe-and-unsubscribe.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/missing-subscribe.rs ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     [ui] ui/attr-invalid-meta-list-names.rs
[INFO] [stdout]     [ui] ui/attr-invalid-meta-words.rs
[INFO] [stdout]     [ui] ui/attr-invalid-name-values.rs
[INFO] [stdout]     [ui] ui/attr-missing-rpc-name.rs
[INFO] [stdout]     [ui] ui/multiple-rpc-attributes.rs
[INFO] [stdout]     [ui] ui/pubsub/attr-both-subscribe-and-unsubscribe.rs
[INFO] [stdout]     [ui] ui/pubsub/attr-invalid-meta-list-names.rs
[INFO] [stdout]     [ui] ui/pubsub/attr-invalid-meta-words.rs
[INFO] [stdout]     [ui] ui/pubsub/attr-invalid-name-values.rs
[INFO] [stdout]     [ui] ui/pubsub/attr-missing-subscription-name.rs
[INFO] [stdout]     [ui] ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs
[INFO] [stdout]     [ui] ui/pubsub/missing-subscribe.rs
[INFO] [stdout]     [ui] ui/pubsub/missing-unsubscribe.rs
[INFO] [stdout]     [ui] ui/too-many-params.rs
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stdout] test compile_test ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- compile_test stdout ----
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `serde`
[INFO] [stdout]  --> $DIR/multiple-rpc-attributes.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate serde;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/multiple-rpc-attributes.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/multiple-rpc-attributes.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] -   |
[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] +error[E0463]: can't find crate for `serde`
[INFO] [stdout] + --> $DIR/multiple-rpc-attributes.rs:1:1
[INFO] [stdout] +  |
[INFO] [stdout] +1 | extern crate serde;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/multiple-rpc-attributes.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/multiple-rpc-attributes.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `serde`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `serde`\n --> tests/ui/multiple-rpc-attributes.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/multiple-rpc-attributes.rs","byte_start":20,"byte_end":54,"line_start":2,"line_end":2,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/multiple-rpc-attributes.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/multiple-rpc-attributes.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `serde`
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate serde;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] -   |
[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] +error[E0463]: can't find crate for `serde`
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:1:1
[INFO] [stdout] +  |
[INFO] [stdout] +1 | extern crate serde;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `serde`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `serde`\n --> tests/ui/attr-invalid-meta-words.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-words.rs","byte_start":20,"byte_end":54,"line_start":2,"line_end":2,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/attr-invalid-meta-words.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/attr-invalid-meta-words.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/missing-unsubscribe.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/missing-unsubscribe.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout]  --> $DIR/missing-unsubscribe.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `serde`
[INFO] [stdout]  --> $DIR/attr-missing-rpc-name.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate serde;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/attr-missing-rpc-name.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/attr-missing-rpc-name.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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: 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] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/missing-unsubscribe.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[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] +error[E0463]: can't find crate for `serde`
[INFO] [stdout] + --> $DIR/attr-missing-rpc-name.rs:1:1
[INFO] [stdout] +  |
[INFO] [stdout] +1 | extern crate serde;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/attr-missing-rpc-name.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/attr-missing-rpc-name.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `serde`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `serde`\n --> tests/ui/attr-missing-rpc-name.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-missing-rpc-name.rs","byte_start":20,"byte_end":54,"line_start":2,"line_end":2,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/attr-missing-rpc-name.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/attr-missing-rpc-name.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/missing-unsubscribe.rs:3:1
[INFO] [stdout] +  |
[INFO] [stdout] +3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout] + --> $DIR/missing-unsubscribe.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/pubsub/missing-unsubscribe.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/pubsub/missing-unsubscribe.rs:3:1\n  |\n3 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_pubsub`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-unsubscribe.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`\n --> tests/ui/pubsub/missing-unsubscribe.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_pubsub;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] -   |
[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] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:3:1
[INFO] [stdout] +  |
[INFO] [stdout] +3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/pubsub/attr-invalid-name-values.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/pubsub/attr-invalid-name-values.rs:3:1\n  |\n3 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_pubsub`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-name-values.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`\n --> tests/ui/pubsub/attr-invalid-name-values.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_pubsub;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout]  --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] -   |
[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] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:3:1
[INFO] [stdout] +  |
[INFO] [stdout] +3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout] + --> $DIR/attr-neither-subscribe-or-unsubscribe.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:3:1\n  |\n3 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_pubsub`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`\n --> tests/ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_pubsub;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `serde`
[INFO] [stdout]  --> $DIR/too-many-params.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate serde;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/too-many-params.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/too-many-params.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] -   |
[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] +error[E0463]: can't find crate for `serde`
[INFO] [stdout] + --> $DIR/too-many-params.rs:1:1
[INFO] [stdout] +  |
[INFO] [stdout] +1 | extern crate serde;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/too-many-params.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/too-many-params.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `serde`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `serde`\n --> tests/ui/too-many-params.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/too-many-params.rs","byte_start":20,"byte_end":54,"line_start":2,"line_end":2,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/too-many-params.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/too-many-params.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `serde`
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate serde;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/attr-invalid-name-values.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] -   |
[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] +error[E0463]: can't find crate for `serde`
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:1:1
[INFO] [stdout] +  |
[INFO] [stdout] +1 | extern crate serde;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/attr-invalid-name-values.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `serde`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `serde`\n --> tests/ui/attr-invalid-name-values.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-name-values.rs","byte_start":20,"byte_end":54,"line_start":2,"line_end":2,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/attr-invalid-name-values.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stderr] error: test failed, to rerun pass `--test compiletests`
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/attr-invalid-name-values.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/attr-missing-subscription-name.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/attr-missing-subscription-name.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout]  --> $DIR/attr-missing-subscription-name.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] -   |
[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] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/attr-missing-subscription-name.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/attr-missing-subscription-name.rs:3:1
[INFO] [stdout] +  |
[INFO] [stdout] +3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout] + --> $DIR/attr-missing-subscription-name.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/pubsub/attr-missing-subscription-name.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/pubsub/attr-missing-subscription-name.rs:3:1\n  |\n3 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_pubsub`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-missing-subscription-name.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`\n --> tests/ui/pubsub/attr-missing-subscription-name.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_pubsub;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `serde`
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate serde;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] -   |
[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] +error[E0463]: can't find crate for `serde`
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:1:1
[INFO] [stdout] +  |
[INFO] [stdout] +1 | extern crate serde;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `serde`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `serde`\n --> tests/ui/attr-invalid-meta-list-names.rs:1:1\n  |\n1 | extern crate serde;\n  | ^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/attr-invalid-meta-list-names.rs","byte_start":20,"byte_end":54,"line_start":2,"line_end":2,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/attr-invalid-meta-list-names.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/attr-invalid-meta-list-names.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout]  --> $DIR/attr-invalid-meta-words.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] -   |
[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] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:3:1
[INFO] [stdout] +  |
[INFO] [stdout] +3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout] + --> $DIR/attr-invalid-meta-words.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/pubsub/attr-invalid-meta-words.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/pubsub/attr-invalid-meta-words.rs:3:1\n  |\n3 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_pubsub`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-words.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`\n --> tests/ui/pubsub/attr-invalid-meta-words.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_pubsub;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout]  --> $DIR/attr-invalid-meta-list-names.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] -   |
[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] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:3:1
[INFO] [stdout] +  |
[INFO] [stdout] +3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout] + --> $DIR/attr-invalid-meta-list-names.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:3:1\n  |\n3 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_pubsub`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-invalid-meta-list-names.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`\n --> tests/ui/pubsub/attr-invalid-meta-list-names.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_pubsub;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout]  --> $DIR/attr-both-subscribe-and-unsubscribe.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] -   |
[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] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/attr-both-subscribe-and-unsubscribe.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/attr-both-subscribe-and-unsubscribe.rs:3:1
[INFO] [stdout] +  |
[INFO] [stdout] +3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout] + --> $DIR/attr-both-subscribe-and-unsubscribe.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:3:1\n  |\n3 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_pubsub`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`\n --> tests/ui/pubsub/attr-both-subscribe-and-unsubscribe.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_pubsub;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout]  --> $DIR/missing-subscribe.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout]  --> $DIR/missing-subscribe.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout]  --> $DIR/missing-subscribe.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[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] -   |
[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] +error[E0463]: can't find crate for `susydev_jsonrpc_derive`
[INFO] [stdout] + --> $DIR/missing-subscribe.rs:2:1
[INFO] [stdout] +  |
[INFO] [stdout] +2 | extern crate susydev_jsonrpc_derive;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] -error: aborting due to previous error
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_core`
[INFO] [stdout] + --> $DIR/missing-subscribe.rs:3:1
[INFO] [stdout] +  |
[INFO] [stdout] +3 | extern crate susydev_jsonrpc_core;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]  
[INFO] [stdout] +error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`
[INFO] [stdout] + --> $DIR/missing-subscribe.rs:4:1
[INFO] [stdout] +  |
[INFO] [stdout] +4 | extern crate susydev_jsonrpc_pubsub;
[INFO] [stdout] +  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] +
[INFO] [stdout] +error: aborting due to 3 previous errors
[INFO] [stdout] +
[INFO] [stdout] +For more information about this error, try `rustc --explain E0463`.
[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":"can't find crate for `susydev_jsonrpc_derive`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\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":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_derive`\n --> tests/ui/pubsub/missing-subscribe.rs:2:1\n  |\n2 | extern crate susydev_jsonrpc_derive;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":50,"byte_end":84,"line_start":3,"line_end":3,"column_start":1,"column_end":35,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_core;","highlight_start":1,"highlight_end":35}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_core`\n --> tests/ui/pubsub/missing-subscribe.rs:3:1\n  |\n3 | extern crate susydev_jsonrpc_core;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `susydev_jsonrpc_pubsub`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n  in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n  `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n  Consider one of the following:\n  + Adding a pre-compiled version of std with `rustup target add`\n  + Building std from source with `cargo build -Z build-std`\n  + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n    place.\n- You are developing the compiler itself and haven't built libstd from source.\n  You can usually build it with `x.py build library/std`. More information\n  about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/ui/pubsub/missing-subscribe.rs","byte_start":85,"byte_end":121,"line_start":4,"line_end":4,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"extern crate susydev_jsonrpc_pubsub;","highlight_start":1,"highlight_end":37}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `susydev_jsonrpc_pubsub`\n --> tests/ui/pubsub/missing-subscribe.rs:4:1\n  |\n4 | extern crate susydev_jsonrpc_pubsub;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0463`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] thread 'compile_test' (2616) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.3.26/src/lib.rs:101:22:
[INFO] [stdout] Some tests failed
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x64a0da7cc6a1 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x64a0da7e4f8a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x64a0da7d30ac - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x64a0da7a5586 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x64a0da7c3b89 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x64a0da5cb6a0 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x64a0da7c3eb2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x64a0da7a49ec - std[70759c8f55707aa4]::panicking::begin_panic::<&str>::{closure#0}
[INFO] [stdout]    8:     0x64a0da79de89 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::begin_panic<&str>::{closure#0}, !>
[INFO] [stdout]    9:     0x64a0da79a4cb - std[70759c8f55707aa4]::panicking::begin_panic::<&str>
[INFO] [stdout]   10:     0x64a0da602fba - compiletest_rs[2e62d45075d45843]::run_tests
[INFO] [stdout]   11:     0x64a0da5be842 - compiletests[2ddd4e33a5079ad6]::run_mode
[INFO] [stdout]   12:     0x64a0da5be905 - <compiletests[2ddd4e33a5079ad6]::compile_test::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x64a0da5be98b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   14:     0x64a0da5cbff5 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   15:     0x64a0da5c58b4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x64a0da5cf152 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x64a0da7cbb79 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x7fe525283dfa - <unknown>
[INFO] [stdout]   19:     0x7fe5253173d4 - clone
[INFO] [stdout]   20:                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.27s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b", kill_on_drop: false }`
[INFO] [stdout] 73ae86dd6bd50573ceaaadf956e758c09c3002eb5a89d6177b433fb371900f0b
