[INFO] cloning repository https://github.com/Guocork/design-model-23 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Guocork/design-model-23" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuocork%2Fdesign-model-23", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuocork%2Fdesign-model-23'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dec40dbdaa3ec219075f2cbc5956c03588e17b3a [INFO] checking Guocork/design-model-23 against try#3298c2ca5e390fd0d104357fdeec514a152a9561 for pr-136490 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuocork%2Fdesign-model-23" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Guocork/design-model-23 on toolchain 3298c2ca5e390fd0d104357fdeec514a152a9561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Guocork/design-model-23 [INFO] finished tweaking git repo https://github.com/Guocork/design-model-23 [INFO] tweaked toml for git repo https://github.com/Guocork/design-model-23 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Guocork/design-model-23 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" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01124e00e0763ef03b671edc17d8b36d9a91b2ad3375c1216a8fc201c22008f9 [INFO] running `Command { std: "docker" "start" "-a" "01124e00e0763ef03b671edc17d8b36d9a91b2ad3375c1216a8fc201c22008f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01124e00e0763ef03b671edc17d8b36d9a91b2ad3375c1216a8fc201c22008f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01124e00e0763ef03b671edc17d8b36d9a91b2ad3375c1216a8fc201c22008f9", kill_on_drop: false }` [INFO] [stdout] 01124e00e0763ef03b671edc17d8b36d9a91b2ad3375c1216a8fc201c22008f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28b0d4aafa4983655959b7a263e74e1a6db619d00a9c7ab3cf40b45c754be3c3 [INFO] running `Command { std: "docker" "start" "-a" "28b0d4aafa4983655959b7a263e74e1a6db619d00a9c7ab3cf40b45c754be3c3", kill_on_drop: false }` [INFO] [stderr] Checking design-model v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/Iter_model/NumberGenerator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/Iter_model/NumberGenerator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/Iter_model/Stack.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/Iter_model/NumberGenerator.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl NumberGenerator { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 14 | fn new(begin: usize, end: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_iterator` is never used [INFO] [stdout] --> src/Iter_model/NumberGenerator.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn count_iterator(range: T) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stack` is never constructed [INFO] [stdout] --> src/Iter_model/Stack.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Stack { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Iter_model/Stack.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Stack { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 11 | fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntoIter` is never constructed [INFO] [stdout] --> src/Iter_model/Stack.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | struct IntoIter(Stack); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/Iter_model/Stack.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | struct Iter<'a, T: 'a>(Vec<&'a T>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterMut` is never constructed [INFO] [stdout] --> src/Iter_model/Stack.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct IterMut<'a, T: 'a>(Vec<&'a mut T>); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Iter_model` should have a snake case name [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Iter_model; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `iter_model` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NumberGenerator` should have a snake case name [INFO] [stdout] --> src/Iter_model/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod NumberGenerator; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Stack` should have a snake case name [INFO] [stdout] --> src/Iter_model/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Stack; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stack` is never constructed [INFO] [stdout] --> src/Iter_model/Stack.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Stack { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Iter_model/Stack.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Stack { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 11 | fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntoIter` is never constructed [INFO] [stdout] --> src/Iter_model/Stack.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | struct IntoIter(Stack); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/Iter_model/Stack.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | struct Iter<'a, T: 'a>(Vec<&'a T>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterMut` is never constructed [INFO] [stdout] --> src/Iter_model/Stack.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct IterMut<'a, T: 'a>(Vec<&'a mut T>); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Iter_model` should have a snake case name [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Iter_model; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `iter_model` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NumberGenerator` should have a snake case name [INFO] [stdout] --> src/Iter_model/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod NumberGenerator; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Stack` should have a snake case name [INFO] [stdout] --> src/Iter_model/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Stack; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "28b0d4aafa4983655959b7a263e74e1a6db619d00a9c7ab3cf40b45c754be3c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28b0d4aafa4983655959b7a263e74e1a6db619d00a9c7ab3cf40b45c754be3c3", kill_on_drop: false }` [INFO] [stdout] 28b0d4aafa4983655959b7a263e74e1a6db619d00a9c7ab3cf40b45c754be3c3