[INFO] cloning repository https://github.com/honeywest/substrate-20180516 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/honeywest/substrate-20180516" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoneywest%2Fsubstrate-20180516", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoneywest%2Fsubstrate-20180516'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c3cee9e0c5e87be2b6cdfa15aaaffb8fbefde99 [INFO] checking honeywest/substrate-20180516 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoneywest%2Fsubstrate-20180516" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/honeywest/substrate-20180516 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/honeywest/substrate-20180516 [INFO] finished tweaking git repo https://github.com/honeywest/substrate-20180516 [INFO] tweaked toml for git repo https://github.com/honeywest/substrate-20180516 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/honeywest/substrate-20180516 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b460d7c135c714b6e3e17735ce9d915f1a64fb30095d76b17e84bb439b1d3699 [INFO] running `Command { std: "docker" "start" "-a" "b460d7c135c714b6e3e17735ce9d915f1a64fb30095d76b17e84bb439b1d3699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b460d7c135c714b6e3e17735ce9d915f1a64fb30095d76b17e84bb439b1d3699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b460d7c135c714b6e3e17735ce9d915f1a64fb30095d76b17e84bb439b1d3699", kill_on_drop: false }` [INFO] [stdout] b460d7c135c714b6e3e17735ce9d915f1a64fb30095d76b17e84bb439b1d3699 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] beac9f375448d5553ad677b192bcdddb014948eb58f05ad343f36e62b27684f1 [INFO] running `Command { std: "docker" "start" "-a" "beac9f375448d5553ad677b192bcdddb014948eb58f05ad343f36e62b27684f1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking serde v1.0.27 [INFO] [stderr] Checking rustc-hex v1.0.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Checking smallvec v0.6.0 [INFO] [stderr] Checking stable_deref_trait v1.0.0 [INFO] [stderr] Checking tiny-keccak v1.4.0 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking pwasm-libc v0.1.0 (/opt/rustwide/workdir/substrate/pwasm-libc) [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.0 [INFO] [stderr] Checking untrusted v0.5.1 [INFO] [stderr] Checking constant_time_eq v0.1.3 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking rustc-hex v2.0.0 (https://github.com/rphmeier/rustc-hex.git#ee2ec40b) [INFO] [stderr] Checking environmental v0.1.0 (/opt/rustwide/workdir/substrate/environmental) [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking num-traits v0.1.42 [INFO] [stderr] Checking integer-sqrt v0.1.0 (https://github.com/paritytech/integer-sqrt-rs.git?branch=master#f4cf6148) [INFO] [stderr] Checking futures v0.1.18 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking httparse v1.2.4 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking ethcore-bytes v0.1.0 (https://github.com/paritytech/parity.git#0ecbb3ec) [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Compiling getopts v0.2.17 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking edit-distance v2.0.1 [INFO] [stderr] Checking matches v0.1.6 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking mem v0.1.0 (https://github.com/paritytech/parity.git#0ecbb3ec) [INFO] [stderr] Checking ipnetwork v0.12.7 [INFO] [stderr] Checking unicode-normalization v0.1.5 [INFO] [stderr] Checking slab v0.2.0 [INFO] [stderr] Checking path v0.1.0 (https://github.com/paritytech/parity.git#0ecbb3ec) [INFO] [stderr] Checking smallvec v0.4.4 [INFO] [stderr] Checking sha1 v0.2.0 [INFO] [stderr] Checking interleaved-ordered v0.1.1 [INFO] [stderr] Checking subtle v0.5.1 [INFO] [stderr] Checking hex v0.3.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking xdg v2.1.0 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking assert_matches v1.1.0 [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> substrate/environmental/src/lib.rs:229:53 [INFO] [stdout] | [INFO] [stdout] 229 | fn stuff() { counter::with(|value| *value += 1); }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> substrate/environmental/src/lib.rs:265:23 [INFO] [stdout] | [INFO] [stdout] 265 | environmental!(foo: Foo + 'static); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Foo + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> substrate/environmental/src/lib.rs:265:23 [INFO] [stdout] | [INFO] [stdout] 265 | environmental!(foo: Foo + 'static); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Foo + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> substrate/environmental/src/lib.rs:197:71 [INFO] [stdout] | [INFO] [stdout] 197 | thread_local_impl!(static GLOBAL: $crate::imp::RefCell> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn $t + 'static` [INFO] [stdout] ... [INFO] [stdout] 316 | environmental!(sum: trait Sum); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `environmental` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> substrate/environmental/src/lib.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | protected: &mut $t, [INFO] [stdout] | ^^ help: use `dyn`: `dyn $t` [INFO] [stdout] ... [INFO] [stdout] 316 | environmental!(sum: trait Sum); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `environmental` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> substrate/environmental/src/lib.rs:208:36 [INFO] [stdout] | [INFO] [stdout] 208 | $crate::imp::transmute::<&mut $t, &mut ($t + 'static)>(protected) [INFO] [stdout] | ^^ help: use `dyn`: `dyn $t` [INFO] [stdout] ... [INFO] [stdout] 316 | environmental!(sum: trait Sum); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `environmental` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> substrate/environmental/src/lib.rs:208:46 [INFO] [stdout] | [INFO] [stdout] 208 | $crate::imp::transmute::<&mut $t, &mut ($t + 'static)>(protected) [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn $t + 'static` [INFO] [stdout] ... [INFO] [stdout] 316 | environmental!(sum: trait Sum); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `environmental` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> substrate/environmental/src/lib.rs:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn with FnOnce(&'a mut ($t + 'a)) -> R>( [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn $t + 'a` [INFO] [stdout] ... [INFO] [stdout] 316 | environmental!(sum: trait Sum); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `environmental` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking fdlimit v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling pulldown-cmark v0.0.3 [INFO] [stderr] Checking pretty_assertions v0.4.1 [INFO] [stderr] Compiling rustc_version v0.2.1 [INFO] [stderr] Checking base64 v0.9.0 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking ctrlc v1.1.1 (https://github.com/paritytech/rust-ctrlc.git#b5230171) [INFO] [stderr] Checking remove_dir_all v0.3.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Compiling proc-macro-hack v0.4.0 [INFO] [stderr] Checking idna v0.1.4 [INFO] [stderr] Checking plain_hasher v0.1.0 [INFO] [stderr] Checking mio v0.6.13 [INFO] [stderr] Checking regex v0.2.5 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling tempdir v0.3.6 [INFO] [stderr] Checking xmltree v0.7.0 [INFO] [stderr] Checking fixed-hash v0.1.3 (https://github.com/rphmeier/primitives.git?branch=compile-for-wasm#8dc45789) [INFO] [stderr] Compiling hex-literal-impl v0.1.0 [INFO] [stderr] Checking elastic-array v0.9.0 [INFO] [stderr] Checking fixed-hash v0.2.1 [INFO] [stderr] Checking elastic-array v0.10.0 [INFO] [stderr] Checking fixed-hash v0.1.3 [INFO] [stderr] Checking chrono v0.4.2 [INFO] [stderr] Checking parking_lot_core v0.2.10 [INFO] [stderr] Checking twox-hash v1.1.0 [INFO] [stderr] Compiling pwasm-alloc v0.1.0 (/opt/rustwide/workdir/substrate/pwasm-alloc) [INFO] [stderr] Compiling substrate-runtime-std v0.1.0 (/opt/rustwide/workdir/substrate/runtime-std) [INFO] [stderr] Compiling uint v0.1.2 (https://github.com/rphmeier/primitives.git?branch=compile-for-wasm#8dc45789) [INFO] [stderr] Compiling bigint v4.2.0 [INFO] [stderr] Compiling substrate-runtime-io v0.1.0 (/opt/rustwide/workdir/substrate/runtime-io) [INFO] [stdout] error[E0428]: the name `impl_heapsize_for_hash` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fixed-hash-0.2.1/src/hash.rs:431:1 [INFO] [stdout] | [INFO] [stdout] 325 | macro_rules! impl_heapsize_for_hash { [INFO] [stdout] | ----------------------------------- previous definition of the macro `impl_heapsize_for_hash` here [INFO] [stdout] ... [INFO] [stdout] 431 | macro_rules! impl_heapsize_for_hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `impl_heapsize_for_hash` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `impl_heapsize_for_hash` must be defined only once in the macro namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling safe-mix v0.1.0 (/opt/rustwide/workdir/safe-mix) [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] Compiling substrate-runtime-sandbox v0.1.0 (/opt/rustwide/workdir/substrate/runtime-sandbox) [INFO] [stderr] error: could not compile `fixed-hash` due to 2 previous errors [INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/twox-hash-1.1.0/src/number_streams.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | fn count(self) -> usize() { [INFO] [stdout] | ^^^^^^^ only `Fn` traits may use parentheses [INFO] [stdout] ... [INFO] [stdout] 74 | number_stream!(U32FromBytes, u32, U32_BYTES); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `number_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/twox-hash-1.1.0/src/number_streams.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | fn count(self) -> usize() { [INFO] [stdout] | ^^^^^^^ only `Fn` traits may use parentheses [INFO] [stdout] ... [INFO] [stdout] 75 | number_stream!(U64FromBytes, u64, U64_BYTES); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `number_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0214`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "beac9f375448d5553ad677b192bcdddb014948eb58f05ad343f36e62b27684f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beac9f375448d5553ad677b192bcdddb014948eb58f05ad343f36e62b27684f1", kill_on_drop: false }` [INFO] [stdout] beac9f375448d5553ad677b192bcdddb014948eb58f05ad343f36e62b27684f1