[INFO] cloning repository https://github.com/luckygopher/rusty_road [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luckygopher/rusty_road" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluckygopher%2Frusty_road", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluckygopher%2Frusty_road'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7f8c7af76cf583ca015bcdd2b07d6def1fb160f [INFO] testing luckygopher/rusty_road against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluckygopher%2Frusty_road" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/luckygopher/rusty_road [INFO] finished tweaking git repo https://github.com/luckygopher/rusty_road [INFO] tweaked toml for git repo https://github.com/luckygopher/rusty_road written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luckygopher/rusty_road on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/luckygopher/rusty_road 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cb9fa087a0b7164a339129ea93f8b042f8defc76e7f11494227936770dc2c4d [INFO] running `Command { std: "docker" "start" "-a" "6cb9fa087a0b7164a339129ea93f8b042f8defc76e7f11494227936770dc2c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cb9fa087a0b7164a339129ea93f8b042f8defc76e7f11494227936770dc2c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cb9fa087a0b7164a339129ea93f8b042f8defc76e7f11494227936770dc2c4d", kill_on_drop: false }` [INFO] [stdout] 6cb9fa087a0b7164a339129ea93f8b042f8defc76e7f11494227936770dc2c4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce78a805c4a72ef50ac771324397ebe0936d88ac8685c3d72d3309c70a27a418 [INFO] running `Command { std: "docker" "start" "-a" "ce78a805c4a72ef50ac771324397ebe0936d88ac8685c3d72d3309c70a27a418", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling const-hex v1.14.0 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling data-encoding v2.7.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling hashers v1.0.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling futures-locks v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling auto_impl v1.2.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pin-project v1.1.8 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling coins-core v0.8.7 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling coins-bip32 v0.8.7 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling coins-bip39 v0.8.7 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling enr v0.10.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling parity-scale-codec v3.6.12 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling ethers-core v2.0.14 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ethers-contract-abigen v2.0.14 [INFO] [stderr] Compiling ethers-providers v2.0.14 [INFO] [stderr] Compiling ethers-etherscan v2.0.14 [INFO] [stderr] Compiling ethers-signers v2.0.14 [INFO] [stderr] Compiling ethers-addressbook v2.0.14 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Compiling ethers-contract v2.0.14 [INFO] [stderr] Compiling ethers-middleware v2.0.14 [INFO] [stderr] Compiling ethers v2.0.14 [INFO] [stderr] Compiling rusty_road v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/bin/error_demo.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let f = match f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/bin/error_demo.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let f = File::open("hello.txt").unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/bin/error_demo.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let f = File::open("hello.txt").expect("Failed to open hello.txt"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> src/bin/error_demo.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(str) => Ok(s), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_username_from_file` is never used [INFO] [stdout] --> src/bin/error_demo.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn read_username_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_username_from_file2` is never used [INFO] [stdout] --> src/bin/error_demo.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn read_username_from_file2() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_username_from_file3` is never used [INFO] [stdout] --> src/bin/error_demo.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn read_username_from_file3() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> src/bin/vector.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let v2 = vec![1, 2, 3]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_vector` is never used [INFO] [stdout] --> src/bin/vector.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn remove_vector() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swap_remove_vector` is never used [INFO] [stdout] --> src/bin/vector.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn swap_remove_vector() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pop_vector` is never used [INFO] [stdout] --> src/bin/vector.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn pop_vector() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_vector` is never used [INFO] [stdout] --> src/bin/vector.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn clear_vector() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retain_vector` is never used [INFO] [stdout] --> src/bin/vector.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn retain_vector() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drain_vector` is never used [INFO] [stdout] --> src/bin/vector.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn drain_vector() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `str1` [INFO] [stdout] --> src/bin/string.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 3 | let mut str1 = String::from("hello"); [INFO] [stdout] | -------- move occurs because `str1` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 10 | let str2 = str1; [INFO] [stdout] | ---- value moved here [INFO] [stdout] 11 | println!("{},{}", str1, str2); [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 10 | let str2 = str1.clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_road` (bin "string") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/bin/enum_demo.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let home = IpAddr { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `company` [INFO] [stdout] --> src/bin/enum_demo.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let company = IpAddr { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_company` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home1` [INFO] [stdout] --> src/bin/enum_demo.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let home1 = IpAddrKind2::V4(127, 0, 0, 1); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_home1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `company1` [INFO] [stdout] --> src/bin/enum_demo.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let company1 = IpAddrKind2::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_company1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move1` [INFO] [stdout] --> src/bin/enum_demo.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let move1 = Message::Move { x: 1, y: 2 }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_move1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `change_color` [INFO] [stdout] --> src/bin/enum_demo.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let change_color = Message::ChangeColor(0, 255, 255); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_change_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/bin/enum_demo.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let text = match write { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/bin/enum_demo.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 9 - V4(u8, u8, u8, u8), [INFO] [stdout] 9 + V4((), (), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/enum_demo.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - V6(String), [INFO] [stdout] 10 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `address` are never read [INFO] [stdout] --> src/bin/enum_demo.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct IpAddr { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 46 | kind: IpAddrKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LibResult` in this scope [INFO] [stdout] --> src/bin/ethers_wallet.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | async fn get_wallet(address: &str, password: &str) -> LibResult { [INFO] [stdout] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/result.rs:549:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Result` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LibResult` in this scope [INFO] [stdout] --> src/bin/ethers_wallet.rs:34:52 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn launch_token(user_address: String) -> LibResult { [INFO] [stdout] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/result.rs:549:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Result` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `consts` [INFO] [stdout] --> src/bin/ethers_wallet.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | let keystore_path = PathBuf::from(consts::KEYSTORE_DIR.as_str()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `consts` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `consts`, use `cargo add consts` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LibError` [INFO] [stdout] --> src/bin/ethers_wallet.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | .map_err(|e| LibError::ParamError(format!("Failed to read keystore directory: {}", e)))?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LibError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LibError` [INFO] [stdout] --> src/bin/ethers_wallet.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | .ok_or_else(|| LibError::ParamError("Keystore file not found".to_string()))?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LibError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LibError` [INFO] [stdout] --> src/bin/ethers_wallet.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | .map_err(|e| LibError::ParamError(format!("Failed to decrypt keystore: {}", e)))?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LibError` [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 `rusty_road` (bin "ethers_wallet") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "ce78a805c4a72ef50ac771324397ebe0936d88ac8685c3d72d3309c70a27a418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce78a805c4a72ef50ac771324397ebe0936d88ac8685c3d72d3309c70a27a418", kill_on_drop: false }` [INFO] [stdout] ce78a805c4a72ef50ac771324397ebe0936d88ac8685c3d72d3309c70a27a418