[INFO] fetching crate owasm-abi 0.3.0... [INFO] checking owasm-abi-0.3.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate owasm-abi 0.3.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate owasm-abi 0.3.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding fixed-hash v0.3.2 (available: v0.8.0) [INFO] [stderr] Adding hex-literal v0.1.4 (available: v0.4.1) [INFO] [stderr] Adding hex-literal-impl v0.1.2 (available: v0.2.3) [INFO] [stderr] Adding proc-macro-hack v0.4.3 (available: v0.5.20+deprecated) [INFO] [stderr] Adding static_assertions v0.2.5 (available: v1.1.0) [INFO] [stderr] Adding uint v0.6.1 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 fixed-hash v0.3.2 [INFO] [stderr] Downloaded static_assertions v0.2.5 [INFO] [stderr] Downloaded hex-literal-impl v0.1.2 [INFO] [stderr] Downloaded proc-macro-hack v0.4.3 [INFO] [stderr] Downloaded owasm-std v0.20.1 [INFO] [stderr] Downloaded uint v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be1ab845f94292f120954b1f654fea5005c242cd367b4d906c695146db628d07 [INFO] running `Command { std: "docker" "start" "-a" "be1ab845f94292f120954b1f654fea5005c242cd367b4d906c695146db628d07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be1ab845f94292f120954b1f654fea5005c242cd367b4d906c695146db628d07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be1ab845f94292f120954b1f654fea5005c242cd367b4d906c695146db628d07", kill_on_drop: false }` [INFO] [stdout] be1ab845f94292f120954b1f654fea5005c242cd367b4d906c695146db628d07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30d9a63c286f32fea4cde814920339707fb374fe705e7a428e67f65d75abd58c [INFO] running `Command { std: "docker" "start" "-a" "30d9a63c286f32fea4cde814920339707fb374fe705e7a428e67f65d75abd58c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.3 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Compiling proc-macro-hack v0.4.3 [INFO] [stderr] Compiling hex-literal-impl v0.1.2 [INFO] [stderr] Checking uint v0.6.1 [INFO] [stderr] Checking hex-literal v0.1.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking owasm-std v0.20.1 [INFO] [stderr] Checking owasm-abi v0.3.0 (/opt/rustwide/workdir) [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 structs [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 structs [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: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/eth/tests.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `strict` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/eth/tests.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `strict` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/eth/tests.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(not(feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `strict` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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] 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: aborting due to 11 previous errors; 5 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; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "30d9a63c286f32fea4cde814920339707fb374fe705e7a428e67f65d75abd58c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d9a63c286f32fea4cde814920339707fb374fe705e7a428e67f65d75abd58c", kill_on_drop: false }` [INFO] [stdout] 30d9a63c286f32fea4cde814920339707fb374fe705e7a428e67f65d75abd58c