[INFO] updating cached repository https://github.com/henryphamit/Rentalproperty [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3c393a4245903367795d18c69176878ca71443eb [INFO] checking henryphamit/Rentalproperty against try#e689e5eaefe96e6dc3ed5bb629c521b7d207aff7 for pr-64398 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryphamit%2FRentalproperty" "work/builds/worker-4/source"` [INFO] [stderr] Cloning into 'work/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/henryphamit/Rentalproperty on toolchain e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/henryphamit/Rentalproperty [INFO] finished tweaking git repo https://github.com/henryphamit/Rentalproperty [INFO] tweaked toml for git repo https://github.com/henryphamit/Rentalproperty written to work/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/henryphamit/Rentalproperty already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 34e46a32bdfb270952a3941a1f1a93b7a33211bd62c8ccfaafbf31ecede71da4 [INFO] running `"docker" "start" "-a" "34e46a32bdfb270952a3941a1f1a93b7a33211bd62c8ccfaafbf31ecede71da4"` [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling wee_alloc v0.4.4 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Checking rustc-hex v2.0.1 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Checking ink_utils v0.1.0 (https://github.com/paritytech/ink.git?rev=1748b51ad8364d71bbd18b67db587bb694fb1aef#1748b51a) [INFO] [stderr] Checking uint v0.7.1 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling tiny-keccak v1.4.2 [INFO] [stderr] Compiling toml v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parity-codec-derive v3.3.0 [INFO] [stderr] Checking parity-codec v3.5.1 [INFO] [stderr] Checking impl-codec v0.2.0 [INFO] [stderr] Checking ink_core v0.1.0 (https://github.com/paritytech/ink.git?rev=1748b51ad8364d71bbd18b67db587bb694fb1aef#1748b51a) [INFO] [stderr] Checking primitive-types v0.2.4 [INFO] [stderr] Checking ink_model v0.1.0 (https://github.com/paritytech/ink.git?rev=1748b51ad8364d71bbd18b67db587bb694fb1aef#1748b51a) [INFO] [stderr] Checking contract-sdk v0.1.1 (https://github.com/cennznet/contract-sdk.git#cc47fbfb) [INFO] [stderr] Compiling ink_lang v0.1.0 (https://github.com/paritytech/ink.git?rev=1748b51ad8364d71bbd18b67db587bb694fb1aef#1748b51a) [INFO] [stderr] Checking rentalproperty v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: contract messages must not contain an argument called `env` [INFO] [stderr] --> src/lib.rs:45:51 [INFO] [stderr] | [INFO] [stderr] 45 | pub(external) fn transfermoney(&mut self, env: &mut ink_model::EnvHandler, renter: AccountId, landlord: AccountId, amount: Balance) ->bool { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: contract messages must not contain an argument called `env` [INFO] [stderr] --> src/lib.rs:45:51 [INFO] [stderr] | [INFO] [stderr] 45 | pub(external) fn transfermoney(&mut self, env: &mut ink_model::EnvHandler, renter: AccountId, landlord: AccountId, amount: Balance) ->bool { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `prelude::*`, `util` [INFO] [stderr] --> src/lib.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use contract_sdk::{prelude::*, util}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AccountId`, `Balance`, `env::println`, `memory::format`, `self`, `storage` [INFO] [stderr] --> src/lib.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | self, [INFO] [stderr] | ^^^^ [INFO] [stderr] 10 | AccountId, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 11 | Balance, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 12 | }, [INFO] [stderr] 13 | memory::format, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 14 | storage, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 15 | env::println, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `rentalproperty`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused imports: `prelude::*`, `util` [INFO] [stderr] --> src/lib.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use contract_sdk::{prelude::*, util}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AccountId`, `Balance`, `env::println`, `memory::format`, `self`, `storage` [INFO] [stderr] --> src/lib.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | self, [INFO] [stderr] | ^^^^ [INFO] [stderr] 10 | AccountId, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 11 | Balance, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 12 | }, [INFO] [stderr] 13 | memory::format, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 14 | storage, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 15 | env::println, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: duplicate lang item in crate `std`: `panic_impl`. [INFO] [stderr] | [INFO] [stderr] = note: first defined in crate `ink_core`. [INFO] [stderr] [INFO] [stderr] error: duplicate lang item in crate `std`: `oom`. [INFO] [stderr] | [INFO] [stderr] = note: first defined in crate `ink_core`. [INFO] [stderr] [INFO] [stderr] error: duplicate lang item in crate `panic_unwind`: `eh_personality`. [INFO] [stderr] | [INFO] [stderr] = note: first defined in crate `ink_core`. [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `rentalproperty`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "34e46a32bdfb270952a3941a1f1a93b7a33211bd62c8ccfaafbf31ecede71da4"` [INFO] running `"docker" "rm" "-f" "34e46a32bdfb270952a3941a1f1a93b7a33211bd62c8ccfaafbf31ecede71da4"` [INFO] [stdout] 34e46a32bdfb270952a3941a1f1a93b7a33211bd62c8ccfaafbf31ecede71da4