[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 1.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdreamerldq%2Flearning-rust" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/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:  87% (1728/1965)
Updating files:  88% (1730/1965)
Updating files:  89% (1749/1965)
Updating files:  90% (1769/1965)
Updating files:  91% (1789/1965)
Updating files:  91% (1807/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 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/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-10/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: "/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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d0982d94bd603754f95b334118f50e67e1feb4a538f8060a9ebbb1b29a23f194
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d0982d94bd603754f95b334118f50e67e1feb4a538f8060a9ebbb1b29a23f194", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d0982d94bd603754f95b334118f50e67e1feb4a538f8060a9ebbb1b29a23f194", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0982d94bd603754f95b334118f50e67e1feb4a538f8060a9ebbb1b29a23f194", kill_on_drop: false }`
[INFO] [stdout] d0982d94bd603754f95b334118f50e67e1feb4a538f8060a9ebbb1b29a23f194
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 8f45d480a918a8826d416c1b53909d0336807ea09be7139065b18df5602aafd6
[INFO] running `Command { std: "docker" "start" "-a" "8f45d480a918a8826d416c1b53909d0336807ea09be7139065b18df5602aafd6", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling world_hello v0.1.0 (/opt/rustwide/workdir/learning)
[INFO] [stderr]    Compiling genericty v0.1.0 (/opt/rustwide/workdir/genericty)
[INFO] [stderr]    Compiling result v0.1.0 (/opt/rustwide/workdir/result)
[INFO] [stderr]    Compiling ltrait v0.1.0 (/opt/rustwide/workdir/ltrait)
[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] [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: field is never read: `age`
[INFO] [stdout]   --> ltrait/src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     age:i32, 
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `create_time`
[INFO] [stdout]   --> ltrait/src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     create_time:i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Pair`
[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: unused variable: `float`
[INFO] [stdout]   --> genericty/src/main.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let float = Point{x:1.1,y:2.1};
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_float`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> ltrait/src/main.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn new(x:T, y: T)->Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `cmp_display`
[INFO] [stdout]   --> ltrait/src/main.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn cmp_display(&self){
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum is never used: `Option`
[INFO] [stdout]   --> genericty/src/main.rs:18:6
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum Option<T>{
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum is never used: `Result`
[INFO] [stdout]   --> genericty/src/main.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum Result<T, E> {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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] 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` due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8f45d480a918a8826d416c1b53909d0336807ea09be7139065b18df5602aafd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f45d480a918a8826d416c1b53909d0336807ea09be7139065b18df5602aafd6", kill_on_drop: false }`
[INFO] [stdout] 8f45d480a918a8826d416c1b53909d0336807ea09be7139065b18df5602aafd6
