[INFO] cloning repository https://github.com/EdenCao/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/EdenCao/rust_learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdenCao%2Frust_learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdenCao%2Frust_learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3b85aa524f292dd7b9939ed7d5de8b6456618f9f
[INFO] testing EdenCao/rust_learning against 1.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdenCao%2Frust_learning" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/EdenCao/rust_learning on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/EdenCao/rust_learning
[INFO] finished tweaking git repo https://github.com/EdenCao/rust_learning
[INFO] tweaked toml for git repo https://github.com/EdenCao/rust_learning written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/EdenCao/rust_learning already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89f0591044587fdaf4e9289818721bd9371cd3a3e700930ee485d4eafb1a73ca
[INFO] running `Command { std: "docker" "start" "-a" "89f0591044587fdaf4e9289818721bd9371cd3a3e700930ee485d4eafb1a73ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89f0591044587fdaf4e9289818721bd9371cd3a3e700930ee485d4eafb1a73ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89f0591044587fdaf4e9289818721bd9371cd3a3e700930ee485d4eafb1a73ca", kill_on_drop: false }`
[INFO] [stdout] 89f0591044587fdaf4e9289818721bd9371cd3a3e700930ee485d4eafb1a73ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] acc80a17c564b6de306087a117815f40e0a2e2f2e7791e5717a44501098d5a76
[INFO] running `Command { std: "docker" "start" "-a" "acc80a17c564b6de306087a117815f40e0a2e2f2e7791e5717a44501098d5a76", kill_on_drop: false }`
[INFO] [stderr]    Compiling rand_core v0.3.0
[INFO] [stderr]    Compiling libc v0.2.43
[INFO] [stderr]    Compiling rand_core v0.2.2
[INFO] [stderr]    Compiling rand v0.5.5
[INFO] [stderr]    Compiling rust_learning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0601]: `main` function not found in crate `refcall`
[INFO] [stdout]   --> src/refcall.rs:66:2
[INFO] [stdout]    |
[INFO] [stdout] 66 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/refcall.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]   --> src/iflet.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let mut count = 0;
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]    = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]   --> src/iflet.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     count += 1;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_learning` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `user2`
[INFO] [stdout]   --> src/struct.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |   let user2 = User {
[INFO] [stdout]    |       ^^^^^ help: if this is intentional, prefix it with an underscore: `_user2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Penny`
[INFO] [stdout]  --> src/iflet.rs:2:3
[INFO] [stdout]   |
[INFO] [stdout] 2 |   Penny,
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `black`
[INFO] [stdout]   --> src/struct.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let black = Color(0, 0, 0);
[INFO] [stdout]    |       ^^^^^ help: if this is intentional, prefix it with an underscore: `_black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Nickel`
[INFO] [stdout]  --> src/iflet.rs:3:3
[INFO] [stdout]   |
[INFO] [stdout] 3 |   Nickel,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Dime`
[INFO] [stdout]  --> src/iflet.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 |   Dime,
[INFO] [stdout]   |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Alabama`
[INFO] [stdout]   --> src/iflet.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |   Alabama,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/iflet.rs:8:10
[INFO] [stdout]    |
[INFO] [stdout] 8  | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `username`
[INFO] [stdout]  --> src/struct.rs:2:3
[INFO] [stdout]   |
[INFO] [stdout] 2 |   username: String,
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `email`
[INFO] [stdout]  --> src/struct.rs:3:3
[INFO] [stdout]   |
[INFO] [stdout] 3 |   email: String,
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `sign_in_count`
[INFO] [stdout]  --> src/struct.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 |   sign_in_count: u64,
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `active`
[INFO] [stdout]  --> src/struct.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 |   active: bool
[INFO] [stdout]   |   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/struct_ex.rs:17:3
[INFO] [stdout]    |
[INFO] [stdout] 17 |   ///
[INFO] [stdout]    |   ^^^
[INFO] [stdout] 18 |   let rect1 = (30, 50);
[INFO] [stdout]    |   --------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/read.rs:14:42
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn run(config: Config) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 - fn run(config: Config) -> Result<(), Box<Error>> {
[INFO] [stdout] 14 + fn run(config: Config) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]   --> src/match.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |   let six = plus_one(five);
[INFO] [stdout]    |       ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `query`
[INFO] [stdout]   --> src/read.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     query: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `search_case_insensitive`
[INFO] [stdout]   --> src/read.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn search_case_insensitive<'a>(query: &str, contents: &'a str) -> Vec<&'a str> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]   --> src/match.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 |   let none = plus_one(None);
[INFO] [stdout]    |       ^^^^ help: if this is intentional, prefix it with an underscore: `_none`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Penny`
[INFO] [stdout]  --> src/match.rs:2:3
[INFO] [stdout]   |
[INFO] [stdout] 2 |   Penny,
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Nickel`
[INFO] [stdout]  --> src/match.rs:3:3
[INFO] [stdout]   |
[INFO] [stdout] 3 |   Nickel,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Dime`
[INFO] [stdout]  --> src/match.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 |   Dime,
[INFO] [stdout]   |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Alabama`
[INFO] [stdout]   --> src/match.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |   Alabama,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/match.rs:8:10
[INFO] [stdout]    |
[INFO] [stdout] 8  | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `value`
[INFO] [stdout]  --> src/weak_ref.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 |   value: i32,
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/weak_ref.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `children`
[INFO] [stdout]  --> src/weak_ref.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 |   children: RefCell<Vec<Rc<Node>>>
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/weak_ref.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "acc80a17c564b6de306087a117815f40e0a2e2f2e7791e5717a44501098d5a76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acc80a17c564b6de306087a117815f40e0a2e2f2e7791e5717a44501098d5a76", kill_on_drop: false }`
[INFO] [stdout] acc80a17c564b6de306087a117815f40e0a2e2f2e7791e5717a44501098d5a76
