[INFO] cloning repository https://github.com/tunim73/smart_contracts_inc_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tunim73/smart_contracts_inc_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftunim73%2Fsmart_contracts_inc_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftunim73%2Fsmart_contracts_inc_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 037ae8c9532371b8018ef579dd063fe56bceb8db [INFO] checking tunim73/smart_contracts_inc_rust against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftunim73%2Fsmart_contracts_inc_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tunim73/smart_contracts_inc_rust on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tunim73/smart_contracts_inc_rust [INFO] finished tweaking git repo https://github.com/tunim73/smart_contracts_inc_rust [INFO] tweaked toml for git repo https://github.com/tunim73/smart_contracts_inc_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tunim73/smart_contracts_inc_rust 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53153367cf667514b41f4b0af64445775f206ad16e849b748943c94ca20c9632 [INFO] running `Command { std: "docker" "start" "-a" "53153367cf667514b41f4b0af64445775f206ad16e849b748943c94ca20c9632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53153367cf667514b41f4b0af64445775f206ad16e849b748943c94ca20c9632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53153367cf667514b41f4b0af64445775f206ad16e849b748943c94ca20c9632", kill_on_drop: false }` [INFO] [stdout] 53153367cf667514b41f4b0af64445775f206ad16e849b748943c94ca20c9632 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2d24797793ce4f02aa36540b5ca5b48b46ea10a30a71f7c2141220ac0a29286 [INFO] running `Command { std: "docker" "start" "-a" "d2d24797793ce4f02aa36540b5ca5b48b46ea10a30a71f7c2141220ac0a29286", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking ink_prelude v5.0.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking pallet-contracts-uapi-next v6.0.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling const_env_impl v0.1.2 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking ink_allocator v5.0.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling scale-decode-derive v0.10.0 [INFO] [stderr] Compiling scale-encode-derive v0.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling linkme-impl v0.3.28 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling const_env v0.1.2 [INFO] [stderr] Checking linkme v0.3.28 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Compiling ink_ir v5.0.0 [INFO] [stderr] Compiling scale-info v2.11.3 [INFO] [stderr] Compiling scale-bits v0.4.0 [INFO] [stderr] Compiling scale-encode v0.5.0 [INFO] [stderr] Compiling scale-decode v0.10.0 [INFO] [stderr] Compiling ink_primitives v5.0.0 [INFO] [stderr] Checking ink_metadata v5.0.0 [INFO] [stderr] Checking ink_engine v5.0.0 [INFO] [stderr] Compiling ink_codegen v5.0.0 [INFO] [stderr] Checking ink_storage_traits v5.0.0 [INFO] [stderr] Checking ink_env v5.0.0 [INFO] [stderr] Checking ink_storage v5.0.0 [INFO] [stderr] Compiling ink_macro v5.0.0 [INFO] [stderr] Checking ink v5.0.0 [INFO] [stderr] Checking smart_contracts_with_inc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / pub struct MyContract { [INFO] [stdout] 24 | | conhecimentos: StorageVec [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_categorias(& mut self) -> (Vec) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 117 - pub fn get_categorias(& mut self) -> (Vec) { [INFO] [stdout] 117 + pub fn get_categorias(& mut self) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / pub fn default() -> Self { [INFO] [stdout] 30 | | Self { [INFO] [stdout] 31 | | conhecimentos: Default::default(), [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / pub struct MyContract { [INFO] [stdout] 24 | | conhecimentos: StorageVec [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_categorias(& mut self) -> (Vec) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 117 - pub fn get_categorias(& mut self) -> (Vec) { [INFO] [stdout] 117 + pub fn get_categorias(& mut self) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / pub fn default() -> Self { [INFO] [stdout] 30 | | Self { [INFO] [stdout] 31 | | conhecimentos: Default::default(), [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let mut resultados = Vec::::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let mut resultados = Vec::::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "d2d24797793ce4f02aa36540b5ca5b48b46ea10a30a71f7c2141220ac0a29286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2d24797793ce4f02aa36540b5ca5b48b46ea10a30a71f7c2141220ac0a29286", kill_on_drop: false }` [INFO] [stdout] d2d24797793ce4f02aa36540b5ca5b48b46ea10a30a71f7c2141220ac0a29286