[INFO] fetching crate susydev-jsonrpc-derive 11.0.0...
[INFO] testing susydev-jsonrpc-derive-11.0.0 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-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.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] running `"cargo" "+1.100.0-beta.13" "generate-lockfile" "--manifest-path" "Cargo.toml"`
[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.10)
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:50:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | homepage = "https://github.com/susytech/jsonrpc"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 | repository = "https://github.com/susytech/jsonrpc"
[INFO] [stderr]    |              -------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `susydev-jsonrpc-derive` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded susydev-jsonrpc-tcp-server v11.0.0
[INFO] [stderr]   Downloaded susydev-jsonrpc-server-utils v11.0.0
[INFO] [stderr]   Downloaded susydev-jsonrpc-pubsub v11.0.0
[INFO] [stderr]   Downloaded parking_lot_core v0.4.0
[INFO] [stderr]   Downloaded parking_lot v0.7.1
[INFO] [stderr]   Downloaded susydev-jsonrpc-client v11.0.0
[INFO] [stderr]   Downloaded rustfix v0.4.6
[INFO] [stderr]   Downloaded term v0.6.1
[INFO] [stderr]   Downloaded tester v0.6.0
[INFO] [stderr]   Downloaded compiletest_rs v0.3.26
[INFO] running `"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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6
[INFO] running `"docker" "start" "d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6"`
[INFO] running `"docker" "inspect" "d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6"`
[INFO] running `"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" "d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6"`
[INFO] running `"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" "d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:50:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | homepage = "https://github.com/susytech/jsonrpc"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 | repository = "https://github.com/susytech/jsonrpc"
[INFO] [stderr]    |              -------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `susydev-jsonrpc-derive` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[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 26.57s
[INFO] running `"docker" "inspect" "d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6"`
[INFO] running `"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" "d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:50:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | homepage = "https://github.com/susytech/jsonrpc"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 | repository = "https://github.com/susytech/jsonrpc"
[INFO] [stderr]    |              -------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `susydev-jsonrpc-derive` (manifest) generated 1 warning
[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 autocfg v0.1.8
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling rand_core v0.4.3
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling filetime v0.2.30
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling rand_core v0.3.2
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling compiletest_rs v0.3.26
[INFO] [stderr]    Compiling addr2line v0.27.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling object v0.40.0
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling owning_ref v0.4.1
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling bstr v1.14.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling unicode-width v0.2.3
[INFO] [stderr]    Compiling getopts v0.2.24
[INFO] [stderr]    Compiling term v0.6.1
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling regex-automata v0.4.19
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling susydev-jsonrpc-core v11.0.0
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling susydev-jsonrpc-derive v11.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling tokio-service v0.1.0
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling susydev-jsonrpc-pubsub v11.0.0
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling regex-syntax v0.8.12
[INFO] [stderr]    Compiling gimli v0.34.0
[INFO] [stderr]    Compiling miniz_oxide v0.9.1
[INFO] [stderr]    Compiling tester v0.6.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.28
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling globset v0.4.22
[INFO] [stderr]    Compiling regex v1.13.2
[INFO] [stderr]    Compiling susydev-jsonrpc-server-utils v11.0.0
[INFO] [stderr]    Compiling susydev-jsonrpc-tcp-server v11.0.0
[INFO] [stderr]    Compiling backtrace v0.3.77
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling rustfix v0.4.6
[INFO] [stderr]    Compiling susydev-jsonrpc-client v11.0.0
[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 21s
[INFO] running `"docker" "inspect" "d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6"`
[INFO] running `"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" "d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:50:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | homepage = "https://github.com/susytech/jsonrpc"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 | repository = "https://github.com/susytech/jsonrpc"
[INFO] [stderr]    |              -------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `susydev-jsonrpc-derive` (manifest) generated 1 warning
[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.32s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/susydev-jsonrpc-derive/80ace3a3a069deee/out/susydev_jsonrpc_derive-80ace3a3a069deee)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/compiletests.rs (/opt/rustwide/target/release/build/susydev-jsonrpc-derive/65e01fbfdfb67600/out/compiletests-65e01fbfdfb67600)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test [ui] ui/pubsub/attr-missing-subscription-name.rs ... FAILED
[INFO] [stdout] test [ui] ui/attr-invalid-meta-words.rs ... FAILED
[INFO] [stdout] test [ui] ui/attr-invalid-name-values.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/missing-unsubscribe.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-both-subscribe-and-unsubscribe.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-invalid-name-values.rs ... FAILED
[INFO] [stdout] test [ui] ui/attr-missing-rpc-name.rs ... FAILED
[INFO] [stdout] test [ui] ui/multiple-rpc-attributes.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/attr-invalid-meta-list-names.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/too-many-params.rs ... FAILED
[INFO] [stdout] test [ui] ui/pubsub/missing-subscribe.rs ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     [ui] ui/attr-invalid-meta-list-names.rs
[INFO] [stdout]     [ui] ui/attr-invalid-meta-words.rs
[INFO] [stdout]     [ui] ui/attr-invalid-name-values.rs
[INFO] [stdout]     [ui] ui/attr-missing-rpc-name.rs
[INFO] [stdout]     [ui] ui/multiple-rpc-attributes.rs
[INFO] [stdout]     [ui] ui/pubsub/attr-both-subscribe-and-unsubscribe.rs
[INFO] [stdout]     [ui] ui/pubsub/attr-invalid-meta-list-names.rs
[INFO] [stdout]     [ui] ui/pubsub/attr-invalid-meta-words.rs
[INFO] [stdout]     [ui] ui/pubsub/attr-invalid-name-values.rs
[INFO] [stdout]     [ui] ui/pubsub/attr-missing-subscription-name.rs
[INFO] [stdout]     [ui] ui/pubsub/attr-neither-subscribe-or-unsubscribe.rs
[INFO] [stdout]     [ui] ui/pubsub/missing-subscribe.rs
[INFO] [stdout]     [ui] ui/pubsub/missing-unsubscribe.rs
[INFO] [stdout]     [ui] ui/too-many-params.rs
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stdout] test compile_test ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- compile_test stdout ----
[INFO] [stdout] normalized stderr:
[INFO] [stdout] error[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-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 `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] [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/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] -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]  
[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-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 `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/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 `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: 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] [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-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] 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 `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] 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/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] 
[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 `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 `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' (3068) 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:     0x5806c68a7fd1 - <<std[f3a103f8b3fbc6]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a2c1a7cd948629ec]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5806c68c05ea - core[a2c1a7cd948629ec]::fmt::write
[INFO] [stdout]    2:     0x5806c68ae75c - <alloc[9de6908353064a78]::vec::Vec<u8> as core[a2c1a7cd948629ec]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5806c6880eb6 - std[f3a103f8b3fbc6]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5806c689f459 - std[f3a103f8b3fbc6]::panicking::default_hook
[INFO] [stdout]    5:     0x5806c66a8860 - test[4d2796dde4b18a79]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5806c689f782 - std[f3a103f8b3fbc6]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5806c688034c - std[f3a103f8b3fbc6]::panicking::begin_panic::<&str>::{closure#0}
[INFO] [stdout]    8:     0x5806c687a1a9 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_end_short_backtrace::<std[f3a103f8b3fbc6]::panicking::begin_panic<&str>::{closure#0}, !>
[INFO] [stdout]    9:     0x5806c6875d6b - std[f3a103f8b3fbc6]::panicking::begin_panic::<&str>
[INFO] [stdout]   10:     0x5806c66dfd4a - compiletest_rs[cf8265b64f7a0edf]::run_tests
[INFO] [stdout]   11:     0x5806c669bb62 - compiletests[6d911fe61aefcbb1]::run_mode
[INFO] [stdout]   12:     0x5806c669bc25 - <compiletests[6d911fe61aefcbb1]::compile_test::{closure#0} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x5806c669bcab - test[4d2796dde4b18a79]::__rust_begin_short_backtrace::<core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>, fn() -> core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>>
[INFO] [stdout]   14:     0x5806c66a8e85 - test[4d2796dde4b18a79]::run_test::{closure#0}
[INFO] [stdout]   15:     0x5806c66a2274 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_begin_short_backtrace::<test[4d2796dde4b18a79]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x5806c66abf12 - <std[f3a103f8b3fbc6]::thread::lifecycle::spawn_unchecked<test[4d2796dde4b18a79]::run_test::{closure#1}, ()>::{closure#1} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x5806c68a743f - <std[f3a103f8b3fbc6]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x72b3faa1edfa - <unknown>
[INFO] [stdout]   19:     0x72b3faab23d4 - 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.26s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6"`
[INFO] running `"docker" "rm" "-f" "d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6"`
[INFO] [stdout] d07e3add7c9ba422896c4e84d4228237528ba28435bd24bbd70e0a2c1b7508f6
