[INFO] cloning repository https://github.com/LiWenGu/learing-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiWenGu/learing-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiWenGu%2Flearing-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiWenGu%2Flearing-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1018016a1d796e913f4132017e0b754036fa4939 [INFO] checking LiWenGu/learing-rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiWenGu%2Flearing-rust" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LiWenGu/learing-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LiWenGu/learing-rust [INFO] finished tweaking git repo https://github.com/LiWenGu/learing-rust [INFO] tweaked toml for git repo https://github.com/LiWenGu/learing-rust written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/LiWenGu/learing-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ce96313c31cad9a9725af78d44cc1aa90a78b461c2d41197b7b45f70c65ec85 [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" "5ce96313c31cad9a9725af78d44cc1aa90a78b461c2d41197b7b45f70c65ec85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ce96313c31cad9a9725af78d44cc1aa90a78b461c2d41197b7b45f70c65ec85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce96313c31cad9a9725af78d44cc1aa90a78b461c2d41197b7b45f70c65ec85", kill_on_drop: false }` [INFO] [stdout] 5ce96313c31cad9a9725af78d44cc1aa90a78b461c2d41197b7b45f70c65ec85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a264994e37ac760c2db0e4b1e76ab726fcef8ab297afaa54c04e66335f3af9c2 [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" "a264994e37ac760c2db0e4b1e76ab726fcef8ab297afaa54c04e66335f3af9c2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking intelligent-point v0.1.0 (/opt/rustwide/workdir/intelligent-point) [INFO] [stderr] Checking object-feature v0.1.0 (/opt/rustwide/workdir/object-feature) [INFO] [stderr] Checking web v0.1.0 (/opt/rustwide/workdir/web) [INFO] [stderr] Checking hello_macro v0.1.0 (/opt/rustwide/workdir/hello_macro) [INFO] [stderr] Checking fearless-concurrent v0.1.0 (/opt/rustwide/workdir/fearless-concurrent) [INFO] [stderr] Checking advance-feature v0.1.0 (/opt/rustwide/workdir/advance-feature) [INFO] [stderr] Checking rand v0.4.6 [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> intelligent-point/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> object-feature/src/lib.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | fn content<'a>(&self, post: &'a Post) -> &'a str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> intelligent-point/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> object-feature/src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> object-feature/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `options` [INFO] [stdout] --> object-feature/src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | options: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> web/src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> object-feature/src/lib.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | fn content<'a>(&self, post: &'a Post) -> &'a str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> web/src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> object-feature/src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> object-feature/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `options` [INFO] [stdout] --> object-feature/src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | options: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_at_mut` [INFO] [stdout] --> advance-feature/src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn split_at_mut(slice: &mut [i32], mid: usize) -> (&mut [i32], &mut [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: `diameter` [INFO] [stdout] --> advance-feature/src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | diameter: &'a i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `baby_name` [INFO] [stdout] --> advance-feature/src/main.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn baby_name() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MutexExample` should have a snake case name [INFO] [stdout] --> fearless-concurrent/src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn MutexExample() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mutex_example` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_at_mut` [INFO] [stdout] --> advance-feature/src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn split_at_mut(slice: &mut [i32], mid: usize) -> (&mut [i32], &mut [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: `diameter` [INFO] [stdout] --> advance-feature/src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | diameter: &'a i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `baby_name` [INFO] [stdout] --> advance-feature/src/main.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn baby_name() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MutexExample` should have a snake case name [INFO] [stdout] --> fearless-concurrent/src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn MutexExample() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mutex_example` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> intelligent-point/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let list = Cons(1, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> intelligent-point/src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let c = CustomSmartPointer {data: String::from("my stuff")}; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> intelligent-point/src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let d = CustomSmartPointer {data: String::from("other stuff")}; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Listz` [INFO] [stdout] --> intelligent-point/src/main.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | enum Listz { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> web/src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> web/src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> intelligent-point/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let list = Cons(1, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> intelligent-point/src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let c = CustomSmartPointer {data: String::from("my stuff")}; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> intelligent-point/src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let d = CustomSmartPointer {data: String::from("other stuff")}; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Listz` [INFO] [stdout] --> intelligent-point/src/main.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | enum Listz { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking add-one v0.1.0 (/opt/rustwide/workdir/add-one) [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking adder v0.1.0 (/opt/rustwide/workdir/adder) [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> adder/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> adder/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking syn v0.14.9 [INFO] [stderr] Checking hello_macro_derive v0.1.0 (/opt/rustwide/workdir/hello_macro/hello_macro_derive) [INFO] [stderr] Checking pancakes v0.1.0 (/opt/rustwide/workdir/pancakes) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.60s [INFO] running `Command { std: "docker" "inspect" "a264994e37ac760c2db0e4b1e76ab726fcef8ab297afaa54c04e66335f3af9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a264994e37ac760c2db0e4b1e76ab726fcef8ab297afaa54c04e66335f3af9c2", kill_on_drop: false }` [INFO] [stdout] a264994e37ac760c2db0e4b1e76ab726fcef8ab297afaa54c04e66335f3af9c2