[INFO] cloning repository https://github.com/KerrMetric/virtue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KerrMetric/virtue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKerrMetric%2Fvirtue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKerrMetric%2Fvirtue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ace5e07cabfea2cf22f43e6e7c984e77ac9a8443 [INFO] checking KerrMetric/virtue against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKerrMetric%2Fvirtue" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KerrMetric/virtue on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/.cargo/config [INFO] started tweaking git repo https://github.com/KerrMetric/virtue [INFO] removed workspace from git repo https://github.com/KerrMetric/virtue [INFO] finished tweaking git repo https://github.com/KerrMetric/virtue [INFO] tweaked toml for git repo https://github.com/KerrMetric/virtue written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/KerrMetric/virtue 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/paritytech/ink` [INFO] [stderr] Updating git repository `https://github.com/type-metadata/type-metadata.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitvec v0.14.0 [INFO] [stderr] Downloaded byte-slice-cast v0.3.2 [INFO] [stderr] Downloaded parity-scale-codec-derive v1.0.3 [INFO] [stderr] Downloaded parity-scale-codec v1.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a2ae1f4bf9fa3de6709cc7d0ed0e510cfd5e39f91964d3307e4633e28516e2d [INFO] running `Command { std: "docker" "start" "-a" "5a2ae1f4bf9fa3de6709cc7d0ed0e510cfd5e39f91964d3307e4633e28516e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a2ae1f4bf9fa3de6709cc7d0ed0e510cfd5e39f91964d3307e4633e28516e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a2ae1f4bf9fa3de6709cc7d0ed0e510cfd5e39f91964d3307e4633e28516e2d", kill_on_drop: false }` [INFO] [stdout] 5a2ae1f4bf9fa3de6709cc7d0ed0e510cfd5e39f91964d3307e4633e28516e2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 00e875960493f58de0b86fe2d48876b82f5707c3ee884185bf7544c1693b2fe2 [INFO] running `Command { std: "docker" "start" "-a" "00e875960493f58de0b86fe2d48876b82f5707c3ee884185bf7544c1693b2fe2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitvec v0.14.0 [INFO] [stderr] Compiling byte-slice-cast v0.3.2 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking ink_utils v0.1.0 (https://github.com/paritytech/ink#e5d03264) [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking ink_alloc v0.1.0 (https://github.com/paritytech/ink#e5d03264) [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling ink_abi_derive v0.1.0 (https://github.com/paritytech/ink#e5d03264) [INFO] [stderr] Compiling type-metadata-derive v0.1.0 (https://github.com/type-metadata/type-metadata.git#f50ca5c4) [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Checking type-metadata v0.1.0 (https://github.com/type-metadata/type-metadata.git#f50ca5c4) [INFO] [stderr] Checking ink_abi v0.1.0 (https://github.com/paritytech/ink#e5d03264) [INFO] [stderr] Compiling toml v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parity-scale-codec-derive v1.0.3 [INFO] [stderr] Compiling parity-scale-codec v1.0.6 [INFO] [stderr] Checking ink_core v0.1.0 (https://github.com/paritytech/ink#e5d03264) [INFO] [stderr] Checking ink_model v0.1.0 (https://github.com/paritytech/ink#e5d03264) [INFO] [stdout] error[E0658]: function pointer casts are not allowed in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ink-1add513eda8f5a89/e5d0326/model/src/contract.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | 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/e5d0326/model/src/contract.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | 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/e5d0326/model/src/contract.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | 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/e5d0326/model/src/contract.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | 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/e5d0326/model/src/contract.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | 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/e5d0326/model/src/contract.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | 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/e5d0326/model/src/contract.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | 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/e5d0326/model/src/contract.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | 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/e5d0326/model/src/msg_handler.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | 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/e5d0326/model/src/msg_handler.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | 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/e5d0326/model/src/msg_handler.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | 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" "00e875960493f58de0b86fe2d48876b82f5707c3ee884185bf7544c1693b2fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00e875960493f58de0b86fe2d48876b82f5707c3ee884185bf7544c1693b2fe2", kill_on_drop: false }` [INFO] [stdout] 00e875960493f58de0b86fe2d48876b82f5707c3ee884185bf7544c1693b2fe2