[INFO] cloning repository https://github.com/henryphamit/Rentalproperty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henryphamit/Rentalproperty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryphamit%2FRentalproperty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryphamit%2FRentalproperty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c393a4245903367795d18c69176878ca71443eb [INFO] checking henryphamit/Rentalproperty against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryphamit%2FRentalproperty" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/henryphamit/Rentalproperty on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/henryphamit/Rentalproperty already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/cennznet/contract-sdk.git` [INFO] [stderr] Updating git repository `https://github.com/paritytech/ink.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fixed-hash v0.3.2 [INFO] [stderr] Downloaded wee_alloc v0.4.4 [INFO] [stderr] Downloaded parity-codec-derive v3.3.0 [INFO] [stderr] Downloaded impl-codec v0.2.0 [INFO] [stderr] Downloaded hashbrown v0.1.8 [INFO] [stderr] Downloaded tiny-keccak v1.4.2 [INFO] [stderr] Downloaded serde v1.0.91 [INFO] [stderr] Downloaded toml v0.5.1 [INFO] [stderr] Downloaded parity-codec v3.5.1 [INFO] [stderr] Downloaded primitive-types v0.2.4 [INFO] [stderr] Downloaded uint v0.7.1 [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded crunchy v0.1.6 [INFO] [stderr] Downloaded rustc-hex v2.0.1 [INFO] [stderr] Downloaded libc v0.2.55 [INFO] [stderr] Downloaded serde_derive v1.0.91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 512af9341f97b9ab26782026c0dee696af10d469d93fad7529574800ee4c8888 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "512af9341f97b9ab26782026c0dee696af10d469d93fad7529574800ee4c8888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "512af9341f97b9ab26782026c0dee696af10d469d93fad7529574800ee4c8888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "512af9341f97b9ab26782026c0dee696af10d469d93fad7529574800ee4c8888", kill_on_drop: false }` [INFO] [stdout] 512af9341f97b9ab26782026c0dee696af10d469d93fad7529574800ee4c8888 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8950252fbd10a00537b6417642dbab1eba92005427736aa46d7661f5e26eba51 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8950252fbd10a00537b6417642dbab1eba92005427736aa46d7661f5e26eba51", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling wee_alloc v0.4.4 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Checking rustc-hex v2.0.1 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Checking arrayvec v0.4.10 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling tiny-keccak v1.4.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling ink_utils v0.1.0 (https://github.com/paritytech/ink.git?rev=1748b51ad8364d71bbd18b67db587bb694fb1aef#1748b51a) [INFO] [stderr] Checking uint v0.7.1 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling serde_derive v1.0.91 [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] [stdout] error[E0658]: function pointer casts are not allowed in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ink-1add513eda8f5a89/1748b51/model/src/contract.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | deploy_fn: move |_env, _| {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ink-1add513eda8f5a89/1748b51/model/src/contract.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | const fn new(raw_handler: fn(&mut ExecutionEnv, Args)) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ink-1add513eda8f5a89/1748b51/model/src/contract.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | const fn new(raw_handler: fn(&mut ExecutionEnv, Args)) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ink-1add513eda8f5a89/1748b51/model/src/contract.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | handler: fn(&mut ExecutionEnv, Args), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ink-1add513eda8f5a89/1748b51/model/src/contract.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | handler: fn(&mut ExecutionEnv, Args), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ink-1add513eda8f5a89/1748b51/model/src/contract.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | handler: RawMessageHandler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ink-1add513eda8f5a89/1748b51/model/src/contract.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | handler: RawMessageHandlerMut, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ink-1add513eda8f5a89/1748b51/model/src/contract.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | handler: RawMessageHandlerMut, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ink-1add513eda8f5a89/1748b51/model/src/msg_handler.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | pub const fn from_raw(raw_handler: RawMessageHandler) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ink-1add513eda8f5a89/1748b51/model/src/msg_handler.rs:218:27 [INFO] [stdout] | [INFO] [stdout] 218 | pub const fn from_raw(raw_handler: RawMessageHandlerMut) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ink-1add513eda8f5a89/1748b51/model/src/msg_handler.rs:218:27 [INFO] [stdout] | [INFO] [stdout] 218 | pub const fn from_raw(raw_handler: RawMessageHandlerMut) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ink_model` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8950252fbd10a00537b6417642dbab1eba92005427736aa46d7661f5e26eba51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8950252fbd10a00537b6417642dbab1eba92005427736aa46d7661f5e26eba51", kill_on_drop: false }` [INFO] [stdout] 8950252fbd10a00537b6417642dbab1eba92005427736aa46d7661f5e26eba51