[INFO] cloning repository https://github.com/ljcusack/rust-playpen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ljcusack/rust-playpen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljcusack%2Frust-playpen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljcusack%2Frust-playpen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de9e77d2d9a207a506493bc2d739ac4e070c4465 [INFO] checking ljcusack/rust-playpen against try#353a0a223066e9f46a1d935f2271a26c3c5002bb for pr-75180 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljcusack%2Frust-playpen" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ljcusack/rust-playpen on toolchain 353a0a223066e9f46a1d935f2271a26c3c5002bb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ljcusack/rust-playpen [INFO] finished tweaking git repo https://github.com/ljcusack/rust-playpen [INFO] tweaked toml for git repo https://github.com/ljcusack/rust-playpen written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/ljcusack/rust-playpen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50e36a62524f21dd5620da1613f15932938002f2bbf15883b958d3ceaf456b17 [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" "50e36a62524f21dd5620da1613f15932938002f2bbf15883b958d3ceaf456b17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50e36a62524f21dd5620da1613f15932938002f2bbf15883b958d3ceaf456b17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50e36a62524f21dd5620da1613f15932938002f2bbf15883b958d3ceaf456b17", kill_on_drop: false }` [INFO] [stdout] 50e36a62524f21dd5620da1613f15932938002f2bbf15883b958d3ceaf456b17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 187766df3af6f6ba4639cce43b6873bd51c9e53d83dac89c0e1d0acdef7c14ed [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" "187766df3af6f6ba4639cce43b6873bd51c9e53d83dac89c0e1d0acdef7c14ed", kill_on_drop: false }` [INFO] [stderr] Checking hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/bin/threads.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | thread::sleep_ms(50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/bin/list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | size: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `data` [INFO] [stdout] --> src/bin/threads.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 12 | let mut data = vec![1, 2, 3]; [INFO] [stdout] | -------- move occurs because `data` has type `std::vec::Vec`, which does not implement the `Copy` trait [INFO] [stdout] 13 | for i in 0..3 { [INFO] [stdout] 14 | thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ value moved into closure here, in previous iteration of loop [INFO] [stdout] 15 | data[i] += 1; [INFO] [stdout] | ---- use occurs due to use in closure [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 E0382`. [INFO] [stdout] [INFO] [stdout] warning: field is never read: `head` [INFO] [stdout] --> src/bin/list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | head: Link, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `item` [INFO] [stdout] --> src/bin/list.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | item: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next` [INFO] [stdout] --> src/bin/list.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | next: Link, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_world`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/bin/memory3.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/bin/threads.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | thread::sleep_ms(50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/bin/memory3.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `data` [INFO] [stdout] --> src/bin/threads.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 12 | let mut data = vec![1, 2, 3]; [INFO] [stdout] | -------- move occurs because `data` has type `std::vec::Vec`, which does not implement the `Copy` trait [INFO] [stdout] 13 | for i in 0..3 { [INFO] [stdout] 14 | thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ value moved into closure here, in previous iteration of loop [INFO] [stdout] 15 | data[i] += 1; [INFO] [stdout] | ---- use occurs due to use in closure [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 E0382`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/loops.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut nums = vec![1, 2, 3]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/bin/list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | size: 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: `head` [INFO] [stdout] --> src/bin/list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | head: Link, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `item` [INFO] [stdout] --> src/bin/list.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | item: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next` [INFO] [stdout] --> src/bin/list.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | next: Link, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `fn(i32, i32) -> i32 {add}` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/bin/fn_pointers.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | println!("fn_ptr2: \t{:?}", fn_ptr2); [INFO] [stdout] | ^^^^^^^ `fn(i32, i32) -> i32 {add}` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` [INFO] [stdout] ... [INFO] [stdout] 16 | fn add(i: i32, j: i32) -> i32 { [INFO] [stdout] | --- consider calling this function [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `fn(i32, i32) -> i32 {add}` [INFO] [stdout] = help: use parentheses to call the function: `add(i, j)` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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] error: build failed [INFO] running `Command { std: "docker" "inspect" "187766df3af6f6ba4639cce43b6873bd51c9e53d83dac89c0e1d0acdef7c14ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187766df3af6f6ba4639cce43b6873bd51c9e53d83dac89c0e1d0acdef7c14ed", kill_on_drop: false }` [INFO] [stdout] 187766df3af6f6ba4639cce43b6873bd51c9e53d83dac89c0e1d0acdef7c14ed