[INFO] cloning repository https://github.com/arupadhy/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arupadhy/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farupadhy%2Frust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farupadhy%2Frust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e03e1afea792a0b3192c0a7c77e36ed3d89f9a7c [INFO] checking arupadhy/rust-playground against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farupadhy%2Frust-playground" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/arupadhy/rust-playground [INFO] finished tweaking git repo https://github.com/arupadhy/rust-playground [INFO] tweaked toml for git repo https://github.com/arupadhy/rust-playground written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arupadhy/rust-playground on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arupadhy/rust-playground 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72550961c791bd69102e8cb1e8e826f857cead1a98ff1e1ec3e729ebd9520ee0 [INFO] running `Command { std: "docker" "start" "-a" "72550961c791bd69102e8cb1e8e826f857cead1a98ff1e1ec3e729ebd9520ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72550961c791bd69102e8cb1e8e826f857cead1a98ff1e1ec3e729ebd9520ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72550961c791bd69102e8cb1e8e826f857cead1a98ff1e1ec3e729ebd9520ee0", kill_on_drop: false }` [INFO] [stdout] 72550961c791bd69102e8cb1e8e826f857cead1a98ff1e1ec3e729ebd9520ee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23264731291b7e28e07c511e8a40834a5f0684e684cecb558d58367a5d0653a9 [INFO] running `Command { std: "docker" "start" "-a" "23264731291b7e28e07c511e8a40834a5f0684e684cecb558d58367a5d0653a9", kill_on_drop: false }` [INFO] [stderr] Checking rust-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid format string: expected `}`, found `?` [INFO] [stdout] --> src/slice.rs:36:55 [INFO] [stdout] | [INFO] [stdout] 36 | println!("this is an array borrowed by this method {?}", param); [INFO] [stdout] | -^ expected `}` in format string [INFO] [stdout] | | [INFO] [stdout] | because of this opening brace [INFO] [stdout] | [INFO] [stdout] = note: if you intended to print `{`, you can escape it using `{{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid format string: expected `}`, found `?` [INFO] [stdout] --> src/slice.rs:40:73 [INFO] [stdout] | [INFO] [stdout] 40 | println!("this is an vector having u8 values borrowed by this method {?}", param); [INFO] [stdout] | -^ expected `}` in format string [INFO] [stdout] | | [INFO] [stdout] | because of this opening brace [INFO] [stdout] | [INFO] [stdout] = note: if you intended to print `{`, you can escape it using `{{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid format string: expected `}`, found `?` [INFO] [stdout] --> src/slice.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | println!("this can be called by any slice {?}", param); [INFO] [stdout] | -^ expected `}` in format string [INFO] [stdout] | | [INFO] [stdout] | because of this opening brace [INFO] [stdout] | [INFO] [stdout] = note: if you intended to print `{`, you can escape it using `{{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let slice = &arr[0..1]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triangle` [INFO] [stdout] --> src/main.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | let triangle = Triangle(10, 35, 35); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:197:7 [INFO] [stdout] | [INFO] [stdout] 197 | let x = data; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut a = 12; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut b = 300; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:200:7 [INFO] [stdout] | [INFO] [stdout] 200 | let mut input = String::from("hello"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:209:7 [INFO] [stdout] | [INFO] [stdout] 209 | let mut plural_value = ownership::pluralize(input.clone()); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> src/main.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | fn tell_time(clock: Clock) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid format string: expected `}`, found `?` [INFO] [stdout] --> src/slice.rs:36:55 [INFO] [stdout] | [INFO] [stdout] 36 | println!("this is an array borrowed by this method {?}", param); [INFO] [stdout] | -^ expected `}` in format string [INFO] [stdout] | | [INFO] [stdout] | because of this opening brace [INFO] [stdout] | [INFO] [stdout] = note: if you intended to print `{`, you can escape it using `{{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid format string: expected `}`, found `?` [INFO] [stdout] --> src/slice.rs:40:73 [INFO] [stdout] | [INFO] [stdout] 40 | println!("this is an vector having u8 values borrowed by this method {?}", param); [INFO] [stdout] | -^ expected `}` in format string [INFO] [stdout] | | [INFO] [stdout] | because of this opening brace [INFO] [stdout] | [INFO] [stdout] = note: if you intended to print `{`, you can escape it using `{{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid format string: expected `}`, found `?` [INFO] [stdout] --> src/slice.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | println!("this can be called by any slice {?}", param); [INFO] [stdout] | -^ expected `}` in format string [INFO] [stdout] | | [INFO] [stdout] | because of this opening brace [INFO] [stdout] | [INFO] [stdout] = note: if you intended to print `{`, you can escape it using `{{` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-playground` (bin "rust-playground" test) due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let slice = &arr[0..1]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triangle` [INFO] [stdout] --> src/main.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | let triangle = Triangle(10, 35, 35); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:197:7 [INFO] [stdout] | [INFO] [stdout] 197 | let x = data; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut a = 12; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut b = 300; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:200:7 [INFO] [stdout] | [INFO] [stdout] 200 | let mut input = String::from("hello"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:209:7 [INFO] [stdout] | [INFO] [stdout] 209 | let mut plural_value = ownership::pluralize(input.clone()); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> src/main.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | fn tell_time(clock: Clock) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-playground` (bin "rust-playground") due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "23264731291b7e28e07c511e8a40834a5f0684e684cecb558d58367a5d0653a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23264731291b7e28e07c511e8a40834a5f0684e684cecb558d58367a5d0653a9", kill_on_drop: false }` [INFO] [stdout] 23264731291b7e28e07c511e8a40834a5f0684e684cecb558d58367a5d0653a9