[INFO] cloning repository https://github.com/yusufziyrek/rust-training
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yusufziyrek/rust-training" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyusufziyrek%2Frust-training", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyusufziyrek%2Frust-training'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 33fbeaea3bb8d5a17698947263c10359f57257f9
[INFO] testing yusufziyrek/rust-training against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyusufziyrek%2Frust-training" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/yusufziyrek/rust-training
[INFO] finished tweaking git repo https://github.com/yusufziyrek/rust-training
[INFO] tweaked toml for git repo https://github.com/yusufziyrek/rust-training written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yusufziyrek/rust-training on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/yusufziyrek/rust-training 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1cb6f94b9df354a114265d4acc86ba43c5ce741592ced9420b3c86f2219ed52c
[INFO] running `Command { std: "docker" "start" "-a" "1cb6f94b9df354a114265d4acc86ba43c5ce741592ced9420b3c86f2219ed52c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1cb6f94b9df354a114265d4acc86ba43c5ce741592ced9420b3c86f2219ed52c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cb6f94b9df354a114265d4acc86ba43c5ce741592ced9420b3c86f2219ed52c", kill_on_drop: false }`
[INFO] [stdout] 1cb6f94b9df354a114265d4acc86ba43c5ce741592ced9420b3c86f2219ed52c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 287c4963e387c3889a2b253ff05ef9202c85b3c33d0600f89a5b696c657f2b32
[INFO] running `Command { std: "docker" "start" "-a" "287c4963e387c3889a2b253ff05ef9202c85b3c33d0600f89a5b696c657f2b32", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_training v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/borrowing.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_length` is never used
[INFO] [stdout]   --> src/borrowing.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn calculate_length(s: &String) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change` is never used
[INFO] [stdout]   --> src/borrowing.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn change(s: &mut String) {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/collections.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `divide` is never used
[INFO] [stdout]   --> src/collections.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn divide(numerator: f64, denominator: f64) -> Result<f64, String> {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_result` is never used
[INFO] [stdout]   --> src/collections.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn handle_result(res: Result<f64, String>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/data_types.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/enums.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_box` is never used
[INFO] [stdout]   --> src/enums.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn open_box(kutu: Option<&str>) {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpAddrKind` is never used
[INFO] [stdout]   --> src/enums.rs:62:6
[INFO] [stdout]    |
[INFO] [stdout] 62 | enum IpAddrKind {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpAddr` is never used
[INFO] [stdout]   --> src/enums.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 | enum IpAddr {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_ip` is never used
[INFO] [stdout]   --> src/enums.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn print_ip(ip: IpAddr) {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/lifetimes.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]   --> src/lifetimes.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/modern_rust.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/traits.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Summary` is never used
[INFO] [stdout]   --> src/traits.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait Summary {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewsArticle` is never constructed
[INFO] [stdout]   --> src/traits.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct NewsArticle {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tweet` is never constructed
[INFO] [stdout]   --> src/traits.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct Tweet {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest` is never used
[INFO] [stdout]   --> src/traits.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn largest<T: PartialOrd + Copy>(list: &[T]) -> T {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]  --> src/unit_tests.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn add(a: i32, b: i32) -> i32 {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `greet` is never used
[INFO] [stdout]  --> src/unit_tests.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn greet(name: &str) -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]   --> src/unit_tests.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn run_demo() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "287c4963e387c3889a2b253ff05ef9202c85b3c33d0600f89a5b696c657f2b32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "287c4963e387c3889a2b253ff05ef9202c85b3c33d0600f89a5b696c657f2b32", kill_on_drop: false }`
[INFO] [stdout] 287c4963e387c3889a2b253ff05ef9202c85b3c33d0600f89a5b696c657f2b32
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e84a64c273ba5271a923d4a9c16f073c86ad75adee3c4ccfcc341a0a7929b45f
[INFO] running `Command { std: "docker" "start" "-a" "e84a64c273ba5271a923d4a9c16f073c86ad75adee3c4ccfcc341a0a7929b45f", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_training v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/borrowing.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_length` is never used
[INFO] [stdout]   --> src/borrowing.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn calculate_length(s: &String) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change` is never used
[INFO] [stdout]   --> src/borrowing.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn change(s: &mut String) {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/collections.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `divide` is never used
[INFO] [stdout]   --> src/collections.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn divide(numerator: f64, denominator: f64) -> Result<f64, String> {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_result` is never used
[INFO] [stdout]   --> src/collections.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn handle_result(res: Result<f64, String>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/data_types.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/enums.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_box` is never used
[INFO] [stdout]   --> src/enums.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn open_box(kutu: Option<&str>) {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpAddrKind` is never used
[INFO] [stdout]   --> src/enums.rs:62:6
[INFO] [stdout]    |
[INFO] [stdout] 62 | enum IpAddrKind {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpAddr` is never used
[INFO] [stdout]   --> src/enums.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 | enum IpAddr {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_ip` is never used
[INFO] [stdout]   --> src/enums.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn print_ip(ip: IpAddr) {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/lifetimes.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]   --> src/lifetimes.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/modern_rust.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]  --> src/traits.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run_demo() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Summary` is never used
[INFO] [stdout]   --> src/traits.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait Summary {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewsArticle` is never constructed
[INFO] [stdout]   --> src/traits.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct NewsArticle {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tweet` is never constructed
[INFO] [stdout]   --> src/traits.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct Tweet {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest` is never used
[INFO] [stdout]   --> src/traits.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn largest<T: PartialOrd + Copy>(list: &[T]) -> T {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_demo` is never used
[INFO] [stdout]   --> src/unit_tests.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn run_demo() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] running `Command { std: "docker" "inspect" "e84a64c273ba5271a923d4a9c16f073c86ad75adee3c4ccfcc341a0a7929b45f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e84a64c273ba5271a923d4a9c16f073c86ad75adee3c4ccfcc341a0a7929b45f", kill_on_drop: false }`
[INFO] [stdout] e84a64c273ba5271a923d4a9c16f073c86ad75adee3c4ccfcc341a0a7929b45f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4dc626df3b013e6f41b1e711de605dd34a1fda3212cb91a6a741797113fdb760
[INFO] running `Command { std: "docker" "start" "-a" "4dc626df3b013e6f41b1e711de605dd34a1fda3212cb91a6a741797113fdb760", kill_on_drop: false }`
[INFO] [stderr] warning: function `run_demo` is never used
[INFO] [stderr]  --> src/borrowing.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn run_demo() {
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `calculate_length` is never used
[INFO] [stderr]   --> src/borrowing.rs:16:4
[INFO] [stderr]    |
[INFO] [stderr] 16 | fn calculate_length(s: &String) -> usize {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `change` is never used
[INFO] [stderr]   --> src/borrowing.rs:20:4
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn change(s: &mut String) {
[INFO] [stderr]    |    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_demo` is never used
[INFO] [stderr]  --> src/collections.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn run_demo() {
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `divide` is never used
[INFO] [stderr]   --> src/collections.rs:37:4
[INFO] [stderr]    |
[INFO] [stderr] 37 | fn divide(numerator: f64, denominator: f64) -> Result<f64, String> {
[INFO] [stderr]    |    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `handle_result` is never used
[INFO] [stderr]   --> src/collections.rs:46:4
[INFO] [stderr]    |
[INFO] [stderr] 46 | fn handle_result(res: Result<f64, String>) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_demo` is never used
[INFO] [stderr]  --> src/data_types.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub fn run_demo() {
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_demo` is never used
[INFO] [stderr]  --> src/enums.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn run_demo() {
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `open_box` is never used
[INFO] [stderr]   --> src/enums.rs:48:4
[INFO] [stderr]    |
[INFO] [stderr] 48 | fn open_box(kutu: Option<&str>) {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `IpAddrKind` is never used
[INFO] [stderr]   --> src/enums.rs:62:6
[INFO] [stderr]    |
[INFO] [stderr] 62 | enum IpAddrKind {
[INFO] [stderr]    |      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `IpAddr` is never used
[INFO] [stderr]   --> src/enums.rs:68:6
[INFO] [stderr]    |
[INFO] [stderr] 68 | enum IpAddr {
[INFO] [stderr]    |      ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `print_ip` is never used
[INFO] [stderr]   --> src/enums.rs:74:4
[INFO] [stderr]    |
[INFO] [stderr] 74 | fn print_ip(ip: IpAddr) {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_demo` is never used
[INFO] [stderr]  --> src/lifetimes.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn run_demo() {
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `longest` is never used
[INFO] [stderr]   --> src/lifetimes.rs:34:4
[INFO] [stderr]    |
[INFO] [stderr] 34 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stderr]    |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_demo` is never used
[INFO] [stderr]  --> src/modern_rust.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn run_demo() {
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_demo` is never used
[INFO] [stderr]  --> src/traits.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn run_demo() {
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Summary` is never used
[INFO] [stderr]   --> src/traits.rs:36:11
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub trait Summary {
[INFO] [stderr]    |           ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `NewsArticle` is never constructed
[INFO] [stderr]   --> src/traits.rs:41:8
[INFO] [stderr]    |
[INFO] [stderr] 41 | struct NewsArticle {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Tweet` is never constructed
[INFO] [stderr]   --> src/traits.rs:57:8
[INFO] [stderr]    |
[INFO] [stderr] 57 | struct Tweet {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `largest` is never used
[INFO] [stderr]   --> src/traits.rs:72:4
[INFO] [stderr]    |
[INFO] [stderr] 72 | fn largest<T: PartialOrd + Copy>(list: &[T]) -> T {
[INFO] [stderr]    |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_demo` is never used
[INFO] [stderr]   --> src/unit_tests.rs:45:8
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub fn run_demo() {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_training` (bin "rust_training" test) generated 21 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_training-efe1eaae3150d4da)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test unit_tests::tests::it_adds_two_numbers ... ok
[INFO] [stdout] test unit_tests::tests::it_greets_correctly ... ok
[INFO] [stdout] test unit_tests::tests::test_panic - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4dc626df3b013e6f41b1e711de605dd34a1fda3212cb91a6a741797113fdb760", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4dc626df3b013e6f41b1e711de605dd34a1fda3212cb91a6a741797113fdb760", kill_on_drop: false }`
[INFO] [stdout] 4dc626df3b013e6f41b1e711de605dd34a1fda3212cb91a6a741797113fdb760
