[INFO] crate casperlabs-contract-ffi 0.22.0 is already in cache [INFO] testing casperlabs-contract-ffi-0.22.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate casperlabs-contract-ffi 0.22.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate casperlabs-contract-ffi 0.22.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] 63ce75e57fff2ba28a43352bb9e9485d72dd1b4de3e498b35dbc721cb02fc019 [INFO] running `Command { std: "docker" "start" "-a" "63ce75e57fff2ba28a43352bb9e9485d72dd1b4de3e498b35dbc721cb02fc019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63ce75e57fff2ba28a43352bb9e9485d72dd1b4de3e498b35dbc721cb02fc019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ce75e57fff2ba28a43352bb9e9485d72dd1b4de3e498b35dbc721cb02fc019", kill_on_drop: false }` [INFO] [stdout] 63ce75e57fff2ba28a43352bb9e9485d72dd1b4de3e498b35dbc721cb02fc019 [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" "MAP_USER_ID=0" "-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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49ba1b0f2105ec49bea1865578a4800f492a392cb87e092f1db7753d4d9b6bbd [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" "49ba1b0f2105ec49bea1865578a4800f492a392cb87e092f1db7753d4d9b6bbd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling blake2 v0.8.1 [INFO] [stderr] Compiling uint v0.8.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling num-derive v0.2.5 [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] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | specialization, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [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 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, 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" "49ba1b0f2105ec49bea1865578a4800f492a392cb87e092f1db7753d4d9b6bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49ba1b0f2105ec49bea1865578a4800f492a392cb87e092f1db7753d4d9b6bbd", kill_on_drop: false }` [INFO] [stdout] 49ba1b0f2105ec49bea1865578a4800f492a392cb87e092f1db7753d4d9b6bbd