[INFO] fetching crate tx-from-scratch 0.1.0... [INFO] testing tx-from-scratch-0.1.0 against master#d117135f5a9b69ee3adfb1918aa25616758bf692 for pr-107251 [INFO] extracting crate tx-from-scratch 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate tx-from-scratch 0.1.0 on toolchain d117135f5a9b69ee3adfb1918aa25616758bf692 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tx-from-scratch 0.1.0 [INFO] finished tweaking crates.io crate tx-from-scratch 0.1.0 [INFO] tweaked toml for crates.io crate tx-from-scratch 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate tx-from-scratch 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded send_wrapper v0.4.0 [INFO] [stderr] Downloaded jsonrpsee-client-transport v0.16.2 [INFO] [stderr] Downloaded jsonrpsee-ws-client v0.16.2 [INFO] [stderr] Downloaded jsonrpsee v0.16.2 [INFO] [stderr] Downloaded secp256k1 v0.21.3 [INFO] [stderr] Downloaded jsonrpsee-types v0.16.2 [INFO] [stderr] Downloaded gloo-utils v0.1.6 [INFO] [stderr] Downloaded gloo-net v0.2.5 [INFO] [stderr] Downloaded parity-scale-codec v3.2.1 [INFO] [stderr] Downloaded jsonrpsee-http-client v0.16.2 [INFO] [stderr] Downloaded ethabi v16.0.0 [INFO] [stderr] Downloaded jsonrpsee-core v0.16.2 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.1.3 [INFO] [stderr] Downloaded jsonrpsee-wasm-client v0.16.2 [INFO] [stderr] Downloaded web3 v0.18.0 [INFO] [stderr] Downloaded web3-async-native-tls v0.4.0 [INFO] [stderr] Downloaded jsonrpsee-proc-macros v0.16.2 [INFO] [stderr] Downloaded jsonrpsee-server v0.16.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01cbc5820d75730582f85558c294554cca2acc3f107f096d4a95d7edfb5f2162 [INFO] running `Command { std: "docker" "start" "-a" "01cbc5820d75730582f85558c294554cca2acc3f107f096d4a95d7edfb5f2162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01cbc5820d75730582f85558c294554cca2acc3f107f096d4a95d7edfb5f2162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01cbc5820d75730582f85558c294554cca2acc3f107f096d4a95d7edfb5f2162", kill_on_drop: false }` [INFO] [stdout] 01cbc5820d75730582f85558c294554cca2acc3f107f096d4a95d7edfb5f2162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fea77cbc32dfc6a2e76bd7ad028fd50975ef5e95b64fd25dfd93da3ce0e464a [INFO] running `Command { std: "docker" "start" "-a" "0fea77cbc32dfc6a2e76bd7ad028fd50975ef5e95b64fd25dfd93da3ce0e464a", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling keccak v0.1.3 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling secp256k1-sys v0.7.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling sha3 v0.10.6 [INFO] [stderr] Compiling secp256k1 v0.25.0 [INFO] [stderr] Compiling tx-from-scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.64s [INFO] running `Command { std: "docker" "inspect" "0fea77cbc32dfc6a2e76bd7ad028fd50975ef5e95b64fd25dfd93da3ce0e464a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fea77cbc32dfc6a2e76bd7ad028fd50975ef5e95b64fd25dfd93da3ce0e464a", kill_on_drop: false }` [INFO] [stdout] 0fea77cbc32dfc6a2e76bd7ad028fd50975ef5e95b64fd25dfd93da3ce0e464a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bee4022984e7a5b0a1ec6755f8e17673362794c8ba8f672f20317945ec293f23 [INFO] running `Command { std: "docker" "start" "-a" "bee4022984e7a5b0a1ec6755f8e17673362794c8ba8f672f20317945ec293f23", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling serde_derive v1.0.151 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bumpalo v3.11.1 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling rustls v0.20.7 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling async-trait v0.1.60 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rustls-native-certs v0.6.2 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling async-lock v2.6.0 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ipnet v2.7.0 [INFO] [stderr] Compiling headers v0.3.8 [INFO] [stderr] Compiling tx-from-scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling globset v0.4.9 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling secp256k1 v0.21.3 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling toml v0.5.10 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Compiling js-sys v0.3.60 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.16.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling gloo-timers v0.2.5 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.33 [INFO] [stderr] Compiling web-sys v0.3.60 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling soketto v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling web3-async-native-tls v0.4.0 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ethbloom v0.11.1 [INFO] [stderr] Compiling primitive-types v0.12.1 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling jsonrpsee-types v0.16.2 [INFO] [stderr] Compiling gloo-utils v0.1.6 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling gloo-net v0.2.5 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling ethereum-types v0.12.1 [INFO] [stderr] Compiling ethabi v16.0.0 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling jsonrpsee-core v0.16.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling web3 v0.18.0 [INFO] [stderr] Compiling jsonrpsee-client-transport v0.16.2 [INFO] [stderr] Compiling jsonrpsee-server v0.16.2 [INFO] [stderr] Compiling jsonrpsee-http-client v0.16.2 [INFO] [stderr] Compiling jsonrpsee-wasm-client v0.16.2 [INFO] [stderr] Compiling jsonrpsee-ws-client v0.16.2 [INFO] [stderr] Compiling jsonrpsee v0.16.2 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "bee4022984e7a5b0a1ec6755f8e17673362794c8ba8f672f20317945ec293f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bee4022984e7a5b0a1ec6755f8e17673362794c8ba8f672f20317945ec293f23", kill_on_drop: false }` [INFO] [stdout] bee4022984e7a5b0a1ec6755f8e17673362794c8ba8f672f20317945ec293f23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 530e3d443d343d868f60a9366a2309308d06044166398c7773ee330347664dd3 [INFO] running `Command { std: "docker" "start" "-a" "530e3d443d343d868f60a9366a2309308d06044166398c7773ee330347664dd3", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.60s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tx_from_scratch-93c46f451b8c28fa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tx-from-scratch [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - Transaction::to (line 19) - compile ... ok [INFO] [stdout] test src/lib.rs - Transaction::sign (line 41) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Transaction::default (line 132) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Transaction::default (line 116) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Transaction::sign (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transaction` [INFO] [stdout] --> src/lib.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 8 | let tx = Transaction::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Transaction` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use tx_from_scratch::Transaction; [INFO] [stdout] | [INFO] [stdout] 2 | use web3::types::Transaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Transaction::default (line 132) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Transaction` in this scope [INFO] [stdout] --> src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 3 | Transaction { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use tx_from_scratch::Transaction; [INFO] [stdout] | [INFO] [stdout] 2 | use web3::types::Transaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Transaction::default (line 116) stdout ---- [INFO] [stdout] error: cannot use a comma after the base struct [INFO] [stdout] --> src/lib.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 13 | ..Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^- help: remove this comma [INFO] [stdout] | [INFO] [stdout] = note: the base struct must always be the last field [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:127:2 [INFO] [stdout] | [INFO] [stdout] 14 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 15 | } _doctest_main_src_lib_rs_116_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `to` in this scope [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 11 | to, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Transaction::default (line 116) [INFO] [stdout] src/lib.rs - Transaction::default (line 132) [INFO] [stdout] src/lib.rs - Transaction::sign (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "530e3d443d343d868f60a9366a2309308d06044166398c7773ee330347664dd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530e3d443d343d868f60a9366a2309308d06044166398c7773ee330347664dd3", kill_on_drop: false }` [INFO] [stdout] 530e3d443d343d868f60a9366a2309308d06044166398c7773ee330347664dd3