[INFO] cloning repository https://github.com/guohuiyuan/rust-learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guohuiyuan/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguohuiyuan%2Frust-learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguohuiyuan%2Frust-learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bebd13e4168c7d9e11ac926483753a1296788a0d
[INFO] testing guohuiyuan/rust-learning against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguohuiyuan%2Frust-learning" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/guohuiyuan/rust-learning
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/guohuiyuan/rust-learning
[INFO] tweaked toml for git repo https://github.com/guohuiyuan/rust-learning written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/guohuiyuan/rust-learning on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/guohuiyuan/rust-learning 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cssparser v0.27.2
[INFO] [stderr]   Downloaded jsonpath v0.1.1
[INFO] [stderr]   Downloaded scraper v0.13.0
[INFO] [stderr]   Downloaded futures-io v0.3.24
[INFO] [stderr]   Downloaded string_cache v0.8.4
[INFO] [stderr]   Downloaded futures-executor v0.3.24
[INFO] [stderr]   Downloaded pest_derive v1.0.8
[INFO] [stderr]   Downloaded async-trait v0.1.57
[INFO] [stderr]   Downloaded anyhow v1.0.65
[INFO] [stderr]   Downloaded futures v0.3.24
[INFO] [stderr]   Downloaded axum v0.5.16
[INFO] [stderr]   Downloaded pest v1.0.6
[INFO] [stderr]   Downloaded selectors v0.22.0
[INFO] [stderr]   Downloaded unicode-ident v1.0.4
[INFO] [stderr]   Downloaded libm v0.2.5
[INFO] [stderr]   Downloaded unicode-segmentation v1.10.0
[INFO] [stderr]   Downloaded phf_macros v0.8.0
[INFO] [stderr]   Downloaded libc v0.2.134
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 847c8bb1b96c0397cd572acb4ea34774135ebcd3d3f7da55a74684f49dc06258
[INFO] running `Command { std: "docker" "start" "-a" "847c8bb1b96c0397cd572acb4ea34774135ebcd3d3f7da55a74684f49dc06258", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "847c8bb1b96c0397cd572acb4ea34774135ebcd3d3f7da55a74684f49dc06258", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "847c8bb1b96c0397cd572acb4ea34774135ebcd3d3f7da55a74684f49dc06258", kill_on_drop: false }`
[INFO] [stdout] 847c8bb1b96c0397cd572acb4ea34774135ebcd3d3f7da55a74684f49dc06258
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d5f54b05f82ceb52b67735763aac94d9c895de88cd9e7fb5d519186b268235ed
[INFO] running `Command { std: "docker" "start" "-a" "d5f54b05f82ceb52b67735763aac94d9c895de88cd9e7fb5d519186b268235ed", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.46
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling syn v1.0.102
[INFO] [stderr]    Compiling libc v0.2.134
[INFO] [stderr]    Compiling once_cell v1.15.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling futures-sink v0.3.24
[INFO] [stderr]    Compiling futures-task v0.3.24
[INFO] [stderr]    Compiling futures-channel v0.3.24
[INFO] [stderr]    Compiling serde_derive v1.0.145
[INFO] [stderr]    Compiling futures-util v0.3.24
[INFO] [stderr]    Compiling tokio v1.21.2
[INFO] [stderr]    Compiling serde v1.0.145
[INFO] [stderr]    Compiling futures-io v0.3.24
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling openssl-sys v0.9.76
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling openssl v0.10.42
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling mac v0.1.1
[INFO] [stderr]    Compiling backtrace v0.3.66
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling futf v0.1.5
[INFO] [stderr]    Compiling libm v0.2.5
[INFO] [stderr]    Compiling tower-layer v0.3.1
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]    Compiling gimli v0.26.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.25.1
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling dtoa-short v0.3.3
[INFO] [stderr]    Compiling tendril v0.4.3
[INFO] [stderr]    Compiling phf v0.10.1
[INFO] [stderr]    Compiling object v0.29.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling rustc-demangle v0.1.21
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling servo_arc v0.1.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling thin-slice v0.1.1
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling pest v1.0.6
[INFO] [stderr]    Compiling http-range-header v0.3.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling anyhow v1.0.65
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling pest_derive v1.0.8
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling hashlink v0.8.1
[INFO] [stderr]    Compiling ego-tree v0.6.2
[INFO] [stderr]    Compiling sync_wrapper v0.1.1
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling matchit v0.5.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.2
[INFO] [stderr]    Compiling phf_codegen v0.10.0
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling markup5ever v0.11.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling selectors v0.22.0
[INFO] [stderr]    Compiling addr2line v0.17.0
[INFO] [stderr]    Compiling error-chain v0.11.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling futures-macro v0.3.24
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling phf_macros v0.8.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling cssparser v0.27.2
[INFO] [stderr]    Compiling html5ever v0.26.0
[INFO] [stderr]    Compiling cssparser-macros v0.6.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling axum-core v0.2.8
[INFO] [stderr]    Compiling futures-executor v0.3.24
[INFO] [stderr]    Compiling futures v0.3.24
[INFO] [stderr]    Compiling h2 v0.3.14
[INFO] [stderr]    Compiling tower-http v0.3.4
[INFO] [stderr]    Compiling rusqlite v0.28.0
[INFO] [stderr]    Compiling string_cache v0.8.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling jsonpath v0.1.1
[INFO] [stderr]    Compiling scraper v0.13.0
[INFO] [stderr]    Compiling hyper v0.14.20
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling axum v0.5.16
[INFO] [stderr]    Compiling reqwest v0.11.12
[INFO] [stderr]    Compiling rust-learning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s
[INFO] running `Command { std: "docker" "inspect" "d5f54b05f82ceb52b67735763aac94d9c895de88cd9e7fb5d519186b268235ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5f54b05f82ceb52b67735763aac94d9c895de88cd9e7fb5d519186b268235ed", kill_on_drop: false }`
[INFO] [stdout] d5f54b05f82ceb52b67735763aac94d9c895de88cd9e7fb5d519186b268235ed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c3a1dbc95ca127da8f1f638b451aa54cba3cf27eaaa51ddf46097a8928f37074
[INFO] running `Command { std: "docker" "start" "-a" "c3a1dbc95ca127da8f1f638b451aa54cba3cf27eaaa51ddf46097a8928f37074", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-learning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]  --> examples/rng/point.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Point {
[INFO] [stdout]   |        ----- fields in this struct
[INFO] [stdout] 6 |     x: i32,
[INFO] [stdout]   |     ^
[INFO] [stdout] 7 |     y: i32,
[INFO] [stdout]   |     ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Point` 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: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])`
[INFO] [stdout]  --> examples/sqlite/select.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rusqlite::NO_PARAMS;
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])`
[INFO] [stdout]   --> examples/sqlite/select.rs:42:31
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let cats = stmt.query_map(NO_PARAMS, |row| {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `color` are never read
[INFO] [stdout]  --> examples/sqlite/select.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Cat {
[INFO] [stdout]   |        --- fields in this struct
[INFO] [stdout] 8 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 9 |     color: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Cat` 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: unused variable: `f`
[INFO] [stdout]   --> src/lib.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut f = File::create("foo.txt")?;
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut f = File::create("foo.txt")?;
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> examples/reqwest/tieba.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf` and `Path`
[INFO] [stdout]  --> examples/reqwest/tieba.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |     path::{Path, PathBuf},
[INFO] [stdout]   |            ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `structopt::StructOpt`
[INFO] [stdout]   --> examples/reqwest/tieba.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use structopt::StructOpt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncBufReadExt`
[INFO] [stdout]   --> examples/reqwest/tieba.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::io::AsyncBufReadExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::BufReader`
[INFO] [stdout]   --> examples/reqwest/tieba.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::io::BufReader;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])`
[INFO] [stdout]  --> examples/sqlite/create.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rusqlite::NO_PARAMS;
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])`
[INFO] [stdout]   --> examples/sqlite/create.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         NO_PARAMS,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])`
[INFO] [stdout]   --> examples/sqlite/create.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         NO_PARAMS,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `result` and `content` are never read
[INFO] [stdout]  --> examples/reqwest/get.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Response {
[INFO] [stdout]   |        -------- fields in this struct
[INFO] [stdout] 8 |     result: isize,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 9 |     content: String,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Response` 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> examples/reqwest/download.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn basename(path: &str, sep: char) -> Cow<str> {
[INFO] [stdout]    |                   ^^^^                -------- the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn basename(path: &str, sep: char) -> Cow<'_, str> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> examples/reqwest/tieba.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn basename(path: &str, sep: char) -> Cow<str> {
[INFO] [stdout]    |                   ^^^^                -------- the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn basename(path: &str, sep: char) -> Cow<'_, str> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.68s
[INFO] running `Command { std: "docker" "inspect" "c3a1dbc95ca127da8f1f638b451aa54cba3cf27eaaa51ddf46097a8928f37074", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3a1dbc95ca127da8f1f638b451aa54cba3cf27eaaa51ddf46097a8928f37074", kill_on_drop: false }`
[INFO] [stdout] c3a1dbc95ca127da8f1f638b451aa54cba3cf27eaaa51ddf46097a8928f37074
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5e1f5a648af07152aafc7fcb095cd4231437acdae5f935582acdead76c972cad
[INFO] running `Command { std: "docker" "start" "-a" "5e1f5a648af07152aafc7fcb095cd4231437acdae5f935582acdead76c972cad", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]   --> src/lib.rs:60:17
[INFO] [stderr]    |
[INFO] [stderr] 60 |         let mut f = File::create("foo.txt")?;
[INFO] [stderr]    |                 ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/lib.rs:60:13
[INFO] [stderr]    |
[INFO] [stderr] 60 |         let mut f = File::create("foo.txt")?;
[INFO] [stderr]    |             ----^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-learning` (lib test) generated 2 warnings (run `cargo fix --lib -p rust-learning --tests` to apply 1 suggestion)
[INFO] [stderr] warning: fields `x` and `y` are never read
[INFO] [stderr]  --> examples/rng/point.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct Point {
[INFO] [stderr]   |        ----- fields in this struct
[INFO] [stderr] 6 |     x: i32,
[INFO] [stderr]   |     ^
[INFO] [stderr] 7 |     y: i32,
[INFO] [stderr]   |     ^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Point` 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: fields `result` and `content` are never read
[INFO] [stderr]  --> examples/reqwest/get.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Response {
[INFO] [stderr]   |        -------- fields in this struct
[INFO] [stderr] 8 |     result: isize,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr] 9 |     content: String,
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Response` 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> examples/reqwest/download.rs:12:19
[INFO] [stderr]    |
[INFO] [stderr] 12 | fn basename(path: &str, sep: char) -> Cow<str> {
[INFO] [stderr]    |                   ^^^^                -------- the same lifetime is hidden here
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 12 | fn basename(path: &str, sep: char) -> Cow<'_, str> {
[INFO] [stderr]    |                                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs`
[INFO] [stderr]  --> examples/reqwest/tieba.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::fs;
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `PathBuf` and `Path`
[INFO] [stderr]  --> examples/reqwest/tieba.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 |     path::{Path, PathBuf},
[INFO] [stderr]   |            ^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `structopt::StructOpt`
[INFO] [stderr]   --> examples/reqwest/tieba.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use structopt::StructOpt;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::io::AsyncBufReadExt`
[INFO] [stderr]   --> examples/reqwest/tieba.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use tokio::io::AsyncBufReadExt;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::io::BufReader`
[INFO] [stderr]   --> examples/reqwest/tieba.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use tokio::io::BufReader;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> examples/reqwest/tieba.rs:61:19
[INFO] [stderr]    |
[INFO] [stderr] 61 | fn basename(path: &str, sep: char) -> Cow<str> {
[INFO] [stderr]    |                   ^^^^                -------- the same lifetime is hidden here
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 61 | fn basename(path: &str, sep: char) -> Cow<'_, str> {
[INFO] [stderr]    |                                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])`
[INFO] [stderr]  --> examples/sqlite/create.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 | use rusqlite::NO_PARAMS;
[INFO] [stderr]   |               ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])`
[INFO] [stderr]   --> examples/sqlite/create.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 |         NO_PARAMS,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])`
[INFO] [stderr]   --> examples/sqlite/create.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 20 |         NO_PARAMS,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-learning` (example "rng-point") generated 1 warning
[INFO] [stderr] warning: `rust-learning` (example "reqwest-get") generated 1 warning
[INFO] [stderr] warning: `rust-learning` (example "reqwest-download") generated 1 warning
[INFO] [stderr] warning: `rust-learning` (example "reqwest-tieba") generated 6 warnings (run `cargo fix --example "reqwest-tieba"` to apply 5 suggestions)
[INFO] [stderr] warning: `rust-learning` (example "sqlite-create") generated 3 warnings
[INFO] [stderr] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])`
[INFO] [stderr]  --> examples/sqlite/select.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 | use rusqlite::NO_PARAMS;
[INFO] [stderr]   |               ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])`
[INFO] [stderr]   --> examples/sqlite/select.rs:42:31
[INFO] [stderr]    |
[INFO] [stderr] 42 |     let cats = stmt.query_map(NO_PARAMS, |row| {
[INFO] [stderr]    |                               ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name` and `color` are never read
[INFO] [stderr]  --> examples/sqlite/select.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Cat {
[INFO] [stderr]   |        --- fields in this struct
[INFO] [stderr] 8 |     name: String,
[INFO] [stderr]   |     ^^^^
[INFO] [stderr] 9 |     color: String,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Cat` 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: `rust-learning` (example "sqlite-select") generated 3 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_learning-9a9e9ac0474430fd)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test tests::create_file_test ... FAILED
[INFO] [stdout] test tests::create_test ... FAILED
[INFO] [stdout] test tests::open_options_test ... FAILED
[INFO] [stdout] test tests::pathfile_test ... ok
[INFO] [stdout] test tests::open_test ... FAILED
[INFO] [stdout] test tests::read_test ... FAILED
[INFO] [stdout] test tests::write_test ... FAILED
[INFO] [stdout] test tests::remove_test ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::create_file_test stdout ----
[INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] 
[INFO] [stdout] ---- tests::create_test stdout ----
[INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] 
[INFO] [stdout] ---- tests::open_options_test stdout ----
[INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] 
[INFO] [stdout] ---- tests::open_test stdout ----
[INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] ---- tests::read_test stdout ----
[INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] ---- tests::write_test stdout ----
[INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] 
[INFO] [stdout] ---- tests::remove_test stdout ----
[INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::create_file_test
[INFO] [stdout]     tests::create_test
[INFO] [stdout]     tests::open_options_test
[INFO] [stdout]     tests::open_test
[INFO] [stdout]     tests::read_test
[INFO] [stdout]     tests::remove_test
[INFO] [stdout]     tests::write_test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "5e1f5a648af07152aafc7fcb095cd4231437acdae5f935582acdead76c972cad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e1f5a648af07152aafc7fcb095cd4231437acdae5f935582acdead76c972cad", kill_on_drop: false }`
[INFO] [stdout] 5e1f5a648af07152aafc7fcb095cd4231437acdae5f935582acdead76c972cad
