[INFO] cloning repository https://github.com/chanelmoreno/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chanelmoreno/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanelmoreno%2Frust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanelmoreno%2Frust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7e957693483fe5d33f0d5d1ac034c67f7ea3c05 [INFO] testing chanelmoreno/rust-playground against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanelmoreno%2Frust-playground" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chanelmoreno/rust-playground on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chanelmoreno/rust-playground [INFO] finished tweaking git repo https://github.com/chanelmoreno/rust-playground [INFO] tweaked toml for git repo https://github.com/chanelmoreno/rust-playground written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chanelmoreno/rust-playground 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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo-platform v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8e27d60daa935d4e9b6e79ee8929d2ed29ee429a7bf288d493cbbc8c6052721 [INFO] running `Command { std: "docker" "start" "-a" "c8e27d60daa935d4e9b6e79ee8929d2ed29ee429a7bf288d493cbbc8c6052721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8e27d60daa935d4e9b6e79ee8929d2ed29ee429a7bf288d493cbbc8c6052721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8e27d60daa935d4e9b6e79ee8929d2ed29ee429a7bf288d493cbbc8c6052721", kill_on_drop: false }` [INFO] [stdout] c8e27d60daa935d4e9b6e79ee8929d2ed29ee429a7bf288d493cbbc8c6052721 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abdb86bdd491655d184b3c5447900621c6b841b7cdc369097b3b22b037d3d4c7 [INFO] running `Command { std: "docker" "start" "-a" "abdb86bdd491655d184b3c5447900621c6b841b7cdc369097b3b22b037d3d4c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling const-oid v0.9.5 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling winnow v0.5.17 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling regex-syntax v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [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 sha3 v0.10.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling crypto-bigint v0.5.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling regex-automata v0.4.1 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling elliptic-curve v0.13.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling ecdsa v0.16.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling k256 v0.13.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling const-hex v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling regex v1.10.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling bs58 v0.5.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rustls-webpki v0.101.6 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling hashers v1.0.1 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling strum_macros v0.25.2 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling tracing v0.1.39 [INFO] [stderr] Compiling futures-locks v0.7.1 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling js-sys v0.3.64 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling cargo-platform v0.1.4 [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.19.15 [INFO] [stderr] Compiling coins-bip32 v0.8.7 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling enr v0.9.1 [INFO] [stderr] Compiling coins-bip39 v0.8.7 [INFO] [stderr] Compiling cargo_metadata v0.17.0 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.5 [INFO] [stderr] Compiling scale-info-derive v2.9.0 [INFO] [stderr] Compiling num_enum_derive v0.7.0 [INFO] [stderr] Compiling num_enum v0.7.0 [INFO] [stderr] Compiling parity-scale-codec v3.6.5 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling scale-info v2.9.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethbloom v0.13.0 [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.27 [INFO] [stderr] Compiling ethers-core v2.0.10 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling ethers-providers v2.0.10 [INFO] [stderr] Compiling ethers-contract-abigen v2.0.10 [INFO] [stderr] Compiling ethers-signers v2.0.10 [INFO] [stderr] Compiling ethers-etherscan v2.0.10 [INFO] [stderr] Compiling ethers-addressbook v2.0.10 [INFO] [stderr] Compiling ethers-contract-derive v2.0.10 [INFO] [stderr] Compiling ethers-contract v2.0.10 [INFO] [stderr] Compiling ethers-middleware v2.0.10 [INFO] [stderr] Compiling ethers v2.0.10 [INFO] [stderr] Compiling playaround v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> src/m8_collections.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/m2_structs.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increment_signin_count`, `change_email`, `change_username`, and `change_activestate` are never used [INFO] [stdout] --> src/m2_structs.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl User { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 12 | fn increment_signin_count(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn change_email(&mut self, new_email: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn change_username(&mut self, new_username: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn change_activestate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_username_manual` is never used [INFO] [stdout] --> src/m2_structs.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn change_username_manual(user: &mut User, new_username: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Attacker` is never used [INFO] [stdout] --> src/m3_traits.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Attacker { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Character` is never used [INFO] [stdout] --> src/m3_traits.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Character { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Character` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EthAddress` is never used [INFO] [stdout] --> src/m4_polymorphism.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait EthAddress { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_eth_data` is never used [INFO] [stdout] --> src/m4_polymorphism.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_eth_data(address: T) -> Address { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_async_call` is never used [INFO] [stdout] --> src/m7_async.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | async fn my_async_call(url: &str) -> Result { // [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.30s [INFO] running `Command { std: "docker" "inspect" "abdb86bdd491655d184b3c5447900621c6b841b7cdc369097b3b22b037d3d4c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abdb86bdd491655d184b3c5447900621c6b841b7cdc369097b3b22b037d3d4c7", kill_on_drop: false }` [INFO] [stdout] abdb86bdd491655d184b3c5447900621c6b841b7cdc369097b3b22b037d3d4c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9b00228f821a5f63d7b6dfe48338849e1744272c25273d6e158cc58b2837be9 [INFO] running `Command { std: "docker" "start" "-a" "f9b00228f821a5f63d7b6dfe48338849e1744272c25273d6e158cc58b2837be9", kill_on_drop: false }` [INFO] [stderr] Compiling playaround v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/m6_patterns.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/m6_patterns.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | Location{x, y:0} => println!("y is on the axis"), [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/m6_patterns.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | Location{x:0, y} => println!("x is on the axis"), [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/m6_patterns.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | Location{x, y} => println!("neither is on the axis") [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/m6_patterns.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | Location{x, y} => println!("neither is on the axis") [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_score` [INFO] [stdout] --> src/m8_collections.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let test_score = results_hm.get(person1); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active` is never read [INFO] [stdout] --> src/m2_structs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `change_username` and `change_activestate` are never used [INFO] [stdout] --> src/m2_structs.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl User { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | fn change_username(&mut self, new_username: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn change_activestate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Warrior` and `Wizard` are never constructed [INFO] [stdout] --> src/m3_traits.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum Character { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 10 | Warrior, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Archer, [INFO] [stdout] 12 | Wizard, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Character` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/m1_enums.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | dbg!(check_under_five_built_in_result_enum_result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/m1_enums.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | dbg!(check_under_five_built_in_result_enum_result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.28s [INFO] running `Command { std: "docker" "inspect" "f9b00228f821a5f63d7b6dfe48338849e1744272c25273d6e158cc58b2837be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9b00228f821a5f63d7b6dfe48338849e1744272c25273d6e158cc58b2837be9", kill_on_drop: false }` [INFO] [stdout] f9b00228f821a5f63d7b6dfe48338849e1744272c25273d6e158cc58b2837be9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ded411e77a2c82aa9aba27462e03f01d2d43e2a45fdbbfebd57e4d60b8d68183 [INFO] running `Command { std: "docker" "start" "-a" "ded411e77a2c82aa9aba27462e03f01d2d43e2a45fdbbfebd57e4d60b8d68183", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/m6_patterns.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/m6_patterns.rs:67:22 [INFO] [stderr] | [INFO] [stderr] 67 | Location{x, y:0} => println!("y is on the axis"), [INFO] [stderr] | ^ help: try ignoring the field: `x: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/m6_patterns.rs:68:27 [INFO] [stderr] | [INFO] [stderr] 68 | Location{x:0, y} => println!("x is on the axis"), [INFO] [stderr] | ^ help: try ignoring the field: `y: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/m6_patterns.rs:69:22 [INFO] [stderr] | [INFO] [stderr] 69 | Location{x, y} => println!("neither is on the axis") [INFO] [stderr] | ^ help: try ignoring the field: `x: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/m6_patterns.rs:69:25 [INFO] [stderr] | [INFO] [stderr] 69 | Location{x, y} => println!("neither is on the axis") [INFO] [stderr] | ^ help: try ignoring the field: `y: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `test_score` [INFO] [stderr] --> src/m8_collections.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | let test_score = results_hm.get(person1); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_score` [INFO] [stderr] [INFO] [stderr] warning: field `active` is never read [INFO] [stderr] --> src/m2_structs.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | struct User { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | active: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `change_username` and `change_activestate` are never used [INFO] [stderr] --> src/m2_structs.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 11 | impl User { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | fn change_username(&mut self, new_username: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | fn change_activestate(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Warrior` and `Wizard` are never constructed [INFO] [stderr] --> src/m3_traits.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | enum Character { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 10 | Warrior, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 11 | Archer, [INFO] [stderr] 12 | Wizard, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Character` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/m1_enums.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 96 | dbg!(check_under_five_built_in_result_enum_result); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/m1_enums.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | dbg!(check_under_five_built_in_result_enum_result); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `playaround` (bin "playaround" test) generated 11 warnings (run `cargo fix --bin "playaround" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/playaround-20d3ec8639582c2c) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test m2_structs::test::tests_struts ... ok [INFO] [stdout] test m6_patterns::test::tests_match_guard ... ok [INFO] [stdout] test m3_traits::test::tests_traits ... ok [INFO] [stdout] test m4_polymorphism::test::tests_poly ... ok [INFO] [stdout] test m6_patterns::test::tests_match_option ... ok [INFO] [stdout] test m6_patterns::test::tests_match_struct ... ok [INFO] [stdout] test m1_enums::test::tests_enums ... ok [INFO] [stdout] test m6_patterns::test::tests_patterns ... ok [INFO] [stdout] test m8_collections::test::tests_hashmaps ... ok [INFO] [stdout] test m8_collections::test::tests_hashsets ... ok [INFO] [stdout] test m9_decl_macros::tests::tests_declarative_macro ... ok [INFO] [stdout] test m7_async::tests::tests_calls_async_fn ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ded411e77a2c82aa9aba27462e03f01d2d43e2a45fdbbfebd57e4d60b8d68183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ded411e77a2c82aa9aba27462e03f01d2d43e2a45fdbbfebd57e4d60b8d68183", kill_on_drop: false }` [INFO] [stdout] ded411e77a2c82aa9aba27462e03f01d2d43e2a45fdbbfebd57e4d60b8d68183