[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 try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fparity-codec" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paritytech/parity-codec on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f99503100f7383604701f43dd05abd13a321ee2669724b9b48c0b7d60487e240 [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" "f99503100f7383604701f43dd05abd13a321ee2669724b9b48c0b7d60487e240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f99503100f7383604701f43dd05abd13a321ee2669724b9b48c0b7d60487e240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99503100f7383604701f43dd05abd13a321ee2669724b9b48c0b7d60487e240", kill_on_drop: false }` [INFO] [stdout] f99503100f7383604701f43dd05abd13a321ee2669724b9b48c0b7d60487e240 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d699dcb9d29001bae8f4bbdda3fb0d0583f9906d63b19d95a7d5ead16cc22e0c [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" "d699dcb9d29001bae8f4bbdda3fb0d0583f9906d63b19d95a7d5ead16cc22e0c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling arrayvec v0.5.1 [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 43.42s [INFO] running `Command { std: "docker" "inspect" "d699dcb9d29001bae8f4bbdda3fb0d0583f9906d63b19d95a7d5ead16cc22e0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d699dcb9d29001bae8f4bbdda3fb0d0583f9906d63b19d95a7d5ead16cc22e0c", kill_on_drop: false }` [INFO] [stdout] d699dcb9d29001bae8f4bbdda3fb0d0583f9906d63b19d95a7d5ead16cc22e0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50f96402ee72a78101fc2a545d288730ed9c56706a76c33ee5548920d83b1257 [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" "50f96402ee72a78101fc2a545d288730ed9c56706a76c33ee5548920d83b1257", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling parity-scale-codec v1.3.0 (/opt/rustwide/workdir) [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" "50f96402ee72a78101fc2a545d288730ed9c56706a76c33ee5548920d83b1257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50f96402ee72a78101fc2a545d288730ed9c56706a76c33ee5548920d83b1257", kill_on_drop: false }` [INFO] [stdout] 50f96402ee72a78101fc2a545d288730ed9c56706a76c33ee5548920d83b1257