[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] [stderr] From https://github.com/paritytech/parity-codec [INFO] [stderr] * [new branch] ci_opts -> ci_opts [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8cd17dd1fac20c35c6433cc598d649ea330dc44 [INFO] checking paritytech/parity-codec against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fparity-codec" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paritytech/parity-codec on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "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" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13fbdad29c4861972850548f94c3e3a45982a82dcdffec621de39b00d426a99e [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" "13fbdad29c4861972850548f94c3e3a45982a82dcdffec621de39b00d426a99e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13fbdad29c4861972850548f94c3e3a45982a82dcdffec621de39b00d426a99e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13fbdad29c4861972850548f94c3e3a45982a82dcdffec621de39b00d426a99e", kill_on_drop: false }` [INFO] [stdout] 13fbdad29c4861972850548f94c3e3a45982a82dcdffec621de39b00d426a99e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b6c5b6dc1a7d4ddd1be6d50ea141dd1b29b1d75e5c8960570fd18da430aa0ef [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" "4b6c5b6dc1a7d4ddd1be6d50ea141dd1b29b1d75e5c8960570fd18da430aa0ef", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [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] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking serde_json v1.0.55 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking parity-scale-codec v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Checking criterion v0.3.2 [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[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] [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" "4b6c5b6dc1a7d4ddd1be6d50ea141dd1b29b1d75e5c8960570fd18da430aa0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6c5b6dc1a7d4ddd1be6d50ea141dd1b29b1d75e5c8960570fd18da430aa0ef", kill_on_drop: false }` [INFO] [stdout] 4b6c5b6dc1a7d4ddd1be6d50ea141dd1b29b1d75e5c8960570fd18da430aa0ef