[INFO] fetching crate owasm-abi 0.3.0... [INFO] checking owasm-abi-0.3.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate owasm-abi 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate owasm-abi 0.3.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate owasm-abi 0.3.0 [INFO] finished tweaking crates.io crate owasm-abi 0.3.0 [INFO] tweaked toml for crates.io crate owasm-abi 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages [INFO] [stderr] Adding fixed-hash v0.3.2 (latest: v0.8.0) [INFO] [stderr] Adding hex-literal v0.1.4 (latest: v0.4.1) [INFO] [stderr] Adding hex-literal-impl v0.1.2 (latest: v0.2.3) [INFO] [stderr] Adding proc-macro-hack v0.4.3 (latest: v0.5.20+deprecated) [INFO] [stderr] Adding static_assertions v0.2.5 (latest: v1.1.0) [INFO] [stderr] Adding uint v0.6.1 (latest: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex-literal v0.1.4 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.3 [INFO] [stderr] Downloaded proc-macro-hack v0.4.3 [INFO] [stderr] Downloaded hex-literal-impl v0.1.2 [INFO] [stderr] Downloaded uint v0.6.1 [INFO] [stderr] Downloaded owasm-std v0.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3877cf5791371324d72fb6943fa0209c705d6c3f903411d2befde7aca235354 [INFO] running `Command { std: "docker" "start" "-a" "e3877cf5791371324d72fb6943fa0209c705d6c3f903411d2befde7aca235354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3877cf5791371324d72fb6943fa0209c705d6c3f903411d2befde7aca235354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3877cf5791371324d72fb6943fa0209c705d6c3f903411d2befde7aca235354", kill_on_drop: false }` [INFO] [stdout] e3877cf5791371324d72fb6943fa0209c705d6c3f903411d2befde7aca235354 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6b5f89827377fefe0f27533ac5f2efb5a7b70febe0013340806fa5c0192c704 [INFO] running `Command { std: "docker" "start" "-a" "f6b5f89827377fefe0f27533ac5f2efb5a7b70febe0013340806fa5c0192c704", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.3 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Checking uint v0.6.1 [INFO] [stderr] Checking owasm-std v0.20.1 [INFO] [stderr] Compiling proc-macro-hack v0.4.3 [INFO] [stderr] Compiling hex-literal-impl v0.1.2 [INFO] [stderr] Checking owasm-abi v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hex-literal v0.1.4 [INFO] [stdout] warning: method `as_log` is never used [INFO] [stdout] --> src/eth/log.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait AsLog { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 9 | /// Convert type to hash representation for the event log. [INFO] [stdout] 10 | fn as_log(&self) -> H256; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U256` in this scope [INFO] [stdout] --> src/eth/tests.rs:169:56 [INFO] [stdout] | [INFO] [stdout] 169 | let (v1, v2, v3) = triple_decode::, bool, Vec>(&sample); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use owasm_std::prelude::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U256` [INFO] [stdout] --> src/eth/tests.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq_core!(v3, vec![U256::from(1), U256::from(2), U256::from(3)]); [INFO] [stdout] | ^^^^ use of undeclared type `U256` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use owasm_std::prelude::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U256` [INFO] [stdout] --> src/eth/tests.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq_core!(v3, vec![U256::from(1), U256::from(2), U256::from(3)]); [INFO] [stdout] | ^^^^ use of undeclared type `U256` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use owasm_std::prelude::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U256` [INFO] [stdout] --> src/eth/tests.rs:173:57 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq_core!(v3, vec![U256::from(1), U256::from(2), U256::from(3)]); [INFO] [stdout] | ^^^^ use of undeclared type `U256` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use owasm_std::prelude::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `eth` in the list of imported crates [INFO] [stdout] --> src/eth/tests.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | let mut sink = ::eth::Sink::new(1); [INFO] [stdout] | ^^^ could not find `eth` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::eth::Sink; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Sink; [INFO] [stdout] | [INFO] [stdout] help: if you import `Sink`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 179 - let mut sink = ::eth::Sink::new(1); [INFO] [stdout] 179 + let mut sink = Sink::new(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `eth` in the list of imported crates [INFO] [stdout] --> src/eth/tests.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let mut stream = ::eth::Stream::new(&payload[..]); [INFO] [stdout] | ^^^ could not find `eth` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::eth::Stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `Stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 188 - let mut stream = ::eth::Stream::new(&payload[..]); [INFO] [stdout] 188 + let mut stream = Stream::new(&payload[..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `eth` in the list of imported crates [INFO] [stdout] --> src/eth/tests.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 196 | let mut sink = ::eth::Sink::new(1); [INFO] [stdout] | ^^^ could not find `eth` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::eth::Sink; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Sink; [INFO] [stdout] | [INFO] [stdout] help: if you import `Sink`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - let mut sink = ::eth::Sink::new(1); [INFO] [stdout] 196 + let mut sink = Sink::new(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `eth` in the list of imported crates [INFO] [stdout] --> src/eth/tests.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | let mut stream = ::eth::Stream::new(&payload[..]); [INFO] [stdout] | ^^^ could not find `eth` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::eth::Stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `Stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 208 - let mut stream = ::eth::Stream::new(&payload[..]); [INFO] [stdout] 208 + let mut stream = Stream::new(&payload[..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `eth` in the list of imported crates [INFO] [stdout] --> src/eth/tests.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | let mut stream = ::eth::Stream::new(&sample); [INFO] [stdout] | ^^^ could not find `eth` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::eth::Stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `Stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 217 - let mut stream = ::eth::Stream::new(&sample); [INFO] [stdout] 217 + let mut stream = Stream::new(&sample); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `eth` in the list of imported crates [INFO] [stdout] --> src/eth/tests.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | let mut stream = ::eth::Stream::new(&sample); [INFO] [stdout] | ^^^ could not find `eth` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::eth::Stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `Stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 225 - let mut stream = ::eth::Stream::new(&sample); [INFO] [stdout] 225 + let mut stream = Stream::new(&sample); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `eth` in the list of imported crates [INFO] [stdout] --> src/eth/tests.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | let mut stream = ::eth::Stream::new(&payload[..]); [INFO] [stdout] | ^^^ could not find `eth` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::eth::Stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `Stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 254 - let mut stream = ::eth::Stream::new(&payload[..]); [INFO] [stdout] 254 + let mut stream = Stream::new(&payload[..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(all(test), macro_use)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/eth/tests.rs:76:56 [INFO] [stdout] | [INFO] [stdout] 76 | fn single_decode(payload: &[u8]) -> (T) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - fn single_decode(payload: &[u8]) -> (T) { [INFO] [stdout] 76 + fn single_decode(payload: &[u8]) -> T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `owasm-abi` (lib test) due to 12 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f6b5f89827377fefe0f27533ac5f2efb5a7b70febe0013340806fa5c0192c704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6b5f89827377fefe0f27533ac5f2efb5a7b70febe0013340806fa5c0192c704", kill_on_drop: false }` [INFO] [stdout] f6b5f89827377fefe0f27533ac5f2efb5a7b70febe0013340806fa5c0192c704