[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#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoneywest%2Fsubstrate-20180516" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/honeywest/substrate-20180516 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-13/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04f2c0c08ea5ebe43b0e4bd24c2b48c79e205cd1dbe4e7238467ae49888a139c [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" "04f2c0c08ea5ebe43b0e4bd24c2b48c79e205cd1dbe4e7238467ae49888a139c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04f2c0c08ea5ebe43b0e4bd24c2b48c79e205cd1dbe4e7238467ae49888a139c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04f2c0c08ea5ebe43b0e4bd24c2b48c79e205cd1dbe4e7238467ae49888a139c", kill_on_drop: false }` [INFO] [stdout] 04f2c0c08ea5ebe43b0e4bd24c2b48c79e205cd1dbe4e7238467ae49888a139c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1575ca2ee1d1fca97e2870ec10f7d5947a67401198ba7d6bec06372b66f5831f [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" "1575ca2ee1d1fca97e2870ec10f7d5947a67401198ba7d6bec06372b66f5831f", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Checking nodrop v0.1.12 [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 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 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] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking fnv v1.0.6 [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] Compiling getopts v0.2.17 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking edit-distance v2.0.1 [INFO] [stderr] Checking mem v0.1.0 (https://github.com/paritytech/parity.git#0ecbb3ec) [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking ipnetwork v0.12.7 [INFO] [stderr] Checking path v0.1.0 (https://github.com/paritytech/parity.git#0ecbb3ec) [INFO] [stderr] Checking slab v0.2.0 [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 unicode-width v0.1.4 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking assert_matches v1.1.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking fdlimit v0.1.1 [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ethereum-types-serialize v0.2.1 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 net2 v0.2.31 [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking relay v0.1.1 [INFO] [stderr] Checking tokio-timer v0.1.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Compiling pulldown-cmark v0.0.3 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking serde_json v1.0.9 [INFO] [stderr] Checking pretty_assertions v0.4.1 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Compiling proc-macro-hack v0.4.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking mio v0.6.13 [INFO] [stderr] Checking elastic-array v0.10.0 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking url v1.7.0 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Compiling rustc_version v0.2.1 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking fixed-hash v0.1.3 (https://github.com/rphmeier/primitives.git?branch=compile-for-wasm#8dc45789) [INFO] [stderr] Checking fixed-hash v0.2.1 [INFO] [stderr] Checking fixed-hash v0.1.3 [INFO] [stderr] Compiling hex-literal-impl v0.1.0 [INFO] [stderr] Checking regex v0.2.5 [INFO] [stderr] Checking chrono v0.4.2 [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] [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] Checking tokio-io v0.1.4 [INFO] [stderr] error: could not compile `fixed-hash` [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] [stdout] error[E0713]: borrow may still be in use when destructor runs [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/url-1.7.0/src/form_urlencoded.rs:261:40 [INFO] [stdout] | [INFO] [stdout] 259 | impl<'a> Target for ::UrlQuery<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 260 | fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization } [INFO] [stdout] 261 | fn finish(self) -> &'a mut ::Url { self.url } [INFO] [stdout] | ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery<'_>` implements the `Drop` trait [INFO] [stdout] | | [INFO] [stdout] | returning this value requires that `*self.url` is borrowed for `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0713`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1575ca2ee1d1fca97e2870ec10f7d5947a67401198ba7d6bec06372b66f5831f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1575ca2ee1d1fca97e2870ec10f7d5947a67401198ba7d6bec06372b66f5831f", kill_on_drop: false }` [INFO] [stdout] 1575ca2ee1d1fca97e2870ec10f7d5947a67401198ba7d6bec06372b66f5831f