[INFO] crate casperlabs-contract-ffi 0.22.0 is already in cache [INFO] testing casperlabs-contract-ffi-0.22.0 against 1.45.2 for beta-1.46-1 [INFO] extracting crate casperlabs-contract-ffi 0.22.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate casperlabs-contract-ffi 0.22.0 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate casperlabs-contract-ffi 0.22.0 [INFO] finished tweaking crates.io crate casperlabs-contract-ffi 0.22.0 [INFO] tweaked toml for crates.io crate casperlabs-contract-ffi 0.22.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40a49fc00b775d3f098ebdcf946c927ee311c7e920138ff4f4b7a7cd6b29c06f [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" "40a49fc00b775d3f098ebdcf946c927ee311c7e920138ff4f4b7a7cd6b29c06f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40a49fc00b775d3f098ebdcf946c927ee311c7e920138ff4f4b7a7cd6b29c06f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a49fc00b775d3f098ebdcf946c927ee311c7e920138ff4f4b7a7cd6b29c06f", kill_on_drop: false }` [INFO] [stdout] 40a49fc00b775d3f098ebdcf946c927ee311c7e920138ff4f4b7a7cd6b29c06f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 684cf0537c4f63712c165c65b2ca6ed4bc6d0f84d701c1375bed71c055a8d4a9 [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" "684cf0537c4f63712c165c65b2ca6ed4bc6d0f84d701c1375bed71c055a8d4a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling uint v0.8.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling blake2 v0.8.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling casperlabs-contract-ffi v0.22.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `alloc::alloc::Alloc` [INFO] [stdout] --> src/contract_api/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | alloc::{Alloc, Global}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / #![feature( [INFO] [stdout] 48 | | allocator_api, [INFO] [stdout] 49 | | core_intrinsics, [INFO] [stdout] 50 | | lang_items, [INFO] [stdout] ... | [INFO] [stdout] 53 | | try_reserve [INFO] [stdout] 54 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `alloc_array` found for struct `alloc::alloc::Global` in the current scope [INFO] [stdout] --> src/contract_api/mod.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | .alloc_array(n) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `alloc::alloc::Global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `casperlabs-contract-ffi`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "684cf0537c4f63712c165c65b2ca6ed4bc6d0f84d701c1375bed71c055a8d4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "684cf0537c4f63712c165c65b2ca6ed4bc6d0f84d701c1375bed71c055a8d4a9", kill_on_drop: false }` [INFO] [stdout] 684cf0537c4f63712c165c65b2ca6ed4bc6d0f84d701c1375bed71c055a8d4a9