[INFO] cloning repository https://github.com/canesee/amm-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/canesee/amm-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanesee%2Famm-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanesee%2Famm-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7263afd438cd4b0b5d8559ecf813e4006eb973b0 [INFO] checking canesee/amm-contract against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanesee%2Famm-contract" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/canesee/amm-contract on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/canesee/amm-contract [INFO] finished tweaking git repo https://github.com/canesee/amm-contract [INFO] tweaked toml for git repo https://github.com/canesee/amm-contract written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/canesee/amm-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-sdk-core v3.1.0 [INFO] [stderr] Downloaded near-sdk-macros v3.1.0 [INFO] [stderr] Downloaded near-sdk v3.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11e4a7ae2e198230084b7dc5c43c9a918e31dfad3b4db23cf46f092abae58f88 [INFO] running `Command { std: "docker" "start" "-a" "11e4a7ae2e198230084b7dc5c43c9a918e31dfad3b4db23cf46f092abae58f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11e4a7ae2e198230084b7dc5c43c9a918e31dfad3b4db23cf46f092abae58f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e4a7ae2e198230084b7dc5c43c9a918e31dfad3b4db23cf46f092abae58f88", kill_on_drop: false }` [INFO] [stdout] 11e4a7ae2e198230084b7dc5c43c9a918e31dfad3b4db23cf46f092abae58f88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33104838cee9a1b43539efe5a51b40377c1282ed88ef8e35c79cfc18a0d80d4c [INFO] running `Command { std: "docker" "start" "-a" "33104838cee9a1b43539efe5a51b40377c1282ed88ef8e35c79cfc18a0d80d4c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling near-sdk-core v3.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling near-sdk-macros v3.1.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Checking borsh v0.8.2 [INFO] [stderr] Checking near-primitives-core v0.4.0 [INFO] [stderr] Checking near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Checking near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Checking near-sdk v3.1.0 [INFO] [stderr] Checking amm-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/market_creation.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use near_sdk::{serde_json, PromiseResult}; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Balance` is imported redundantly [INFO] [stdout] --> src/pool.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `Balance` is already imported here [INFO] [stdout] 3 | use near_sdk::collections::UnorderedMap; [INFO] [stdout] 4 | use near_sdk::Balance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValidAccountId` is imported redundantly [INFO] [stdout] --> src/storage_manager.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ValidAccountId` is already imported here [INFO] [stdout] 2 | use near_sdk::json_types::{ValidAccountId, U128}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Balance` is imported redundantly [INFO] [stdout] --> src/storage_manager.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Balance` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use near_sdk::{Balance, Promise}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Promise` is imported redundantly [INFO] [stdout] --> src/storage_manager.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Promise` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use near_sdk::{Balance, Promise}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env` is imported redundantly [INFO] [stdout] --> src/token_receiver.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `env` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use near_sdk::{env, near_bindgen, serde_json, AccountId, PromiseOrValue}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/token_receiver.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use near_sdk::{env, near_bindgen, serde_json, AccountId, PromiseOrValue}; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AccountId` is imported redundantly [INFO] [stdout] --> src/token_receiver.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `AccountId` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use near_sdk::{env, near_bindgen, serde_json, AccountId, PromiseOrValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PromiseOrValue` is imported redundantly [INFO] [stdout] --> src/token_receiver.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `PromiseOrValue` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use near_sdk::{env, near_bindgen, serde_json, AccountId, PromiseOrValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `borsh` is imported redundantly [INFO] [stdout] --> src/whitelist.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `borsh` is already imported here [INFO] [stdout] 2 | use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env` is imported redundantly [INFO] [stdout] --> src/whitelist.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `env` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use near_sdk::{env, near_bindgen, AccountId}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AccountId` is imported redundantly [INFO] [stdout] --> src/whitelist.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `AccountId` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use near_sdk::{env, near_bindgen, AccountId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/market_creation.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use near_sdk::{serde_json, PromiseResult}; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Balance` is imported redundantly [INFO] [stdout] --> src/pool.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `Balance` is already imported here [INFO] [stdout] 3 | use near_sdk::collections::UnorderedMap; [INFO] [stdout] 4 | use near_sdk::Balance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValidAccountId` is imported redundantly [INFO] [stdout] --> src/storage_manager.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `ValidAccountId` is already imported here [INFO] [stdout] 2 | use near_sdk::json_types::{ValidAccountId, U128}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Balance` is imported redundantly [INFO] [stdout] --> src/storage_manager.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Balance` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use near_sdk::{Balance, Promise}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Promise` is imported redundantly [INFO] [stdout] --> src/storage_manager.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Promise` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use near_sdk::{Balance, Promise}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env` is imported redundantly [INFO] [stdout] --> src/token_receiver.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `env` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use near_sdk::{env, near_bindgen, serde_json, AccountId, PromiseOrValue}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/token_receiver.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use near_sdk::{env, near_bindgen, serde_json, AccountId, PromiseOrValue}; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AccountId` is imported redundantly [INFO] [stdout] --> src/token_receiver.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `AccountId` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use near_sdk::{env, near_bindgen, serde_json, AccountId, PromiseOrValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PromiseOrValue` is imported redundantly [INFO] [stdout] --> src/token_receiver.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `PromiseOrValue` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use near_sdk::{env, near_bindgen, serde_json, AccountId, PromiseOrValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `borsh` is imported redundantly [INFO] [stdout] --> src/whitelist.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `borsh` is already imported here [INFO] [stdout] 2 | use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env` is imported redundantly [INFO] [stdout] --> src/whitelist.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `env` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use near_sdk::{env, near_bindgen, AccountId}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AccountId` is imported redundantly [INFO] [stdout] --> src/whitelist.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `AccountId` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use near_sdk::{env, near_bindgen, AccountId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `storage_deposit`, `storage_withdraw`, and `storage_balance_of` are never used [INFO] [stdout] --> src/storage_manager.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait StorageManager { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 22 | fn storage_deposit(&mut self, id: Option) -> StorageBalance; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | fn storage_withdraw(&mut self, amount: U128) -> StorageBalance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | fn storage_balance_of(&self, id: ValidAccountId) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_transfer` is never used [INFO] [stdout] --> src/token_receiver.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait TokenReceiver { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 28 | fn on_transfer( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `storage_deposit`, `storage_withdraw`, and `storage_balance_of` are never used [INFO] [stdout] --> src/storage_manager.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait StorageManager { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 22 | fn storage_deposit(&mut self, id: Option) -> StorageBalance; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | fn storage_withdraw(&mut self, amount: U128) -> StorageBalance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | fn storage_balance_of(&self, id: ValidAccountId) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_transfer` is never used [INFO] [stdout] --> src/token_receiver.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait TokenReceiver { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 28 | fn on_transfer( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.39s [INFO] running `Command { std: "docker" "inspect" "33104838cee9a1b43539efe5a51b40377c1282ed88ef8e35c79cfc18a0d80d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33104838cee9a1b43539efe5a51b40377c1282ed88ef8e35c79cfc18a0d80d4c", kill_on_drop: false }` [INFO] [stdout] 33104838cee9a1b43539efe5a51b40377c1282ed88ef8e35c79cfc18a0d80d4c [INFO] checking canesee/amm-contract against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanesee%2Famm-contract" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/canesee/amm-contract on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/canesee/amm-contract [INFO] finished tweaking git repo https://github.com/canesee/amm-contract [INFO] tweaked toml for git repo https://github.com/canesee/amm-contract written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/canesee/amm-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a693928c54e90710b01ed42688649b7f2a084bb926f9be4ff8750bf4b2a44ae [INFO] running `Command { std: "docker" "start" "-a" "7a693928c54e90710b01ed42688649b7f2a084bb926f9be4ff8750bf4b2a44ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a693928c54e90710b01ed42688649b7f2a084bb926f9be4ff8750bf4b2a44ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a693928c54e90710b01ed42688649b7f2a084bb926f9be4ff8750bf4b2a44ae", kill_on_drop: false }` [INFO] [stdout] 7a693928c54e90710b01ed42688649b7f2a084bb926f9be4ff8750bf4b2a44ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 911622f12e5895ca67e6e5e4850da047401fb3d75d64a81f4b59ca6cf6ff41c9 [INFO] running `Command { std: "docker" "start" "-a" "911622f12e5895ca67e6e5e4850da047401fb3d75d64a81f4b59ca6cf6ff41c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-1.5.5/src/exec.rs:848:13 [INFO] [stdout] | [INFO] [stdout] 848 | / match dfa::Fsm::reverse( [INFO] [stdout] 849 | | &self.ro.dfa_reverse, [INFO] [stdout] 850 | | self.cache.value(), [INFO] [stdout] 851 | | false, [INFO] [stdout] ... | [INFO] [stdout] 862 | | Quit => return Some(Quit), [INFO] [stdout] 863 | | }; [INFO] [stdout] | |_____________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "911622f12e5895ca67e6e5e4850da047401fb3d75d64a81f4b59ca6cf6ff41c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "911622f12e5895ca67e6e5e4850da047401fb3d75d64a81f4b59ca6cf6ff41c9", kill_on_drop: false }` [INFO] [stdout] 911622f12e5895ca67e6e5e4850da047401fb3d75d64a81f4b59ca6cf6ff41c9