[INFO] fetching crate elrond-wasm-debug 0.5.3... [INFO] checking elrond-wasm-debug-0.5.3 against master#c724b67e1b474262917a5154d74e7072267593fe for pr-74315 [INFO] extracting crate elrond-wasm-debug 0.5.3 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate elrond-wasm-debug 0.5.3 on toolchain c724b67e1b474262917a5154d74e7072267593fe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate elrond-wasm-debug 0.5.3 [INFO] finished tweaking crates.io crate elrond-wasm-debug 0.5.3 [INFO] tweaked toml for crates.io crate elrond-wasm-debug 0.5.3 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0337a34c511190349be8b1a7ec08e9ecc8fae2aa09a0e6141bad75970e6d4797 [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" "0337a34c511190349be8b1a7ec08e9ecc8fae2aa09a0e6141bad75970e6d4797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0337a34c511190349be8b1a7ec08e9ecc8fae2aa09a0e6141bad75970e6d4797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0337a34c511190349be8b1a7ec08e9ecc8fae2aa09a0e6141bad75970e6d4797", kill_on_drop: false }` [INFO] [stdout] 0337a34c511190349be8b1a7ec08e9ecc8fae2aa09a0e6141bad75970e6d4797 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdb9af64cf2387e3b70ccb114a47888f67725ae1ab6daf0372ac0d3ecdbf93e0 [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" "cdb9af64cf2387e3b70ccb114a47888f67725ae1ab6daf0372ac0d3ecdbf93e0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking elrond-codec v0.1.1 [INFO] [stderr] Checking elrond-wasm v0.5.4 [INFO] [stderr] Checking elrond-wasm-debug v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0053]: method `using_top_encoded` has an incompatible type for trait [INFO] [stdout] --> src/big_int_mock.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | fn using_top_encoded(&self, f: F) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&big_int_mock::RustBigInt, _) -> std::result::Result<(), elrond_wasm::elrond_codec::EncodeError>` [INFO] [stdout] found fn pointer `fn(&big_int_mock::RustBigInt, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dep_encode_to` has an incompatible type for trait [INFO] [stdout] --> src/big_int_mock.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | fn dep_encode_to(&self, dest: &mut O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&big_int_mock::RustBigInt, &mut O) -> std::result::Result<(), elrond_wasm::elrond_codec::EncodeError>` [INFO] [stdout] found fn pointer `fn(&big_int_mock::RustBigInt, &mut O)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `using_top_encoded` has an incompatible type for trait [INFO] [stdout] --> src/big_uint_mock.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | fn using_top_encoded(&self, f: F) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&big_uint_mock::RustBigUint, _) -> std::result::Result<(), elrond_wasm::elrond_codec::EncodeError>` [INFO] [stdout] found fn pointer `fn(&big_uint_mock::RustBigUint, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dep_encode_to` has an incompatible type for trait [INFO] [stdout] --> src/big_uint_mock.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | fn dep_encode_to(&self, dest: &mut O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&big_uint_mock::RustBigUint, &mut O) -> std::result::Result<(), elrond_wasm::elrond_codec::EncodeError>` [INFO] [stdout] found fn pointer `fn(&big_uint_mock::RustBigUint, &mut O)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `using_top_encoded` has an incompatible type for trait [INFO] [stdout] --> src/big_int_mock.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | fn using_top_encoded(&self, f: F) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&big_int_mock::RustBigInt, _) -> std::result::Result<(), elrond_wasm::elrond_codec::EncodeError>` [INFO] [stdout] found fn pointer `fn(&big_int_mock::RustBigInt, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dep_encode_to` has an incompatible type for trait [INFO] [stdout] --> src/big_int_mock.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | fn dep_encode_to(&self, dest: &mut O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&big_int_mock::RustBigInt, &mut O) -> std::result::Result<(), elrond_wasm::elrond_codec::EncodeError>` [INFO] [stdout] found fn pointer `fn(&big_int_mock::RustBigInt, &mut O)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `using_top_encoded` has an incompatible type for trait [INFO] [stdout] --> src/big_uint_mock.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | fn using_top_encoded(&self, f: F) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&big_uint_mock::RustBigUint, _) -> std::result::Result<(), elrond_wasm::elrond_codec::EncodeError>` [INFO] [stdout] found fn pointer `fn(&big_uint_mock::RustBigUint, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dep_encode_to` has an incompatible type for trait [INFO] [stdout] --> src/big_uint_mock.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | fn dep_encode_to(&self, dest: &mut O) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&big_uint_mock::RustBigUint, &mut O) -> std::result::Result<(), elrond_wasm::elrond_codec::EncodeError>` [INFO] [stdout] found fn pointer `fn(&big_uint_mock::RustBigUint, &mut O)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for enum `std::result::Result, elrond_wasm::elrond_codec::EncodeError>` in the current scope [INFO] [stdout] --> src/lib.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(serialized_bytes.as_slice(), expected_bytes); [INFO] [stdout] | ^^^^^^^^ method not found in `std::result::Result, elrond_wasm::elrond_codec::EncodeError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `std::result::Result, elrond_wasm::elrond_codec::EncodeError>` [INFO] [stdout] --> src/lib.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | let deserialized: V = V::top_decode(&mut &serialized_bytes[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elrond-wasm-debug`. [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [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] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cdb9af64cf2387e3b70ccb114a47888f67725ae1ab6daf0372ac0d3ecdbf93e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdb9af64cf2387e3b70ccb114a47888f67725ae1ab6daf0372ac0d3ecdbf93e0", kill_on_drop: false }` [INFO] [stdout] cdb9af64cf2387e3b70ccb114a47888f67725ae1ab6daf0372ac0d3ecdbf93e0