[INFO] fetching crate ink_codegen 6.0.0-beta.1... [INFO] testing ink_codegen-6.0.0-beta.1 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] extracting crate ink_codegen 6.0.0-beta.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ink_codegen 6.0.0-beta.1 [INFO] finished tweaking crates.io crate ink_codegen 6.0.0-beta.1 [INFO] tweaked toml for crates.io crate ink_codegen 6.0.0-beta.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ink_codegen 6.0.0-beta.1 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ink_codegen 6.0.0-beta.1 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] effde14b1fafa1dbbc5fd5bbcfff48235f894637219d3ded6ba013f7c6b50abc [INFO] running `Command { std: "docker" "start" "-a" "effde14b1fafa1dbbc5fd5bbcfff48235f894637219d3ded6ba013f7c6b50abc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "effde14b1fafa1dbbc5fd5bbcfff48235f894637219d3ded6ba013f7c6b50abc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "effde14b1fafa1dbbc5fd5bbcfff48235f894637219d3ded6ba013f7c6b50abc", kill_on_drop: false }` [INFO] [stdout] effde14b1fafa1dbbc5fd5bbcfff48235f894637219d3ded6ba013f7c6b50abc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 500a0958fce6c3b7bb0c6fda33e4724b4fddcb852af3b26e476879e5fd2c4e19 [INFO] running `Command { std: "docker" "start" "-a" "500a0958fce6c3b7bb0c6fda33e4724b4fddcb852af3b26e476879e5fd2c4e19", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling jam-codec v0.1.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling const-hex v1.17.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling scale-type-resolver v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ruint v1.17.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling polkavm-common v0.29.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling ink_prelude v6.0.0-beta.1 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling syn-solidity v1.4.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling polkavm-derive-impl v0.29.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling jam-codec-derive v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling alloy-sol-macro-input v1.4.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.4.1 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pallet-revive-proc-macro v0.5.0 [INFO] [stderr] Compiling polkavm-derive-impl-macro v0.29.0 [INFO] [stderr] Compiling scale-decode-derive v0.16.0 [INFO] [stderr] Compiling schnorrkel v0.11.5 [INFO] [stderr] Compiling ed25519-zebra v4.1.0 [INFO] [stderr] Compiling scale-encode-derive v0.10.0 [INFO] [stderr] Compiling polkavm-derive v0.29.0 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling pallet-revive-uapi v0.8.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling alloy-primitives v1.4.1 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling scale-bits v0.7.0 [INFO] [stderr] Compiling scale-encode v0.10.0 [INFO] [stderr] Compiling ink_ir v6.0.0-beta.1 [INFO] [stderr] Compiling alloy-sol-macro v1.4.1 [INFO] [stderr] Compiling scale-decode v0.16.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling alloy-sol-types v1.4.1 [INFO] [stderr] Compiling bounded-collections v0.3.2 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling sp-core v38.1.0 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling sp-arithmetic v28.0.0 [INFO] [stderr] Compiling sp-weights v33.1.0 [INFO] [stderr] Compiling ink_primitives v6.0.0-beta.1 [INFO] [stderr] Compiling ink_codegen v6.0.0-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SolidityMetadata` is never constructed [INFO] [stdout] --> src/generator/sol/metadata.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SolidityMetadata<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `constructors` and `messages` are never used [INFO] [stdout] --> src/generator/sol/metadata.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl SolidityMetadata<'_> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 69 | /// Generates Solidity ABI compatible metadata for all ink! constructors. [INFO] [stdout] 70 | fn constructors(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn messages(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `params_info` is never used [INFO] [stdout] --> src/generator/sol/metadata.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn params_info(inputs: InputsIter<'_>) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sol_return_type` is never used [INFO] [stdout] --> src/generator/sol/utils.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn sol_return_type(ty: &Type) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_docs` is never used [INFO] [stdout] --> src/generator/sol/utils.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn extract_docs(attrs: &[Attribute]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "500a0958fce6c3b7bb0c6fda33e4724b4fddcb852af3b26e476879e5fd2c4e19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "500a0958fce6c3b7bb0c6fda33e4724b4fddcb852af3b26e476879e5fd2c4e19", kill_on_drop: false }` [INFO] [stdout] 500a0958fce6c3b7bb0c6fda33e4724b4fddcb852af3b26e476879e5fd2c4e19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab7b8bd7c30013cb4e23faf7471a2e976e10afe99a048f9c1d48f1c5e2fb647e [INFO] running `Command { std: "docker" "start" "-a" "ab7b8bd7c30013cb4e23faf7471a2e976e10afe99a048f9c1d48f1c5e2fb647e", kill_on_drop: false }` [INFO] [stderr] Compiling ink_codegen v6.0.0-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SolidityMetadata` is never constructed [INFO] [stdout] --> src/generator/sol/metadata.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SolidityMetadata<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `constructors` and `messages` are never used [INFO] [stdout] --> src/generator/sol/metadata.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl SolidityMetadata<'_> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 69 | /// Generates Solidity ABI compatible metadata for all ink! constructors. [INFO] [stdout] 70 | fn constructors(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn messages(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `params_info` is never used [INFO] [stdout] --> src/generator/sol/metadata.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn params_info(inputs: InputsIter<'_>) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sol_return_type` is never used [INFO] [stdout] --> src/generator/sol/utils.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn sol_return_type(ty: &Type) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_docs` is never used [INFO] [stdout] --> src/generator/sol/utils.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn extract_docs(attrs: &[Attribute]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SolidityMetadata` is never constructed [INFO] [stdout] --> src/generator/sol/metadata.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SolidityMetadata<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `constructors` and `messages` are never used [INFO] [stdout] --> src/generator/sol/metadata.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl SolidityMetadata<'_> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 69 | /// Generates Solidity ABI compatible metadata for all ink! constructors. [INFO] [stdout] 70 | fn constructors(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn messages(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `params_info` is never used [INFO] [stdout] --> src/generator/sol/metadata.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn params_info(inputs: InputsIter<'_>) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sol_return_type` is never used [INFO] [stdout] --> src/generator/sol/utils.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn sol_return_type(ty: &Type) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_docs` is never used [INFO] [stdout] --> src/generator/sol/utils.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn extract_docs(attrs: &[Attribute]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.28s [INFO] running `Command { std: "docker" "inspect" "ab7b8bd7c30013cb4e23faf7471a2e976e10afe99a048f9c1d48f1c5e2fb647e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab7b8bd7c30013cb4e23faf7471a2e976e10afe99a048f9c1d48f1c5e2fb647e", kill_on_drop: false }` [INFO] [stdout] ab7b8bd7c30013cb4e23faf7471a2e976e10afe99a048f9c1d48f1c5e2fb647e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 95969d5f6cdfe7048004ac1d6a70ef58dcd905660fc66a092e64d44741a99244 [INFO] running `Command { std: "docker" "start" "-a" "95969d5f6cdfe7048004ac1d6a70ef58dcd905660fc66a092e64d44741a99244", kill_on_drop: false }` [INFO] [stderr] warning: struct `SolidityMetadata` is never constructed [INFO] [stderr] --> src/generator/sol/metadata.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct SolidityMetadata<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `constructors` and `messages` are never used [INFO] [stderr] --> src/generator/sol/metadata.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 68 | impl SolidityMetadata<'_> { [INFO] [stderr] | ------------------------- methods in this implementation [INFO] [stderr] 69 | /// Generates Solidity ABI compatible metadata for all ink! constructors. [INFO] [stderr] 70 | fn constructors(&self) -> impl Iterator + '_ { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | fn messages(&self) -> impl Iterator + '_ { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `params_info` is never used [INFO] [stderr] --> src/generator/sol/metadata.rs:133:4 [INFO] [stderr] | [INFO] [stderr] 133 | fn params_info(inputs: InputsIter<'_>) -> impl Iterator + '_ { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sol_return_type` is never used [INFO] [stderr] --> src/generator/sol/utils.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn sol_return_type(ty: &Type) -> TokenStream2 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_docs` is never used [INFO] [stderr] --> src/generator/sol/utils.rs:102:8 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn extract_docs(attrs: &[Attribute]) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ink_codegen` (lib) generated 5 warnings [INFO] [stderr] warning: `ink_codegen` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ink_codegen-ce2b667c17c1abe2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test generator::metadata::tests::extract_doc_comments_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ink_codegen [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] running `Command { std: "docker" "inspect" "95969d5f6cdfe7048004ac1d6a70ef58dcd905660fc66a092e64d44741a99244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95969d5f6cdfe7048004ac1d6a70ef58dcd905660fc66a092e64d44741a99244", kill_on_drop: false }` [INFO] [stdout] 95969d5f6cdfe7048004ac1d6a70ef58dcd905660fc66a092e64d44741a99244