[INFO] cloning 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" "clone" "--bare" "https://github.com/paritytech/parity-codec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fparity-codec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fparity-codec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e966cb30c391fbdbc31796ec14d1c1aafa61034 [INFO] checking paritytech/parity-codec against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fparity-codec" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paritytech/parity-codec on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b487bc3d1bd5c43aca4ccd6b75b5c991a7125b2c69eca0b5b60c775f3b2ba71 [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" "9b487bc3d1bd5c43aca4ccd6b75b5c991a7125b2c69eca0b5b60c775f3b2ba71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b487bc3d1bd5c43aca4ccd6b75b5c991a7125b2c69eca0b5b60c775f3b2ba71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b487bc3d1bd5c43aca4ccd6b75b5c991a7125b2c69eca0b5b60c775f3b2ba71", kill_on_drop: false }` [INFO] [stdout] 9b487bc3d1bd5c43aca4ccd6b75b5c991a7125b2c69eca0b5b60c775f3b2ba71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--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] 5ddff2106e4619efb3d079494a838d09966eaad900bed65d9f3b17e3cbadc516 [INFO] running `Command { std: "docker" "start" "-a" "5ddff2106e4619efb3d079494a838d09966eaad900bed65d9f3b17e3cbadc516", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking parity-scale-codec v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.2 [INFO] [stderr] Checking criterion v0.3.3 [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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5ddff2106e4619efb3d079494a838d09966eaad900bed65d9f3b17e3cbadc516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ddff2106e4619efb3d079494a838d09966eaad900bed65d9f3b17e3cbadc516", kill_on_drop: false }` [INFO] [stdout] 5ddff2106e4619efb3d079494a838d09966eaad900bed65d9f3b17e3cbadc516