[INFO] cloning repository https://github.com/leecobaby/study-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leecobaby/study-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleecobaby%2Fstudy-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleecobaby%2Fstudy-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d7cb5e178d0d2d6794201af8b33d067ab635bef3
[INFO] testing leecobaby/study-rust against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleecobaby%2Fstudy-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/leecobaby/study-rust
[INFO] finished tweaking git repo https://github.com/leecobaby/study-rust
[INFO] tweaked toml for git repo https://github.com/leecobaby/study-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/leecobaby/study-rust on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/leecobaby/study-rust 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profiles
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.139
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d5fc80ac3de39fd3ad1e11d232b87fecbbd0ba624fe5bf347c6c4e117a14b927
[INFO] running `Command { std: "docker" "start" "-a" "d5fc80ac3de39fd3ad1e11d232b87fecbbd0ba624fe5bf347c6c4e117a14b927", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d5fc80ac3de39fd3ad1e11d232b87fecbbd0ba624fe5bf347c6c4e117a14b927", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5fc80ac3de39fd3ad1e11d232b87fecbbd0ba624fe5bf347c6c4e117a14b927", kill_on_drop: false }`
[INFO] [stdout] d5fc80ac3de39fd3ad1e11d232b87fecbbd0ba624fe5bf347c6c4e117a14b927
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 067b1eec1525d442076a28c98bbef88b4d29c03556cb6ca44d2effd2e90c9a0e
[INFO] running `Command { std: "docker" "start" "-a" "067b1eec1525d442076a28c98bbef88b4d29c03556cb6ca44d2effd2e90c9a0e", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profiles
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling study_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0601]: `main` function not found in crate `16_4`
[INFO] [stdout]  --> src/bin/16-4.rs:7:41
[INFO] [stdout]   |
[INFO] [stdout] 7 | // 也就是说，如果一个类型 T 实现了 Sync，那么 &T 就是 Send
[INFO] [stdout]   |                                                           ^ consider adding a `main` function to `src/bin/16-4.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `study_rust` (bin "16-4") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0601]: `main` function not found in crate `11_6`
[INFO] [stdout]   --> src/bin/11-6.rs:34:2
[INFO] [stdout]    |
[INFO] [stdout] 34 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/11-6.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_POINTS` is never used
[INFO] [stdout]  --> src/bin/3-1.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const MAX_POINTS: u32 = 100_000;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `11_3`
[INFO] [stdout]   --> src/bin/11-3.rs:18:2
[INFO] [stdout]    |
[INFO] [stdout] 18 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/11-3.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error: invalid character '.' in crate name: `15_2.2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/15-5.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let x = 5;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `study_rust` (bin "11-6") due to 1 previous error
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/bin/15-5.rs:28:27
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<T> {
[INFO] [stdout]    |                           ^^                 --------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `study_rust` (bin "15-2.2") due to 1 previous error
[INFO] [stdout] error[E0601]: `main` function not found in crate `18_1`
[INFO] [stdout]  --> src/bin/18-1.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | // param
[INFO] [stdout]   |         ^ consider adding a `main` function to `src/bin/18-1.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `13_7`
[INFO] [stdout]   --> src/bin/13-7.rs:38:2
[INFO] [stdout]    |
[INFO] [stdout] 38 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/13-7.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `io` is defined multiple times
[INFO] [stdout]   --> src/bin/7-5.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::{cmp::Ordering, io};
[INFO] [stdout]    |                          -- previous import of the module `io` here
[INFO] [stdout] ...
[INFO] [stdout] 21 | use std::io::{self, Write};
[INFO] [stdout]    |               ^^^^--
[INFO] [stdout]    |               |
[INFO] [stdout]    |               `io` reimported here
[INFO] [stdout]    |               help: remove unnecessary import
[INFO] [stdout]    |
[INFO] [stdout]    = note: `io` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/bin/7-5.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/bin/7-5.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cmp::Ordering` and `io`
[INFO] [stdout]   --> src/bin/7-5.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::{cmp::Ordering, io};
[INFO] [stdout]    |           ^^^^^^^^^^^^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `self`
[INFO] [stdout]   --> src/bin/7-5.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::io::{self, Write};
[INFO] [stdout]    |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `7_5`
[INFO] [stdout]   --> src/bin/7-5.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::io::{self, Write};
[INFO] [stdout]    |                            ^ consider adding a `main` function to `src/bin/7-5.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0252, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `13_8`
[INFO] [stdout]   --> src/bin/13-8.rs:48:2
[INFO] [stdout]    |
[INFO] [stdout] 48 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/13-8.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `study_rust` (bin "11-3") due to 1 previous error
[INFO] [stderr] error: could not compile `study_rust` (bin "18-1") due to 1 previous error
[INFO] [stderr] error: could not compile `study_rust` (bin "7-5") due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] error: could not compile `study_rust` (bin "13-7") due to 1 previous error
[INFO] [stdout] error: cannot find derive macro `HelloMacro` in this scope
[INFO] [stdout]   --> src/bin/19-5.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(HelloMacro)]
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HelloMacro` is in scope, but it is only a trait, without a derive macro
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `11_8`
[INFO] [stdout]   --> src/bin/11-8.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 19 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/11-8.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: method `area` is never used
[INFO] [stdout]   --> src/bin/5-3.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Rectangle {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 13 |     fn area(&self) -> u32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid character '.' in crate name: `15_2.1`
[INFO] [stdout]   |
[INFO] [stdout]   = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `pool`
[INFO] [stdout]   --> src/bin/pool.rs:22:2
[INFO] [stdout]    |
[INFO] [stdout] 22 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/pool.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `study_rust` (bin "13-8") due to 1 previous error
[INFO] [stderr] error: could not compile `study_rust` (bin "11-8") due to 1 previous error
[INFO] [stderr] error: could not compile `study_rust` (bin "15-2.1") due to 1 previous error
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/bin/pool.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn execute<F>(&self, f: F)
[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] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `hello_macro` found for struct `Pancakes` in the current scope
[INFO] [stdout]   --> src/bin/19-5.rs:34:15
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Pancakes;
[INFO] [stdout]    | --------------- function or associated item `hello_macro` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     Pancakes::hello_macro();
[INFO] [stdout]    |               ^^^^^^^^^^^ function or associated item not found in `Pancakes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `HelloMacro` defines an item `hello_macro`, perhaps you need to implement it
[INFO] [stdout]   --> src/bin/19-5.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub trait HelloMacro {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `study_rust` (bin "pool") due to 1 previous error; 1 warning emitted
[INFO] [stderr] error: could not compile `study_rust` (bin "19-5") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "067b1eec1525d442076a28c98bbef88b4d29c03556cb6ca44d2effd2e90c9a0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "067b1eec1525d442076a28c98bbef88b4d29c03556cb6ca44d2effd2e90c9a0e", kill_on_drop: false }`
[INFO] [stdout] 067b1eec1525d442076a28c98bbef88b4d29c03556cb6ca44d2effd2e90c9a0e
