[INFO] fetching crate parity-scale-codec-derive 2.2.0... [INFO] testing parity-scale-codec-derive-2.2.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate parity-scale-codec-derive 2.2.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate parity-scale-codec-derive 2.2.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate parity-scale-codec-derive 2.2.0 [INFO] finished tweaking crates.io crate parity-scale-codec-derive 2.2.0 [INFO] tweaked toml for crates.io crate parity-scale-codec-derive 2.2.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f1c6f000d470b6ec5f9e0569a03d012edaf432993cc8112a214e504838d0a75 [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" "1f1c6f000d470b6ec5f9e0569a03d012edaf432993cc8112a214e504838d0a75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f1c6f000d470b6ec5f9e0569a03d012edaf432993cc8112a214e504838d0a75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f1c6f000d470b6ec5f9e0569a03d012edaf432993cc8112a214e504838d0a75", kill_on_drop: false }` [INFO] [stdout] 1f1c6f000d470b6ec5f9e0569a03d012edaf432993cc8112a214e504838d0a75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 570ab5f9f9f6ab4738d1d00e4628c0fd2c798bc10bfacfd61e175665bce8e18e [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" "570ab5f9f9f6ab4738d1d00e4628c0fd2c798bc10bfacfd61e175665bce8e18e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `crate_access` [INFO] [stdout] --> src/utils.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn crate_access() -> syn::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `codec_crate_path` [INFO] [stdout] --> src/utils.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn codec_crate_path(attrs: &[Attribute]) -> syn::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `custom_mel_trait_bound` [INFO] [stdout] --> src/utils.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn custom_mel_trait_bound(attrs: &[Attribute]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.12s [INFO] running `Command { std: "docker" "inspect" "570ab5f9f9f6ab4738d1d00e4628c0fd2c798bc10bfacfd61e175665bce8e18e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "570ab5f9f9f6ab4738d1d00e4628c0fd2c798bc10bfacfd61e175665bce8e18e", kill_on_drop: false }` [INFO] [stdout] 570ab5f9f9f6ab4738d1d00e4628c0fd2c798bc10bfacfd61e175665bce8e18e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--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] 8d4646d21d2e383ca8f1842e18bc57b5e2f5fb91f5f88a0a64efdf4938a54ad8 [INFO] running `Command { std: "docker" "start" "-a" "8d4646d21d2e383ca8f1842e18bc57b5e2f5fb91f5f88a0a64efdf4938a54ad8", kill_on_drop: false }` [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `crate_access` [INFO] [stdout] --> src/utils.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn crate_access() -> syn::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `codec_crate_path` [INFO] [stdout] --> src/utils.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn codec_crate_path(attrs: &[Attribute]) -> syn::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `custom_mel_trait_bound` [INFO] [stdout] --> src/utils.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn custom_mel_trait_bound(attrs: &[Attribute]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `crate_access` [INFO] [stdout] --> src/utils.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn crate_access() -> syn::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `codec_crate_path` [INFO] [stdout] --> src/utils.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn codec_crate_path(attrs: &[Attribute]) -> syn::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `custom_mel_trait_bound` [INFO] [stdout] --> src/utils.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn custom_mel_trait_bound(attrs: &[Attribute]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "8d4646d21d2e383ca8f1842e18bc57b5e2f5fb91f5f88a0a64efdf4938a54ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d4646d21d2e383ca8f1842e18bc57b5e2f5fb91f5f88a0a64efdf4938a54ad8", kill_on_drop: false }` [INFO] [stdout] 8d4646d21d2e383ca8f1842e18bc57b5e2f5fb91f5f88a0a64efdf4938a54ad8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de23aa9faaec7acd65ce3a031f8d8eb385c581c355a51125662f7b4d8aeddc96 [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" "de23aa9faaec7acd65ce3a031f8d8eb385c581c355a51125662f7b4d8aeddc96", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `crate_access` [INFO] [stderr] --> src/utils.rs:125:4 [INFO] [stderr] | [INFO] [stderr] 125 | fn crate_access() -> syn::Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `codec_crate_path` [INFO] [stderr] --> src/utils.rs:174:8 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn codec_crate_path(attrs: &[Attribute]) -> syn::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `custom_mel_trait_bound` [INFO] [stderr] --> src/utils.rs:227:8 [INFO] [stderr] | [INFO] [stderr] 227 | pub fn custom_mel_trait_bound(attrs: &[Attribute]) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `parity-scale-codec-derive` (lib) generated 3 warnings [INFO] [stderr] warning: `parity-scale-codec-derive` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/parity_scale_codec_derive-6c023f5a7d60f501) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests parity-scale-codec-derive [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - compact_as_derive (line 234) ... FAILED [INFO] [stdout] test src/lib.rs - encode_derive (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - encode_derive (line 122) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - compact_as_derive (line 234) stdout ---- [INFO] [stdout] error: Could not find `parity-scale-codec` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`! [INFO] [stdout] --> src/lib.rs:238:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(CompactAs)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `CompactAs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec` [INFO] [stdout] --> src/lib.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 5 | use parity_scale_codec::{Encode, HasCompact}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `_parity_scale_codec` [INFO] [stdout] --> src/lib.rs:238:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(CompactAs)] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `_parity_scale_codec` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `CompactAs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - encode_derive (line 92) stdout ---- [INFO] [stdout] error: Could not find `parity-scale-codec` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`! [INFO] [stdout] --> src/lib.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Encode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec` [INFO] [stdout] --> src/lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 5 | use parity_scale_codec::{Encode as _, HasCompact}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `_parity_scale_codec` [INFO] [stdout] --> src/lib.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Encode)] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `_parity_scale_codec` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `_parity_scale_codec` [INFO] [stdout] --> src/lib.rs:99:2 [INFO] [stdout] | [INFO] [stdout] 10 | / #[codec(compact)] [INFO] [stdout] 11 | | b: u32, [INFO] [stdout] | |__________^ use of undeclared crate or module `_parity_scale_codec` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `_parity_scale_codec` [INFO] [stdout] --> src/lib.rs:101:2 [INFO] [stdout] | [INFO] [stdout] 12 | / #[codec(encoded_as = "::Type")] [INFO] [stdout] 13 | | c: u32, [INFO] [stdout] | |__________^ use of undeclared crate or module `_parity_scale_codec` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - encode_derive (line 122) stdout ---- [INFO] [stdout] error: Could not find `parity-scale-codec` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`! [INFO] [stdout] --> src/lib.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Encode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parity_scale_codec` [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 5 | use parity_scale_codec::Encode as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parity_scale_codec` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `_parity_scale_codec` [INFO] [stdout] --> src/lib.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Encode)] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `_parity_scale_codec` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - compact_as_derive (line 234) [INFO] [stdout] src/lib.rs - encode_derive (line 122) [INFO] [stdout] src/lib.rs - encode_derive (line 92) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "de23aa9faaec7acd65ce3a031f8d8eb385c581c355a51125662f7b4d8aeddc96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de23aa9faaec7acd65ce3a031f8d8eb385c581c355a51125662f7b4d8aeddc96", kill_on_drop: false }` [INFO] [stdout] de23aa9faaec7acd65ce3a031f8d8eb385c581c355a51125662f7b4d8aeddc96