[INFO] cloning repository https://github.com/glue3/child-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/glue3/child-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglue3%2Fchild-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglue3%2Fchild-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a929ac9c5d1f9a04a0f83cf7361ca1bdc2f0cb1 [INFO] testing glue3/child-contract against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglue3%2Fchild-contract" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/glue3/child-contract on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/glue3/child-contract [INFO] finished tweaking git repo https://github.com/glue3/child-contract [INFO] tweaked toml for git repo https://github.com/glue3/child-contract written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/glue3/child-contract 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-rpc-error-macro v0.13.0 [INFO] [stderr] Downloaded signature v1.6.0 [INFO] [stderr] Downloaded near-contract-standards v4.0.0 [INFO] [stderr] Downloaded near-sdk v4.0.0 [INFO] [stderr] Downloaded near-primitives v0.13.0 [INFO] [stderr] Downloaded near-sdk-macros v4.0.0 [INFO] [stderr] Downloaded near-crypto v0.13.0 [INFO] [stderr] Downloaded near-primitives-core v0.13.0 [INFO] [stderr] Downloaded near-account-id v0.13.0 [INFO] [stderr] Downloaded near-vm-errors v0.13.0 [INFO] [stderr] Downloaded near-vm-logic v0.13.0 [INFO] [stderr] Downloaded near-sys v0.2.0 [INFO] [stderr] Downloaded near-rpc-error-core v0.13.0 [INFO] [stderr] Downloaded sha3 v0.10.4 [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c9464204da5d743973a2d151eb111c9ffb8e9e68f376856de7eb35653accbfd [INFO] running `Command { std: "docker" "start" "-a" "4c9464204da5d743973a2d151eb111c9ffb8e9e68f376856de7eb35653accbfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c9464204da5d743973a2d151eb111c9ffb8e9e68f376856de7eb35653accbfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c9464204da5d743973a2d151eb111c9ffb8e9e68f376856de7eb35653accbfd", kill_on_drop: false }` [INFO] [stdout] 4c9464204da5d743973a2d151eb111c9ffb8e9e68f376856de7eb35653accbfd [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4d4a37efb477663ba43719e44036b5799f1cb33258882f2a7a8332d64395a76 [INFO] running `Command { std: "docker" "start" "-a" "b4d4a37efb477663ba43719e44036b5799f1cb33258882f2a7a8332d64395a76", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling signature v1.6.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling ed25519 v1.5.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling iana-time-zone v0.1.47 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling keccak v0.1.2 [INFO] [stderr] Compiling parity-secp256k1 v0.7.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling near-sys v0.2.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling c2-chacha v0.3.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling sha2 v0.10.5 [INFO] [stderr] Compiling sha3 v0.10.4 [INFO] [stderr] Compiling ripemd v0.1.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling near-sdk-macros v4.0.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling near-rpc-error-core v0.13.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling near-rpc-error-macro v0.13.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling near-account-id v0.13.0 [INFO] [stderr] Compiling near-vm-errors v0.13.0 [INFO] [stderr] Compiling near-primitives-core v0.13.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling near-crypto v0.13.0 [INFO] [stderr] Compiling near-primitives v0.13.0 [INFO] [stderr] Compiling near-vm-logic v0.13.0 [INFO] [stderr] Compiling near-sdk v4.0.0 [INFO] [stderr] Compiling near-contract-standards v4.0.0 [INFO] [stderr] Compiling fungible-token v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `DATA_IMAGE_SVG_NEAR_ICON` is never used [INFO] [stdout] --> src/lib.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const DATA_IMAGE_SVG_NEAR_ICON: &str = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 288 288'%3E%3Cg id='l' ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `fundAccounts` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fundAccounts: UnorderedMap, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fund_accounts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `canMint` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | canMint: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `can_mint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `canBurn` should have a snake case name [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | canBurn: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `can_burn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ownerId` should have a snake case name [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | ownerId: AccountId, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `owner_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `glueId` should have a snake case name [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | glueId: AccountId, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `glue_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `burnToken` should have a snake case name [INFO] [stdout] --> src/lib.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn burnToken(&mut self, amount: U128) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `burn_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mintToken` should have a snake case name [INFO] [stdout] --> src/lib.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn mintToken(&mut self, amount: U128) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `mint_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sendToFund` should have a snake case name [INFO] [stdout] --> src/lib.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn sendToFund(&mut self, id: String, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `send_to_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sendFromFund` should have a snake case name [INFO] [stdout] --> src/lib.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn sendFromFund(&mut self, id: String, walletAddress: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_from_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `walletAddress` should have a snake case name [INFO] [stdout] --> src/lib.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn sendFromFund(&mut self, id: String, walletAddress: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `wallet_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `walletAddress` should have a snake case name [INFO] [stdout] --> src/lib.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn sendFromFund(&mut self, id: String, walletAddress: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `wallet_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `changeOwner` should have a snake case name [INFO] [stdout] --> src/lib.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn changeOwner(&mut self, address: AccountId) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `change_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountInt` should have a snake case name [INFO] [stdout] --> src/lib.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let amountInt = u128::from(amount); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `amount_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.00s [INFO] running `Command { std: "docker" "inspect" "b4d4a37efb477663ba43719e44036b5799f1cb33258882f2a7a8332d64395a76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4d4a37efb477663ba43719e44036b5799f1cb33258882f2a7a8332d64395a76", kill_on_drop: false }` [INFO] [stdout] b4d4a37efb477663ba43719e44036b5799f1cb33258882f2a7a8332d64395a76 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3819478d1b36499684f774d53f78b859043dfb740c4e417edaa4bc9c7c287211 [INFO] running `Command { std: "docker" "start" "-a" "3819478d1b36499684f774d53f78b859043dfb740c4e417edaa4bc9c7c287211", kill_on_drop: false }` [INFO] [stdout] warning: constant `DATA_IMAGE_SVG_NEAR_ICON` is never used [INFO] [stdout] --> src/lib.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const DATA_IMAGE_SVG_NEAR_ICON: &str = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 288 288'%3E%3Cg id='l' ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `fundAccounts` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fundAccounts: UnorderedMap, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fund_accounts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `canMint` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | canMint: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `can_mint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `canBurn` should have a snake case name [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | canBurn: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `can_burn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ownerId` should have a snake case name [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | ownerId: AccountId, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `owner_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `glueId` should have a snake case name [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | glueId: AccountId, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `glue_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `burnToken` should have a snake case name [INFO] [stdout] --> src/lib.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn burnToken(&mut self, amount: U128) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `burn_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mintToken` should have a snake case name [INFO] [stdout] --> src/lib.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn mintToken(&mut self, amount: U128) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `mint_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sendToFund` should have a snake case name [INFO] [stdout] --> src/lib.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn sendToFund(&mut self, id: String, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `send_to_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fungible-token v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `sendFromFund` should have a snake case name [INFO] [stdout] --> src/lib.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn sendFromFund(&mut self, id: String, walletAddress: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_from_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `walletAddress` should have a snake case name [INFO] [stdout] --> src/lib.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn sendFromFund(&mut self, id: String, walletAddress: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `wallet_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `walletAddress` should have a snake case name [INFO] [stdout] --> src/lib.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn sendFromFund(&mut self, id: String, walletAddress: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `wallet_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `changeOwner` should have a snake case name [INFO] [stdout] --> src/lib.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn changeOwner(&mut self, address: AccountId) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `change_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountInt` should have a snake case name [INFO] [stdout] --> src/lib.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let amountInt = u128::from(amount); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `amount_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DATA_IMAGE_SVG_NEAR_ICON` is never used [INFO] [stdout] --> src/lib.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const DATA_IMAGE_SVG_NEAR_ICON: &str = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 288 288'%3E%3Cg id='l' ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `fundAccounts` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fundAccounts: UnorderedMap, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fund_accounts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `canMint` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | canMint: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `can_mint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `canBurn` should have a snake case name [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | canBurn: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `can_burn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ownerId` should have a snake case name [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | ownerId: AccountId, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `owner_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `glueId` should have a snake case name [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | glueId: AccountId, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `glue_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `burnToken` should have a snake case name [INFO] [stdout] --> src/lib.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn burnToken(&mut self, amount: U128) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `burn_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mintToken` should have a snake case name [INFO] [stdout] --> src/lib.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn mintToken(&mut self, amount: U128) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `mint_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sendToFund` should have a snake case name [INFO] [stdout] --> src/lib.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn sendToFund(&mut self, id: String, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `send_to_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sendFromFund` should have a snake case name [INFO] [stdout] --> src/lib.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn sendFromFund(&mut self, id: String, walletAddress: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_from_fund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `walletAddress` should have a snake case name [INFO] [stdout] --> src/lib.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn sendFromFund(&mut self, id: String, walletAddress: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `wallet_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `walletAddress` should have a snake case name [INFO] [stdout] --> src/lib.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn sendFromFund(&mut self, id: String, walletAddress: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `wallet_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `changeOwner` should have a snake case name [INFO] [stdout] --> src/lib.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn changeOwner(&mut self, address: AccountId) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `change_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountInt` should have a snake case name [INFO] [stdout] --> src/lib.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let amountInt = u128::from(amount); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `amount_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "3819478d1b36499684f774d53f78b859043dfb740c4e417edaa4bc9c7c287211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3819478d1b36499684f774d53f78b859043dfb740c4e417edaa4bc9c7c287211", kill_on_drop: false }` [INFO] [stdout] 3819478d1b36499684f774d53f78b859043dfb740c4e417edaa4bc9c7c287211 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7d641ada7e39ec2cbd0c0b06e7d60b2d094a86586adcb1962db353a5313634ad [INFO] running `Command { std: "docker" "start" "-a" "7d641ada7e39ec2cbd0c0b06e7d60b2d094a86586adcb1962db353a5313634ad", kill_on_drop: false }` [INFO] [stderr] warning: constant `DATA_IMAGE_SVG_NEAR_ICON` is never used [INFO] [stderr] --> src/lib.rs:39:7 [INFO] [stderr] | [INFO] [stderr] 39 | const DATA_IMAGE_SVG_NEAR_ICON: &str = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 288 288'%3E%3Cg id='l' ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `fundAccounts` should have a snake case name [INFO] [stderr] --> src/lib.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | fundAccounts: UnorderedMap, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fund_accounts` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `canMint` should have a snake case name [INFO] [stderr] --> src/lib.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | canMint: bool, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `can_mint` [INFO] [stderr] [INFO] [stderr] warning: structure field `canBurn` should have a snake case name [INFO] [stderr] --> src/lib.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | canBurn: bool, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `can_burn` [INFO] [stderr] [INFO] [stderr] warning: structure field `ownerId` should have a snake case name [INFO] [stderr] --> src/lib.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | ownerId: AccountId, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `owner_id` [INFO] [stderr] [INFO] [stderr] warning: structure field `glueId` should have a snake case name [INFO] [stderr] --> src/lib.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | glueId: AccountId, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `glue_id` [INFO] [stderr] [INFO] [stderr] warning: method `burnToken` should have a snake case name [INFO] [stderr] --> src/lib.rs:90:12 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn burnToken(&mut self, amount: U128) { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `burn_token` [INFO] [stderr] [INFO] [stderr] warning: method `mintToken` should have a snake case name [INFO] [stderr] --> src/lib.rs:95:12 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn mintToken(&mut self, amount: U128) { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `mint_token` [INFO] [stderr] [INFO] [stderr] warning: method `sendToFund` should have a snake case name [INFO] [stderr] --> src/lib.rs:122:12 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn sendToFund(&mut self, id: String, amount: U128) { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `send_to_fund` [INFO] [stderr] [INFO] [stderr] warning: method `sendFromFund` should have a snake case name [INFO] [stderr] --> src/lib.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn sendFromFund(&mut self, id: String, walletAddress: AccountId, amount: U128) { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_from_fund` [INFO] [stderr] [INFO] [stderr] warning: variable `walletAddress` should have a snake case name [INFO] [stderr] --> src/lib.rs:132:48 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn sendFromFund(&mut self, id: String, walletAddress: AccountId, amount: U128) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `wallet_address` [INFO] [stderr] [INFO] [stderr] warning: structure field `walletAddress` should have a snake case name [INFO] [stderr] --> src/lib.rs:132:48 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn sendFromFund(&mut self, id: String, walletAddress: AccountId, amount: U128) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `wallet_address` [INFO] [stderr] [INFO] [stderr] warning: method `changeOwner` should have a snake case name [INFO] [stderr] --> src/lib.rs:149:12 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn changeOwner(&mut self, address: AccountId) { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `change_owner` [INFO] [stderr] [INFO] [stderr] warning: variable `amountInt` should have a snake case name [INFO] [stderr] --> src/lib.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 136 | let amountInt = u128::from(amount); [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `amount_int` [INFO] [stderr] [INFO] [stderr] warning: `fungible-token` (lib) generated 14 warnings [INFO] [stderr] warning: `fungible-token` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fungible_token-c43d32f2444dee02) [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 fungible_token [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" "7d641ada7e39ec2cbd0c0b06e7d60b2d094a86586adcb1962db353a5313634ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d641ada7e39ec2cbd0c0b06e7d60b2d094a86586adcb1962db353a5313634ad", kill_on_drop: false }` [INFO] [stdout] 7d641ada7e39ec2cbd0c0b06e7d60b2d094a86586adcb1962db353a5313634ad