[INFO] cloning repository https://github.com/Vivafk/MyFirstContract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vivafk/MyFirstContract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVivafk%2FMyFirstContract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVivafk%2FMyFirstContract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e103e0ee2391bb6fed31cbcf0120ecc5fa4c1721 [INFO] checking Vivafk/MyFirstContract against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVivafk%2FMyFirstContract" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Vivafk/MyFirstContract [INFO] finished tweaking git repo https://github.com/Vivafk/MyFirstContract [INFO] tweaked toml for git repo https://github.com/Vivafk/MyFirstContract written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Vivafk/MyFirstContract on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Vivafk/MyFirstContract 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars v0.8.21 [INFO] [stderr] Downloaded cosmwasm-derive v1.5.7 [INFO] [stderr] Downloaded serde-json-wasm v0.5.2 [INFO] [stderr] Downloaded ed25519-zebra v3.1.0 [INFO] [stderr] Downloaded cosmwasm-crypto v1.5.7 [INFO] [stderr] Downloaded cosmwasm-storage v1.5.2 [INFO] [stderr] Downloaded schemars_derive v0.8.21 [INFO] [stderr] Downloaded bnum v0.10.0 [INFO] [stderr] Downloaded syn v2.0.76 [INFO] [stderr] Downloaded cosmwasm-std v1.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2704fa24e43dcf9014eafc9e398657b4edc3bd0fc79dead3e63a6676b8488971 [INFO] running `Command { std: "docker" "start" "-a" "2704fa24e43dcf9014eafc9e398657b4edc3bd0fc79dead3e63a6676b8488971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2704fa24e43dcf9014eafc9e398657b4edc3bd0fc79dead3e63a6676b8488971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2704fa24e43dcf9014eafc9e398657b4edc3bd0fc79dead3e63a6676b8488971", kill_on_drop: false }` [INFO] [stdout] 2704fa24e43dcf9014eafc9e398657b4edc3bd0fc79dead3e63a6676b8488971 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42f52e0e0fa49ed60bc677e60b37bd2123a8d532d724b69eb7619010e7451dba [INFO] running `Command { std: "docker" "start" "-a" "42f52e0e0fa49ed60bc677e60b37bd2123a8d532d724b69eb7619010e7451dba", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking forward_ref v1.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking bnum v0.10.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v1.5.7 [INFO] [stderr] Checking ed25519-zebra v3.1.0 [INFO] [stderr] Checking serde-json-wasm v0.5.2 [INFO] [stderr] Checking cosmwasm-crypto v1.5.7 [INFO] [stderr] Checking cosmwasm-std v1.5.7 [INFO] [stderr] Checking cosmwasm-storage v1.5.2 [INFO] [stderr] Checking MyFirstContract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `entry_point` [INFO] [stdout] --> src/contract.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{entry_point, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{entry_point, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:82:52 [INFO] [stdout] | [INFO] [stdout] 82 | QueryMsg::GetSignatures { document_id } => to_binary(&query_signatures(document_id)), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entry_point` [INFO] [stdout] --> src/contract.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{entry_point, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{entry_point, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:82:52 [INFO] [stdout] | [INFO] [stdout] 82 | QueryMsg::GetSignatures { document_id } => to_binary(&query_signatures(document_id)), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | deps: Deps, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/contract.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | DOCUMENTS.push(new_document); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/contract.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(doc) = DOCUMENTS.iter_mut().find(|d| d.id == document_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/contract.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(doc) = DOCUMENTS.iter().find(|d| d.id == document_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | deps: Deps, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MyFirstContract` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `my_first_contract` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/contract.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | DOCUMENTS.push(new_document); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/contract.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(doc) = DOCUMENTS.iter_mut().find(|d| d.id == document_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/contract.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(doc) = DOCUMENTS.iter().find(|d| d.id == document_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.90s [INFO] running `Command { std: "docker" "inspect" "42f52e0e0fa49ed60bc677e60b37bd2123a8d532d724b69eb7619010e7451dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42f52e0e0fa49ed60bc677e60b37bd2123a8d532d724b69eb7619010e7451dba", kill_on_drop: false }` [INFO] [stdout] 42f52e0e0fa49ed60bc677e60b37bd2123a8d532d724b69eb7619010e7451dba