[INFO] cloning repository https://github.com/dreamerldq/learning-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dreamerldq/learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdreamerldq%2Flearning-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdreamerldq%2Flearning-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 126108aa23f9d6566133883ba782bb81311191a7
[INFO] testing dreamerldq/learning-rust against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdreamerldq%2Flearning-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  81% (1593/1965)
Updating files:  82% (1612/1965)
Updating files:  83% (1631/1965)
Updating files:  84% (1651/1965)
Updating files:  85% (1671/1965)
Updating files:  86% (1690/1965)
Updating files:  87% (1710/1965)
Updating files:  88% (1730/1965)
Updating files:  88% (1737/1965)
Updating files:  89% (1749/1965)
Updating files:  90% (1769/1965)
Updating files:  91% (1789/1965)
Updating files:  92% (1808/1965)
Updating files:  93% (1828/1965)
Updating files:  94% (1848/1965)
Updating files:  95% (1867/1965)
Updating files:  96% (1887/1965)
Updating files:  97% (1907/1965)
Updating files:  98% (1926/1965)
Updating files:  99% (1946/1965)
Updating files: 100% (1965/1965)
Updating files: 100% (1965/1965), done.
[INFO] validating manifest of git repo https://github.com/dreamerldq/learning-rust on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dreamerldq/learning-rust
[INFO] finished tweaking git repo https://github.com/dreamerldq/learning-rust
[INFO] tweaked toml for git repo https://github.com/dreamerldq/learning-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/dreamerldq/learning-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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded image v0.19.0
[INFO] [stderr]   Downloaded html2md v0.2.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2ad0a047cdaf37a8d27c7c8381d923d08d4481ec092865f65c80e3c69fe89aef
[INFO] running `Command { std: "docker" "start" "-a" "2ad0a047cdaf37a8d27c7c8381d923d08d4481ec092865f65c80e3c69fe89aef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2ad0a047cdaf37a8d27c7c8381d923d08d4481ec092865f65c80e3c69fe89aef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ad0a047cdaf37a8d27c7c8381d923d08d4481ec092865f65c80e3c69fe89aef", kill_on_drop: false }`
[INFO] [stdout] 2ad0a047cdaf37a8d27c7c8381d923d08d4481ec092865f65c80e3c69fe89aef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c5ef083b4417f95d6990522d46c4aea85f399c65c3f1851f605aa7b25b76f91
[INFO] running `Command { std: "docker" "start" "-a" "4c5ef083b4417f95d6990522d46c4aea85f399c65c3f1851f605aa7b25b76f91", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]    Compiling lock_api v0.4.6
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling tendril v0.4.2
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling string_cache_codegen v0.5.1
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling markup5ever v0.10.1
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling tracing-core v0.1.23
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling string_cache v0.8.3
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling tracing v0.1.32
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.4
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling h2 v0.3.12
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling xml5ever v0.16.2
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling png v0.12.0
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling hyper v0.14.18
[INFO] [stderr]    Compiling html5ever v0.25.2
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling ipnet v2.4.0
[INFO] [stderr]    Compiling image v0.19.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling collections v0.1.0 (/opt/rustwide/workdir/collections)
[INFO] [stderr]    Compiling ltrait v0.1.0 (/opt/rustwide/workdir/ltrait)
[INFO] [stdout] warning: unused variable: `v1`
[INFO] [stdout]   --> collections/src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let v1 = vec![1,2,3,4];
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_v1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> collections/src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let row = vec![
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> collections/src/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let s = format!("{}-{}-{}", s4,s5,s6);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> ltrait/src/main.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 |         if(self.x>=self.y){
[INFO] [stdout]    |           ^              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -         if(self.x>=self.y){
[INFO] [stdout] 54 +         if self.x>=self.y {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item2`
[INFO] [stdout]   --> ltrait/src/main.rs:25:37
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn notify3(item1: impl Summary, item2: impl Summary + Display){
[INFO] [stdout]    |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stdout] warning: unused variable: `item1`
[INFO] [stdout]   --> ltrait/src/main.rs:31:45
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn notify4<T:Summary + Display>(item:T, item1:T){
[INFO] [stdout]    |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_item1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> ltrait/src/main.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn notify5<T,U>(a:T,b:U)->String
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `age` and `create_time` are never read
[INFO] [stdout]   --> ltrait/src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct NewsArtical {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 11 |     author: String,
[INFO] [stdout] 12 |     age:i32, 
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 13 |     create_time:i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]   --> ltrait/src/main.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct Pair<T>{
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> ltrait/src/main.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl<T> Pair<T> {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 48 |     fn new(x:T, y: T)->Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]   --> ltrait/src/main.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<T:Display + PartialOrd> Pair<T> {
[INFO] [stdout]    | ------------------------------------ method in this implementation
[INFO] [stdout] 53 |     fn cmp_display(&self){
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling hashmap v0.1.0 (/opt/rustwide/workdir/hashmap)
[INFO] [stdout] warning: unused variable: `scores1`
[INFO] [stdout]   --> hashmap/src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let scores1: HashMap<_, _> = teams.iter().zip(numbers).collect();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scores1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling result v0.1.0 (/opt/rustwide/workdir/result)
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling world_hello v0.1.0 (/opt/rustwide/workdir/learning)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `id`
[INFO] [stdout]   --> result/src/main.rs:44:48
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn read_username_from_file() -> Result<String, id::Error> {
[INFO] [stdout]    |                                                ^^ use of undeclared crate or module `id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> result/src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `result` (bin "result") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]  --> learning/src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     never_return();
[INFO] [stdout]   |     -------------- any code following this expression is unreachable
[INFO] [stdout] 8 |     assert_eq!(s, 3);
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]   = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> learning/src/main.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let s = sum(x, y);
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4c5ef083b4417f95d6990522d46c4aea85f399c65c3f1851f605aa7b25b76f91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c5ef083b4417f95d6990522d46c4aea85f399c65c3f1851f605aa7b25b76f91", kill_on_drop: false }`
[INFO] [stdout] 4c5ef083b4417f95d6990522d46c4aea85f399c65c3f1851f605aa7b25b76f91
