[INFO] fetching crate type_dispatch_macros 0.0.0... [INFO] testing type_dispatch_macros-0.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate type_dispatch_macros 0.0.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate type_dispatch_macros 0.0.0 [INFO] finished tweaking crates.io crate type_dispatch_macros 0.0.0 [INFO] tweaked toml for crates.io crate type_dispatch_macros 0.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate type_dispatch_macros 0.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding darling v0.20.11 (available: v0.21.3) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.14.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cce0e9480df00575784fb2b9c896c18d3ac0af9466f465eb30da3c4b53ec3d28 [INFO] running `Command { std: "docker" "start" "-a" "cce0e9480df00575784fb2b9c896c18d3ac0af9466f465eb30da3c4b53ec3d28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cce0e9480df00575784fb2b9c896c18d3ac0af9466f465eb30da3c4b53ec3d28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce0e9480df00575784fb2b9c896c18d3ac0af9466f465eb30da3c4b53ec3d28", kill_on_drop: false }` [INFO] [stdout] cce0e9480df00575784fb2b9c896c18d3ac0af9466f465eb30da3c4b53ec3d28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc378c9f3cec1d3dc9aa87855ecb2be03ac8dcaec6bf7923850e83daac1091fe [INFO] running `Command { std: "docker" "start" "-a" "dc378c9f3cec1d3dc9aa87855ecb2be03ac8dcaec6bf7923850e83daac1091fe", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling type_dispatch_macros v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.29s [INFO] running `Command { std: "docker" "inspect" "dc378c9f3cec1d3dc9aa87855ecb2be03ac8dcaec6bf7923850e83daac1091fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc378c9f3cec1d3dc9aa87855ecb2be03ac8dcaec6bf7923850e83daac1091fe", kill_on_drop: false }` [INFO] [stdout] dc378c9f3cec1d3dc9aa87855ecb2be03ac8dcaec6bf7923850e83daac1091fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fecacfa13f9ffb7d715cbe38efcfe3de7375bb014d6ce7a74994f60ece91966 [INFO] running `Command { std: "docker" "start" "-a" "0fecacfa13f9ffb7d715cbe38efcfe3de7375bb014d6ce7a74994f60ece91966", kill_on_drop: false }` [INFO] [stderr] Compiling type_dispatch_macros v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "0fecacfa13f9ffb7d715cbe38efcfe3de7375bb014d6ce7a74994f60ece91966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fecacfa13f9ffb7d715cbe38efcfe3de7375bb014d6ce7a74994f60ece91966", kill_on_drop: false }` [INFO] [stdout] 0fecacfa13f9ffb7d715cbe38efcfe3de7375bb014d6ce7a74994f60ece91966 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 101f0d27d1dee88d7ab5cabfe7ca65874924a65f6d487cebb5c4272f82c402d6 [INFO] running `Command { std: "docker" "start" "-a" "101f0d27d1dee88d7ab5cabfe7ca65874924a65f6d487cebb5c4272f82c402d6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/type_dispatch_macros-2ea3f9cd26393d36) [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] Doc-tests type_dispatch_macros [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - dispatch_fn (line 180) ... FAILED [INFO] [stdout] test src/lib.rs - dispatch_type (line 230) ... FAILED [INFO] [stdout] test src/lib.rs - dispatch_impl (line 75) ... FAILED [INFO] [stdout] test src/lib.rs - dispatch_const (line 129) ... FAILED [INFO] [stdout] test src/lib.rs - impl_dispatch (line 33) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - dispatch_fn (line 180) stdout ---- [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[impl_dispatch({u64; u16}, {u32, usize; u8, u64})] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: type_dispatch not found in Cargo.toml: CrateNotFound { crate_name: "substrate", path: "/opt/rustwide/workdir/Cargo.toml" } [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:200:42 [INFO] [stdout] | [INFO] [stdout] 200 | let x: usize = GenericStruct(1u64, 3u32).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:91:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:140:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:104:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/alignment.rs:206:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:202:39 [INFO] [stdout] | [INFO] [stdout] 202 | let x: u64 = GenericStruct(1u64, 3u8).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:204:42 [INFO] [stdout] | [INFO] [stdout] 204 | let x: usize = GenericStruct(1u16, 3u32).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:91:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:140:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:104:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/alignment.rs:206:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | let x: u64 = GenericStruct(1u16, 3u8).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - dispatch_type (line 230) stdout ---- [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | #[impl_dispatch({u64; u16}, {u32, usize; u8, u64})] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: type_dispatch not found in Cargo.toml: CrateNotFound { crate_name: "substrate", path: "/opt/rustwide/workdir/Cargo.toml" } [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:250:42 [INFO] [stdout] | [INFO] [stdout] 250 | let x: usize = GenericStruct(1u64, 3u32).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:91:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:140:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:104:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/alignment.rs:206:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:252:39 [INFO] [stdout] | [INFO] [stdout] 252 | let x: u64 = GenericStruct(1u64, 3u8).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:254:42 [INFO] [stdout] | [INFO] [stdout] 254 | let x: usize = GenericStruct(1u16, 3u32).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:91:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:140:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:104:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/alignment.rs:206:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:256:39 [INFO] [stdout] | [INFO] [stdout] 256 | let x: u64 = GenericStruct(1u16, 3u8).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - dispatch_impl (line 75) stdout ---- [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / dispatch_impl!{ [INFO] [stdout] 82 | | [{u64; u16}, {u32, usize; u8, u64}] [INFO] [stdout] 83 | | impl Into for GenericStruct { [INFO] [stdout] 84 | | fn into(self) -> C { [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: message: type_dispatch not found in Cargo.toml: CrateNotFound { crate_name: "substrate", path: "/opt/rustwide/workdir/Cargo.toml" } [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:90:42 [INFO] [stdout] | [INFO] [stdout] 90 | let x: usize = GenericStruct(1u64, 3u32).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:91:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:140:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:104:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/alignment.rs:206:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | let x: u64 = GenericStruct(1u64, 3u8).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:94:42 [INFO] [stdout] | [INFO] [stdout] 94 | let x: usize = GenericStruct(1u16, 3u32).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:91:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:140:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:104:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/alignment.rs:206:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 96 | let x: u64 = GenericStruct(1u16, 3u8).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - dispatch_const (line 129) stdout ---- [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | #[impl_dispatch({u64; u16}, {u32, usize; u8, u64})] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: type_dispatch not found in Cargo.toml: CrateNotFound { crate_name: "substrate", path: "/opt/rustwide/workdir/Cargo.toml" } [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | let x: usize = GenericStruct(1u64, 3u32).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:91:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:140:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:104:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/alignment.rs:206:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:151:39 [INFO] [stdout] | [INFO] [stdout] 151 | let x: u64 = GenericStruct(1u64, 3u8).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:153:42 [INFO] [stdout] | [INFO] [stdout] 153 | let x: usize = GenericStruct(1u16, 3u32).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:91:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:140:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:104:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/alignment.rs:206:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:155:39 [INFO] [stdout] | [INFO] [stdout] 155 | let x: u64 = GenericStruct(1u16, 3u8).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - impl_dispatch (line 33) stdout ---- [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[impl_dispatch({u64; u16}, {u32, usize; u8, u64})] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: type_dispatch not found in Cargo.toml: CrateNotFound { crate_name: "substrate", path: "/opt/rustwide/workdir/Cargo.toml" } [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | let x: usize = GenericStruct(1u64, 3u32).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:91:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:140:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:104:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/alignment.rs:206:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | let x: u64 = GenericStruct(1u64, 3u8).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | let x: usize = GenericStruct(1u16, 3u32).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:91:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:140:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] ::: /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/num.rs:104:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/alignment.rs:206:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] = note: this error originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | let x: u64 = GenericStruct(1u16, 3u8).into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] = note: required for `GenericStruct` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - dispatch_const (line 129) [INFO] [stdout] src/lib.rs - dispatch_fn (line 180) [INFO] [stdout] src/lib.rs - dispatch_impl (line 75) [INFO] [stdout] src/lib.rs - dispatch_type (line 230) [INFO] [stdout] src/lib.rs - impl_dispatch (line 33) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "101f0d27d1dee88d7ab5cabfe7ca65874924a65f6d487cebb5c4272f82c402d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101f0d27d1dee88d7ab5cabfe7ca65874924a65f6d487cebb5c4272f82c402d6", kill_on_drop: false }` [INFO] [stdout] 101f0d27d1dee88d7ab5cabfe7ca65874924a65f6d487cebb5c4272f82c402d6