[INFO] cloning repository https://github.com/AurevoirXavier/substrate-expand [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AurevoirXavier/substrate-expand" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAurevoirXavier%2Fsubstrate-expand", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAurevoirXavier%2Fsubstrate-expand'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6cfdfc93b8d395b6be3e5f0af07bdc914f878e19 [INFO] checking AurevoirXavier/substrate-expand against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAurevoirXavier%2Fsubstrate-expand" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AurevoirXavier/substrate-expand [INFO] finished tweaking git repo https://github.com/AurevoirXavier/substrate-expand [INFO] tweaked toml for git repo https://github.com/AurevoirXavier/substrate-expand written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AurevoirXavier/substrate-expand on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AurevoirXavier/substrate-expand already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bf10cdfc8ee35f7f111946ca94d5e87a746015f77d5dc2a545930342db44c5c [INFO] running `Command { std: "docker" "start" "-a" "1bf10cdfc8ee35f7f111946ca94d5e87a746015f77d5dc2a545930342db44c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bf10cdfc8ee35f7f111946ca94d5e87a746015f77d5dc2a545930342db44c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bf10cdfc8ee35f7f111946ca94d5e87a746015f77d5dc2a545930342db44c5c", kill_on_drop: false }` [INFO] [stdout] 1bf10cdfc8ee35f7f111946ca94d5e87a746015f77d5dc2a545930342db44c5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd995ac853a389d0dfaee93f742d9eda39d528520f1714769959ca875a941b46 [INFO] running `Command { std: "docker" "start" "-a" "bd995ac853a389d0dfaee93f742d9eda39d528520f1714769959ca875a941b46", kill_on_drop: false }` [INFO] [stderr] Checking simple-runtime-expand v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `impls::Data` [INFO] [stdout] --> src/main.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | pub use impls::Data; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls::Data` [INFO] [stdout] --> src/main.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | pub use impls::Data; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_value` [INFO] [stdout] --> src/main.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | fn put(new_value: T::Data) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/main.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | fn get(origin: T::Origin) -> sp_runtime::DispatchResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/main.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | fn put(origin: T::Origin, new_value: T::Balance) -> sp_runtime::DispatchResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_value` [INFO] [stdout] --> src/main.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | fn put(origin: T::Origin, new_value: T::Balance) -> sp_runtime::DispatchResult { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_value` [INFO] [stdout] --> src/main.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | fn put(new_value: T::Data) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/main.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | fn get(origin: T::Origin) -> sp_runtime::DispatchResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/main.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | fn put(origin: T::Origin, new_value: T::Balance) -> sp_runtime::DispatchResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_value` [INFO] [stdout] --> src/main.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | fn put(origin: T::Origin, new_value: T::Balance) -> sp_runtime::DispatchResult { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `MemoryStorage` is never constructed [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct MemoryStorage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Store` is never used [INFO] [stdout] --> src/main.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | trait Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/main.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct MemoryStorage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 54 | data: T::Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SimpleUser` is never used [INFO] [stdout] --> src/main.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | pub type SimpleUser = u8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Value` is never used [INFO] [stdout] --> src/main.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | pub type Value = u8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `System` is never used [INFO] [stdout] --> src/main.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | pub type System = frame_system::Module; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Instance1` is never used [INFO] [stdout] --> src/main.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | pub type Instance1 = pallet_instance::Module; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Instance2` is never used [INFO] [stdout] --> src/main.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | pub type Instance2 = pallet_instance::Module; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `MemoryStorage` is never constructed [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct MemoryStorage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Store` is never used [INFO] [stdout] --> src/main.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | trait Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/main.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct MemoryStorage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 54 | data: T::Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SimpleUser` is never used [INFO] [stdout] --> src/main.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | pub type SimpleUser = u8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Value` is never used [INFO] [stdout] --> src/main.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | pub type Value = u8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Runtime` is never constructed [INFO] [stdout] --> src/main.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct Runtime; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Call` is never used [INFO] [stdout] --> src/main.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | pub enum Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/main.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `System` is never used [INFO] [stdout] --> src/main.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | pub type System = frame_system::Module; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Instance1` is never used [INFO] [stdout] --> src/main.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | pub type Instance1 = pallet_instance::Module; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Instance2` is never used [INFO] [stdout] --> src/main.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | pub type Instance2 = pallet_instance::Module; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Runtime` is never constructed [INFO] [stdout] --> src/main.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct Runtime; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Call` is never used [INFO] [stdout] --> src/main.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | pub enum Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/main.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-runtime-expand` (bin "simple-runtime-expand" test) due to 1 previous error; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `simple-runtime-expand` (bin "simple-runtime-expand") due to 1 previous error; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bd995ac853a389d0dfaee93f742d9eda39d528520f1714769959ca875a941b46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd995ac853a389d0dfaee93f742d9eda39d528520f1714769959ca875a941b46", kill_on_drop: false }` [INFO] [stdout] bd995ac853a389d0dfaee93f742d9eda39d528520f1714769959ca875a941b46