[INFO] updating cached repository https://github.com/paritytech/parity-codec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a54a3dd86407953162d5f4b65a45fe6f7d69f789 [INFO] testing paritytech/parity-codec against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fparity-codec" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paritytech/parity-codec 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 git repo https://github.com/paritytech/parity-codec [INFO] removed workspace from git repo https://github.com/paritytech/parity-codec [INFO] removed path dependency parity-scale-codec-derive from git repo https://github.com/paritytech/parity-codec [INFO] removed path dependency parity-scale-codec-derive from git repo https://github.com/paritytech/parity-codec [INFO] finished tweaking git repo https://github.com/paritytech/parity-codec [INFO] tweaked toml for git repo https://github.com/paritytech/parity-codec written to /workspace/builds/worker-5/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de38b0b17f20e2b18456ec4977057579c5c25413ac4e471e7cde2ee2b79acce9 [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" "de38b0b17f20e2b18456ec4977057579c5c25413ac4e471e7cde2ee2b79acce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de38b0b17f20e2b18456ec4977057579c5c25413ac4e471e7cde2ee2b79acce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de38b0b17f20e2b18456ec4977057579c5c25413ac4e471e7cde2ee2b79acce9", kill_on_drop: false }` [INFO] [stdout] de38b0b17f20e2b18456ec4977057579c5c25413ac4e471e7cde2ee2b79acce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cd6cc11d289f3a458969e930ba1566df4329fbb8264d341d53e8ac652158d34 [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" "2cd6cc11d289f3a458969e930ba1566df4329fbb8264d341d53e8ac652158d34", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling parity-scale-codec v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.90s [INFO] running `Command { std: "docker" "inspect" "2cd6cc11d289f3a458969e930ba1566df4329fbb8264d341d53e8ac652158d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd6cc11d289f3a458969e930ba1566df4329fbb8264d341d53e8ac652158d34", kill_on_drop: false }` [INFO] [stdout] 2cd6cc11d289f3a458969e930ba1566df4329fbb8264d341d53e8ac652158d34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c11088180b2796afe42c4e00b4e1e6244e80bdd3ec98fa6fedc1faeb857467c3 [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" "c11088180b2796afe42c4e00b4e1e6244e80bdd3ec98fa6fedc1faeb857467c3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling oorandom v11.1.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling rand_core v0.5.1 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [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 parity-scale-codec v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0053]: method `decode_from` has an incompatible type for trait [INFO] [stdout] --> tests/single_field_struct_encoding.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^^^^ expected enum `std::result::Result`, found struct `SSkip` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(_) -> std::result::Result` [INFO] [stdout] found fn pointer `fn(_) -> SSkip` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `decode_from` has an incompatible type for trait [INFO] [stdout] --> tests/single_field_struct_encoding.rs:36:61 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^^^^ expected enum `std::result::Result`, found struct `U` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(_) -> std::result::Result` [INFO] [stdout] found fn pointer `fn(_) -> U` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `decode_from` has an incompatible type for trait [INFO] [stdout] --> tests/single_field_struct_encoding.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^^^^ expected enum `std::result::Result`, found struct `U2` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(_) -> std::result::Result` [INFO] [stdout] found fn pointer `fn(_) -> U2` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `decode_from` has an incompatible type for trait [INFO] [stdout] --> tests/single_field_struct_encoding.rs:44:61 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Encode, Decode, CompactAs)] [INFO] [stdout] | ^^^^^^^^^ expected enum `std::result::Result`, found struct `USkip` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(_) -> std::result::Result` [INFO] [stdout] found fn pointer `fn(_) -> USkip` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> tests/mod.rs:542:27 [INFO] [stdout] | [INFO] [stdout] 537 | field: u8 [INFO] [stdout] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] ... [INFO] [stdout] 542 | make_struct!(#[derive(Encode, Decode)]); [INFO] [stdout] | ^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parity-scale-codec`. [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0424`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c11088180b2796afe42c4e00b4e1e6244e80bdd3ec98fa6fedc1faeb857467c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c11088180b2796afe42c4e00b4e1e6244e80bdd3ec98fa6fedc1faeb857467c3", kill_on_drop: false }` [INFO] [stdout] c11088180b2796afe42c4e00b4e1e6244e80bdd3ec98fa6fedc1faeb857467c3