[INFO] crate tiny-multihash 0.2.0 is already in cache [INFO] testing tiny-multihash-0.2.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate tiny-multihash 0.2.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate tiny-multihash 0.2.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tiny-multihash 0.2.0 [INFO] finished tweaking crates.io crate tiny-multihash 0.2.0 [INFO] tweaked toml for crates.io crate tiny-multihash 0.2.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f36a4161346d42ecd2a7dc22d088691f9c87d7d69db9df412b06594a726969c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7f36a4161346d42ecd2a7dc22d088691f9c87d7d69db9df412b06594a726969c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f36a4161346d42ecd2a7dc22d088691f9c87d7d69db9df412b06594a726969c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f36a4161346d42ecd2a7dc22d088691f9c87d7d69db9df412b06594a726969c", kill_on_drop: false }` [INFO] [stdout] 7f36a4161346d42ecd2a7dc22d088691f9c87d7d69db9df412b06594a726969c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e10d78078a6e52a39ba7d7d3714c766bae17496b1613e8709f6e68bd5a56ef73 [INFO] running `Command { std: "docker" "start" "-a" "e10d78078a6e52a39ba7d7d3714c766bae17496b1613e8709f6e68bd5a56ef73", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling block-padding v0.2.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling unsigned-varint v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling strobe-rs v0.5.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling tiny-multihash-proc-macro v0.1.0 [INFO] [stderr] Compiling tiny-multihash v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.58s [INFO] running `Command { std: "docker" "inspect" "e10d78078a6e52a39ba7d7d3714c766bae17496b1613e8709f6e68bd5a56ef73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10d78078a6e52a39ba7d7d3714c766bae17496b1613e8709f6e68bd5a56ef73", kill_on_drop: false }` [INFO] [stdout] e10d78078a6e52a39ba7d7d3714c766bae17496b1613e8709f6e68bd5a56ef73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e8ce6e63a571c24c1bd4d3c28cf00bb1cf28a3645d69ddcb574ce4dfada3a4d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5e8ce6e63a571c24c1bd4d3c28cf00bb1cf28a3645d69ddcb574ce4dfada3a4d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling tiny-multihash v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tiny_multihash` [INFO] [stdout] --> tests/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tiny_multihash::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `tiny_multihash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Code` [INFO] [stdout] --> tests/lib.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | Code::$alg, [INFO] [stdout] | ^^^^ use of undeclared type or module `Code` [INFO] [stdout] ... [INFO] [stdout] 76 | / assert_decode! { [INFO] [stdout] 77 | | //Identity256, "000a68656c6c6f776f726c64"; [INFO] [stdout] 78 | | Sha1, "11147c8357577f51d4f0a8d393aa1aaafb28863d9421"; [INFO] [stdout] 79 | | Sha2_256, "1220936a185caaa266bb9cbe981e9e05cb78cd732b0b3280eb944412bb6f8f8f07af"; [INFO] [stdout] ... | [INFO] [stdout] 93 | | Blake2s128, "d0e4021037deae0226c30da2ab424a7b8ee14e83"; [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Code` [INFO] [stdout] --> tests/lib.rs:251:37 [INFO] [stdout] | [INFO] [stdout] 251 | let identity_code = ::from(Code::Identity256) as u8; [INFO] [stdout] | ^^^^ use of undeclared type or module `Code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Multihash` [INFO] [stdout] --> tests/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | Multihash::from(<$alg>::digest($data)).to_bytes(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 38 | / assert_encode! { [INFO] [stdout] 39 | | // A hash with a length bigger than 0x80, hence needing 2 bytes to encode the length [INFO] [stdout] 40 | | //Identity256, b"abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcd... [INFO] [stdout] 41 | | //Identity256, b"beep boop", "00096265657020626f6f70"; [INFO] [stdout] ... | [INFO] [stdout] 57 | | Blake2s128, b"hello world", "d0e4021037deae0226c30da2ab424a7b8ee14e83"; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Multihash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sha1` in this scope [INFO] [stdout] --> tests/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Sha1, b"beep boop", "11147c8357577f51d4f0a8d393aa1aaafb28863d9421"; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha1; [INFO] [stdout] | [INFO] [stdout] 1 | use sha1::Sha1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Multihash` [INFO] [stdout] --> tests/lib.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | Multihash::from(hasher.finalize()).to_bytes(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 38 | / assert_encode! { [INFO] [stdout] 39 | | // A hash with a length bigger than 0x80, hence needing 2 bytes to encode the length [INFO] [stdout] 40 | | //Identity256, b"abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcd... [INFO] [stdout] 41 | | //Identity256, b"beep boop", "00096265657020626f6f70"; [INFO] [stdout] ... | [INFO] [stdout] 57 | | Blake2s128, b"hello world", "d0e4021037deae0226c30da2ab424a7b8ee14e83"; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Multihash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sha2_256` in this scope [INFO] [stdout] --> tests/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Sha2_256, b"helloworld", "1220936a185caaa266bb9cbe981e9e05cb78cd732b0b3280eb944412bb6f8f8f07af"; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha2_256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sha2_256` in this scope [INFO] [stdout] --> tests/lib.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Sha2_256, b"beep boop", "122090ea688e275d580567325032492b597bc77221c62493e76330b85ddda191ef7c"; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha2_256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sha2_512` in this scope [INFO] [stdout] --> tests/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | ... Sha2_512, b"hello world", "1340309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830... [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha2_512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sha3_224` in this scope [INFO] [stdout] --> tests/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | Sha3_224, b"hello world", "171Cdfb7f18c77e928bb56faeb2da27291bd790bc1045cde45f3210bb6c5"; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha3_224; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Sha3_224; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sha3_256` in this scope [INFO] [stdout] --> tests/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Sha3_256, b"hello world", "1620644bcc7e564373040999aac89e7622f3ca71fba1d972fd94a31c3bfbf24e3938"; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha3_256; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Sha3_256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sha3_384` in this scope [INFO] [stdout] --> tests/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Sha3_384, b"hello world", "153083bff28dde1b1bf5810071c6643c08e5b05bdb836effd70b403ea8ea0a634dc4997eb1053aa3593f590f9c63630dd90b"; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha3_384; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Sha3_384; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sha3_512` in this scope [INFO] [stdout] --> tests/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | ... Sha3_512, b"hello world", "1440840006653e9ac9e95117a15c915caab81662918e925de9e004f774ff82d7079a40d4d27b1b372657c61d46d470304c88c788... [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha3_512; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Sha3_512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keccak224` in this scope [INFO] [stdout] --> tests/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Keccak224, b"hello world", "1A1C25f3ecfebabe99686282f57f5c9e1f18244cfee2813d33f955aae568"; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Keccak224; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Keccak224; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keccak256` in this scope [INFO] [stdout] --> tests/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Keccak256, b"hello world", "1B2047173285a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01fad"; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Keccak256; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Keccak256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keccak384` in this scope [INFO] [stdout] --> tests/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | Keccak384, b"hello world", "1C3065fc99339a2a40e99d3c40d695b22f278853ca0f925cde4254bcae5e22ece47e6441f91b6568425adc9d95b0072eb49f"; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Keccak384; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Keccak384; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keccak512` in this scope [INFO] [stdout] --> tests/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | ... Keccak512, b"hello world", "1D403ee2b40047b8060f68c67242175660f4174d0af5c01d47168ec20ed619b0b7c42181f40aa1046f39e2ef9efc6910782a998... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Keccak512; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Keccak512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blake2b512` in this scope [INFO] [stdout] --> tests/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | ... Blake2b512, b"hello world", "c0e40240021ced8799296ceca557832ab941a50b4a11f83478cf141f51f933f653ab9fbcc05a037cddbed06e309bf334942c4e... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Blake2b512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blake2s256` in this scope [INFO] [stdout] --> tests/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | Blake2s256, b"hello world", "e0e402209aec6806794561107e594b1f6a8a6b0c92a0cba9acf5e5e93cca06f781813b0b"; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Blake2s256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blake2b256` in this scope [INFO] [stdout] --> tests/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | Blake2b256, b"hello world", "a0e40220256c83b297114d201b30179f3f0ef0cace9783622da5974326b436178aeef610"; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Blake2b256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blake2s128` in this scope [INFO] [stdout] --> tests/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Blake2s128, b"hello world", "d0e4021037deae0226c30da2ab424a7b8ee14e83"; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Blake2s128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Multihash` [INFO] [stdout] --> tests/lib.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | Multihash::from_bytes(&hash).unwrap().code(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 76 | / assert_decode! { [INFO] [stdout] 77 | | //Identity256, "000a68656c6c6f776f726c64"; [INFO] [stdout] 78 | | Sha1, "11147c8357577f51d4f0a8d393aa1aaafb28863d9421"; [INFO] [stdout] 79 | | Sha2_256, "1220936a185caaa266bb9cbe981e9e05cb78cd732b0b3280eb944412bb6f8f8f07af"; [INFO] [stdout] ... | [INFO] [stdout] 93 | | Blake2s128, "d0e4021037deae0226c30da2ab424a7b8ee14e83"; [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Multihash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Multihash` [INFO] [stdout] --> tests/lib.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | let hash = Multihash::from($alg::digest(b"helloworld")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 123 | / assert_roundtrip!( [INFO] [stdout] 124 | | Identity256, [INFO] [stdout] 125 | | Sha1, [INFO] [stdout] 126 | | Sha2_256, [INFO] [stdout] ... | [INFO] [stdout] 137 | | Blake2s256 [INFO] [stdout] 138 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Multihash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Identity256` [INFO] [stdout] --> tests/lib.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | Identity256, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Identity256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Multihash` [INFO] [stdout] --> tests/lib.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | Multihash::from_bytes(&hash.to_bytes()).unwrap().code(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 123 | / assert_roundtrip!( [INFO] [stdout] 124 | | Identity256, [INFO] [stdout] 125 | | Sha1, [INFO] [stdout] 126 | | Sha2_256, [INFO] [stdout] ... | [INFO] [stdout] 137 | | Blake2s256 [INFO] [stdout] 138 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Multihash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Multihash` [INFO] [stdout] --> tests/lib.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | let hash = Multihash::from(hasher.finalize()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 123 | / assert_roundtrip!( [INFO] [stdout] 124 | | Identity256, [INFO] [stdout] 125 | | Sha1, [INFO] [stdout] 126 | | Sha2_256, [INFO] [stdout] ... | [INFO] [stdout] 137 | | Blake2s256 [INFO] [stdout] 138 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Multihash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Multihash` [INFO] [stdout] --> tests/lib.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | Multihash::from_bytes(&hash.to_bytes()).unwrap().code(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 123 | / assert_roundtrip!( [INFO] [stdout] 124 | | Identity256, [INFO] [stdout] 125 | | Sha1, [INFO] [stdout] 126 | | Sha2_256, [INFO] [stdout] ... | [INFO] [stdout] 137 | | Blake2s256 [INFO] [stdout] 138 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Multihash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Sha1` [INFO] [stdout] --> tests/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | Sha1, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha1; [INFO] [stdout] | [INFO] [stdout] 1 | use sha1::Sha1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Sha2_256` [INFO] [stdout] --> tests/lib.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | Sha2_256, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha2_256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Sha2_512` [INFO] [stdout] --> tests/lib.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | Sha2_512, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha2_512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Sha3_224` [INFO] [stdout] --> tests/lib.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | Sha3_224, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha3_224; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Sha3_224; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Sha3_256` [INFO] [stdout] --> tests/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | Sha3_256, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha3_256; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Sha3_256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Sha3_384` [INFO] [stdout] --> tests/lib.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | Sha3_384, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha3_384; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Sha3_384; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Sha3_512` [INFO] [stdout] --> tests/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | Sha3_512, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Sha3_512; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Sha3_512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keccak224` [INFO] [stdout] --> tests/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | Keccak224, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Keccak224; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Keccak224; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keccak256` [INFO] [stdout] --> tests/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Keccak256, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Keccak256; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Keccak256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keccak384` [INFO] [stdout] --> tests/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | Keccak384, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Keccak384; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Keccak384; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keccak512` [INFO] [stdout] --> tests/lib.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Keccak512, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Keccak512; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Keccak512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Blake2b512` [INFO] [stdout] --> tests/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | Blake2b512, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Blake2b512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Blake2s256` [INFO] [stdout] --> tests/lib.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | Blake2s256 [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Blake2s256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Identity256` [INFO] [stdout] --> tests/lib.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | Identity256::digest(input); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Identity256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Multihash` [INFO] [stdout] --> tests/lib.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | Multihash::from_bytes(&[]).is_err(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Multihash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Multihash` [INFO] [stdout] --> tests/lib.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | Multihash::from_bytes(&[1, 2, 3]).is_err(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Multihash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Multihash` [INFO] [stdout] --> tests/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | Multihash::from_bytes(&[1, 2, 3]).is_err(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Multihash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Multihash` [INFO] [stdout] --> tests/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | Multihash::from_bytes(&[0x12, 0x20, 0xff]).is_err(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Multihash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Multihash` [INFO] [stdout] --> tests/lib.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | Multihash::from_bytes(&[identity_code, identity_length, 1, 2, 3, 4]).is_err(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Multihash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-multihash`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5e8ce6e63a571c24c1bd4d3c28cf00bb1cf28a3645d69ddcb574ce4dfada3a4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e8ce6e63a571c24c1bd4d3c28cf00bb1cf28a3645d69ddcb574ce4dfada3a4d", kill_on_drop: false }` [INFO] [stdout] 5e8ce6e63a571c24c1bd4d3c28cf00bb1cf28a3645d69ddcb574ce4dfada3a4d