[INFO] fetching crate tiny-multihash-proc-macro 0.1.0... [INFO] testing tiny-multihash-proc-macro-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate tiny-multihash-proc-macro 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate tiny-multihash-proc-macro 0.1.0 [INFO] finished tweaking crates.io crate tiny-multihash-proc-macro 0.1.0 [INFO] tweaked toml for crates.io crate tiny-multihash-proc-macro 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tiny-multihash-proc-macro 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding pretty_assertions v0.6.1 (available: v1.4.1) [INFO] [stderr] Adding proc-macro-crate v0.1.5 (available: v3.4.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded output_vt100 v0.1.3 [INFO] [stderr] Downloaded ctor v0.1.26 [INFO] [stderr] Downloaded pretty_assertions v0.6.1 [INFO] [stderr] Downloaded difference v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a1e2fd551b89baac573d74a45c453b8fa3701f91df30209ec5a3a58352df246 [INFO] running `Command { std: "docker" "start" "-a" "8a1e2fd551b89baac573d74a45c453b8fa3701f91df30209ec5a3a58352df246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a1e2fd551b89baac573d74a45c453b8fa3701f91df30209ec5a3a58352df246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a1e2fd551b89baac573d74a45c453b8fa3701f91df30209ec5a3a58352df246", kill_on_drop: false }` [INFO] [stdout] 8a1e2fd551b89baac573d74a45c453b8fa3701f91df30209ec5a3a58352df246 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c4f9695a7c78c7ea9aad9dc47dc4797116794f0e8a4dc07339ab61990a188d1 [INFO] running `Command { std: "docker" "start" "-a" "1c4f9695a7c78c7ea9aad9dc47dc4797116794f0e8a4dc07339ab61990a188d1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tiny-multihash-proc-macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `paren` is never read [INFO] [stdout] --> src/utils.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Attrs { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | pub paren: syn::token::Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `eq` are never read [INFO] [stdout] --> src/utils.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Attr { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 27 | pub key: K, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | pub eq: syn::token::Eq, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.05s [INFO] running `Command { std: "docker" "inspect" "1c4f9695a7c78c7ea9aad9dc47dc4797116794f0e8a4dc07339ab61990a188d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c4f9695a7c78c7ea9aad9dc47dc4797116794f0e8a4dc07339ab61990a188d1", kill_on_drop: false }` [INFO] [stdout] 1c4f9695a7c78c7ea9aad9dc47dc4797116794f0e8a4dc07339ab61990a188d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f96f4580902f786e6e69f839d29c787b26e90f5ef5d973fae20ff68eea8c3125 [INFO] running `Command { std: "docker" "start" "-a" "f96f4580902f786e6e69f839d29c787b26e90f5ef5d973fae20ff68eea8c3125", kill_on_drop: false }` [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling tiny-multihash-proc-macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stdout] warning: field `paren` is never read [INFO] [stdout] --> src/utils.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Attrs { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | pub paren: syn::token::Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `eq` are never read [INFO] [stdout] --> src/utils.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Attr { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 27 | pub key: K, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | pub eq: syn::token::Eq, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren` is never read [INFO] [stdout] --> src/utils.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Attrs { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | pub paren: syn::token::Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `eq` are never read [INFO] [stdout] --> src/utils.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Attr { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 27 | pub key: K, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | pub eq: syn::token::Eq, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.89s [INFO] running `Command { std: "docker" "inspect" "f96f4580902f786e6e69f839d29c787b26e90f5ef5d973fae20ff68eea8c3125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f96f4580902f786e6e69f839d29c787b26e90f5ef5d973fae20ff68eea8c3125", kill_on_drop: false }` [INFO] [stdout] f96f4580902f786e6e69f839d29c787b26e90f5ef5d973fae20ff68eea8c3125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 73aaa7264a34c205bf21865b9efbee5d1c519989f2f19bbb000b327172bfd9f1 [INFO] running `Command { std: "docker" "start" "-a" "73aaa7264a34c205bf21865b9efbee5d1c519989f2f19bbb000b327172bfd9f1", kill_on_drop: false }` [INFO] [stderr] warning: field `paren` is never read [INFO] [stderr] --> src/utils.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Attrs { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 12 | pub paren: syn::token::Paren, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `key` and `eq` are never read [INFO] [stderr] --> src/utils.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Attr { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 27 | pub key: K, [INFO] [stderr] | ^^^ [INFO] [stderr] 28 | pub eq: syn::token::Eq, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Attr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `tiny-multihash-proc-macro` (lib) generated 2 warnings [INFO] [stderr] warning: `tiny-multihash-proc-macro` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tiny_multihash_proc_macro-33bff0bb93b4ed62) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test multihash::tests::test_multihash_derive ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- multihash::tests::test_multihash_derive stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'multihash::tests::test_multihash_derive' (25) panicked at src/utils.rs:49:5: [INFO] [stdout] assertion failed: `(left == right)` [INFO] [stdout] [INFO] [stdout] Diff < left / right > : [INFO] [stdout] <"impl From < Code > for u64 { fn from (c : Code) -> Self { match c { Code :: Identity256 => 0x00 , # [cfg (feature = \"strobe\")] Code :: Strobe256 => 0x01 , } } } impl core :: convert :: TryFrom < u64 > for Code { type Error = crate :: Error ; fn try_from (n : u64) -> Result < Self , Self :: Error > { match n { 0x00 => Ok (Self :: Identity256) , # [cfg (feature = \"strobe\")] 0x01 => Ok (Self :: Strobe256) , _ => Err (Self :: Error :: UnsupportedCode (n)) , } } } # [doc = r\" Multihash.\"] # [derive (Clone , Debug , Eq , PartialEq)] pub enum Multihash { # [doc = r\" Multihash array for hash function.\"] Identity256 (< multihash :: Identity256 as crate :: Hasher > :: Digest) , # [doc = r\" Multihash array for hash function.\"] # [cfg (feature = \"strobe\")] Strobe256 (< multihash :: Strobe256 as crate :: Hasher > :: Digest) , } impl crate :: MultihashDigest < Code > for Multihash { fn code (& self) -> Code { match self { Multihash :: Identity256 (mh) => Code :: Identity256 , # [cfg (feature = \"strobe\")] Multihash :: Strobe256 (mh) => Code :: Strobe256 , } } fn digest (& self) -> & [u8] { match self { Multihash :: Identity256 (mh) => mh . as_ref () , # [cfg (feature = \"strobe\")] Multihash :: Strobe256 (mh) => mh . as_ref () , } } # [cfg (feature = \"std\")] fn read < R : std :: io :: Read > (mut r : R) -> Result < Self , crate :: Error > where Self : Sized { let code = crate :: read_code (& mut r) ? ; match code { Code :: Identity256 => Ok (Self :: Identity256 (crate :: read_digest (r) ?)) , # [cfg (feature = \"strobe\")] Code :: Strobe256 => Ok (Self :: Strobe256 (crate :: read_digest (r) ?)) , } } } impl From << multihash :: Identity256 as crate :: Hasher > :: Digest > for Multihash { fn from (digest : < multihash :: Identity256 as crate :: Hasher > :: Digest) -> Self { Self :: Identity256 (digest) } } # [cfg (feature = \"strobe\")] impl From << multihash :: Strobe256 as crate :: Hasher > :: Digest > for Multihash { fn from (digest : < multihash :: Strobe256 as crate :: Hasher > :: Digest) -> Self { Self :: Strobe256 (digest) } } impl crate :: MultihashCode for Code { type Multihash = Multihash ; fn size (& self) -> u8 { use crate :: Hasher ; match self { Code :: Identity256 => multihash :: Identity256 :: size () , # [cfg (feature = \"strobe\")] Code :: Strobe256 => multihash :: Strobe256 :: size () , } } fn digest (& self , input : & [u8]) -> Self :: Multihash { use crate :: Hasher ; match self { Code :: Identity256 => Multihash :: Identity256 (multihash :: Identity256 :: digest (input)) , # [cfg (feature = \"strobe\")] Code :: Strobe256 => Multihash :: Strobe256 (multihash :: Strobe256 :: digest (input)) , } } }" [INFO] [stdout] >"impl From < Code > for u64 { fn from (c : Code) -> Self { match c { Code :: Identity256 => 0x00 , # [cfg (feature = \"strobe\")] Code :: Strobe256 => 0x01 , } } } impl core :: convert :: TryFrom < u64 > for Code { type Error = multihash :: Error ; fn try_from (n : u64) -> Result < Self , Self :: Error > { match n { 0x00 => Ok (Self :: Identity256) , # [cfg (feature = \"strobe\")] 0x01 => Ok (Self :: Strobe256) , _ => Err (Self :: Error :: UnsupportedCode (n)) , } } } # [doc = r\" Multihash.\"] # [derive (Clone , Debug , Eq , PartialEq)] pub enum Multihash { # [doc = r\" Multihash array for hash function.\"] Identity256 (< multihash :: Identity256 as multihash :: Hasher > :: Digest) , # [doc = r\" Multihash array for hash function.\"] # [cfg (feature = \"strobe\")] Strobe256 (< multihash :: Strobe256 as multihash :: Hasher > :: Digest) , } impl multihash :: MultihashDigest < Code > for Multihash { fn code (& self) -> Code { match self { Multihash :: Identity256 (mh) => Code :: Identity256 , # [cfg (feature = \"strobe\")] Multihash :: Strobe256 (mh) => Code :: Strobe256 , } } fn digest (& self) -> & [u8] { match self { Multihash :: Identity256 (mh) => mh . as_ref () , # [cfg (feature = \"strobe\")] Multihash :: Strobe256 (mh) => mh . as_ref () , } } # [cfg (feature = \"std\")] fn read < R : std :: io :: Read > (mut r : R) -> Result < Self , multihash :: Error > where Self : Sized { let code = multihash :: read_code (& mut r) ? ; match code { Code :: Identity256 => Ok (Self :: Identity256 (multihash :: read_digest (r) ?)) , # [cfg (feature = \"strobe\")] Code :: Strobe256 => Ok (Self :: Strobe256 (multihash :: read_digest (r) ?)) , } } } impl From << multihash :: Identity256 as multihash :: Hasher > :: Digest > for Multihash { fn from (digest : < multihash :: Identity256 as multihash :: Hasher > :: Digest) -> Self { Self :: Identity256 (digest) } } # [cfg (feature = \"strobe\")] impl From << multihash :: Strobe256 as multihash :: Hasher > :: Digest > for Multihash { fn from (digest : < multihash :: Strobe256 as multihash :: Hasher > :: Digest) -> Self { Self :: Strobe256 (digest) } } impl multihash :: MultihashCode for Code { type Multihash = Multihash ; fn size (& self) -> u8 { use multihash :: Hasher ; match self { Code :: Identity256 => multihash :: Identity256 :: size () , # [cfg (feature = \"strobe\")] Code :: Strobe256 => multihash :: Strobe256 :: size () , } } fn digest (& self , input : & [u8]) -> Self :: Multihash { use multihash :: Hasher ; match self { Code :: Identity256 => Multihash :: Identity256 (multihash :: Identity256 :: digest (input)) , # [cfg (feature = \"strobe\")] Code :: Strobe256 => Multihash :: Strobe256 (multihash :: Strobe256 :: digest (input)) , } } }" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x77c465b1d8a2 - std::backtrace_rs::backtrace::libunwind::trace::h0fb8082ca5562a61 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x77c465b1d8a2 - std::backtrace_rs::backtrace::trace_unsynchronized::hfaa258994374a3cd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x77c465b1d8a2 - std::sys::backtrace::_print_fmt::h11496fe34963a885 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x77c465b1d8a2 - ::fmt::hff1a9408d012ee89 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x77c465b6a0ef - core::fmt::rt::Argument::fmt::hf11195b61445f5d1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x77c465b6a0ef - core::fmt::write::h2f1fc679f228cc52 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x77c465b011c3 - std::io::default_write_fmt::h12bd533187bc883d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x77c465b011c3 - std::io::Write::write_fmt::h926a1fdfdcb90065 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x77c465b1d6f2 - std::sys::backtrace::BacktraceLock::print::h28bfdbcac6d3828b [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x77c465aff26c - std::panicking::default_hook::{{closure}}::h1f968e3a24b0e3b4 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x77c465aff0e9 - std::panicking::default_hook::h43da101644971931 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x63a30265fb9e - as core::ops::function::Fn>::call::h4b2012949041da5d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x63a30265fb9e - test::test_main_with_exit_callback::{{closure}}::h53c9154cdc260357 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x77c465aff873 - as core::ops::function::Fn>::call::h911f2e3e7e84b764 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x77c465aff873 - std::panicking::panic_with_hook::hb4e916c3e65eccec [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x77c465b1d27a - std::panicking::panic_handler::{{closure}}::hbff715d0475cf1bd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x77c465b1d1d9 - std::sys::backtrace::__rust_end_short_backtrace::hd6f43484e45a4955 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x77c465affffd - __rustc[b29d3319de9a3146]::rust_begin_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x77c465b7de80 - core::panicking::panic_fmt::h5f8d281875be5ff1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x63a3025e28af - tiny_multihash_proc_macro::utils::assert_proc_macro::hbbf2ca1532bdf3bf [INFO] [stdout] at /opt/rustwide/workdir/src/utils.rs:49:5 [INFO] [stdout] 20: 0x63a3025f4dcb - tiny_multihash_proc_macro::multihash::tests::test_multihash_derive::h6f6ed812210cc067 [INFO] [stdout] at /opt/rustwide/workdir/src/multihash.rs:403:9 [INFO] [stdout] 21: 0x63a3025f4e47 - tiny_multihash_proc_macro::multihash::tests::test_multihash_derive::{{closure}}::h96e879df6fbaa8c2 [INFO] [stdout] at /opt/rustwide/workdir/src/multihash.rs:290:31 [INFO] [stdout] 22: 0x63a3025edec6 - core::ops::function::FnOnce::call_once::hde53ec8012e89aa5 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 23: 0x63a3026650db - core::ops::function::FnOnce::call_once::haf4e03bb51ef1351 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x63a3026650db - test::__rust_begin_short_backtrace::h50f5566ee84f2f21 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x63a3026682d5 - test::run_test_in_process::{{closure}}::heb3733b71d876eca [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x63a3026682d5 - as core::ops::function::FnOnce<()>>::call_once::he2fe41e1b161faa9 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x63a3026682d5 - std::panicking::catch_unwind::do_call::h00aa383d8fd97a09 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x63a3026682d5 - std::panicking::catch_unwind::he482e1914bc21641 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x63a3026682d5 - std::panic::catch_unwind::h86ac9705098f4f22 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x63a3026682d5 - test::run_test_in_process::h636a992821e3c6aa [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x63a3026682d5 - test::run_test::{{closure}}::he454cc9a192df79f [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x63a30268dc84 - test::run_test::{{closure}}::haec47455908dff86 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x63a30268dc84 - std::sys::backtrace::__rust_begin_short_backtrace::h230785972524cdc1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x63a30267489a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa5a562db4cde838 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x63a30267489a - as core::ops::function::FnOnce<()>>::call_once::h89254f37a55d0a87 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x63a30267489a - std::panicking::catch_unwind::do_call::h499f5a462f019d9d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x63a30267489a - std::panicking::catch_unwind::h6736fbbb1a264383 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x63a30267489a - std::panic::catch_unwind::h49ea7bdd1cbee572 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x63a30267489a - std::thread::Builder::spawn_unchecked_::{{closure}}::h653dfa62acf32f5a [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x63a30267489a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h82582a626a045a45 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 41: 0x77c465ae1c1f - as core::ops::function::FnOnce>::call_once::h4ab26c07513156cc [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 42: 0x77c465ae1c1f - std::sys::pal::unix::thread::Thread::new::thread_start::h66ff1bba185a50cf [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 43: 0x77c465891aa4 - [INFO] [stdout] 44: 0x77c46591ea34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] multihash::tests::test_multihash_derive [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.96s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "73aaa7264a34c205bf21865b9efbee5d1c519989f2f19bbb000b327172bfd9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73aaa7264a34c205bf21865b9efbee5d1c519989f2f19bbb000b327172bfd9f1", kill_on_drop: false }` [INFO] [stdout] 73aaa7264a34c205bf21865b9efbee5d1c519989f2f19bbb000b327172bfd9f1