[INFO] cloning repository https://github.com/DLeyland/Hello-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DLeyland/Hello-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDLeyland%2FHello-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDLeyland%2FHello-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 013d7a63910f33b384f3ef565d2dd17b9a002509 [INFO] checking DLeyland/Hello-Rust against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDLeyland%2FHello-Rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DLeyland/Hello-Rust on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DLeyland/Hello-Rust [INFO] finished tweaking git repo https://github.com/DLeyland/Hello-Rust [INFO] tweaked toml for git repo https://github.com/DLeyland/Hello-Rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/DLeyland/Hello-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98fa6b8c79ac832988d419f6d360735ab077a9fe2b45b64fbf453be12d275975 [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" "98fa6b8c79ac832988d419f6d360735ab077a9fe2b45b64fbf453be12d275975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98fa6b8c79ac832988d419f6d360735ab077a9fe2b45b64fbf453be12d275975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98fa6b8c79ac832988d419f6d360735ab077a9fe2b45b64fbf453be12d275975", kill_on_drop: false }` [INFO] [stdout] 98fa6b8c79ac832988d419f6d360735ab077a9fe2b45b64fbf453be12d275975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 352c3bbe5b7a5bdbd23754210fd2a636e61d30d9705285fca1db0e968019b9ac [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" "352c3bbe5b7a5bdbd23754210fd2a636e61d30d9705285fca1db0e968019b9ac", kill_on_drop: false }` [INFO] [stderr] Checking hello_world v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | fn factory(&num: &i32) -> Box i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | for i in 0..10{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello_world1` [INFO] [stdout] --> src/main.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | let hello_world1 = hello + world1; //no ampersand needed to add a string and a &str [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hello_world1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello_world2` [INFO] [stdout] --> src/main.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | let hello_world2 = hello2 + &world2; //ampersand needed when adding two strings, to allow second string to deref into &str [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hello_world2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | fn factory(&num: &i32) -> Box i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_loop` [INFO] [stdout] --> src/main.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn for_loop(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `while_loop_with_vec` [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn while_loop_with_vec(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string_example` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn string_example(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Circle` [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct Circle{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | fn area(&self)->f64{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `circle_area` [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn circle_area(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | for i in 0..10{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello_world1` [INFO] [stdout] --> src/main.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | let hello_world1 = hello + world1; //no ampersand needed to add a string and a &str [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hello_world1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello_world2` [INFO] [stdout] --> src/main.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | let hello_world2 = hello2 + &world2; //ampersand needed when adding two strings, to allow second string to deref into &str [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hello_world2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_loop` [INFO] [stdout] --> src/main.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn for_loop(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `while_loop_with_vec` [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn while_loop_with_vec(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string_example` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn string_example(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Circle` [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct Circle{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | fn area(&self)->f64{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `circle_area` [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn circle_area(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "352c3bbe5b7a5bdbd23754210fd2a636e61d30d9705285fca1db0e968019b9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "352c3bbe5b7a5bdbd23754210fd2a636e61d30d9705285fca1db0e968019b9ac", kill_on_drop: false }` [INFO] [stdout] 352c3bbe5b7a5bdbd23754210fd2a636e61d30d9705285fca1db0e968019b9ac