[INFO] cloning repository https://github.com/psatomas/ownership [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psatomas/ownership" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Fownership", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Fownership'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a892a3aebb57583e7185e0a0ef7cddd26e82219 [INFO] checking psatomas/ownership against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Fownership" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/psatomas/ownership [INFO] finished tweaking git repo https://github.com/psatomas/ownership [INFO] tweaked toml for git repo https://github.com/psatomas/ownership written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/psatomas/ownership on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/psatomas/ownership 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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6451791e2895746f091bb059d74a19442f1f4a86589796d589669f70627f0b7 [INFO] running `Command { std: "docker" "start" "-a" "c6451791e2895746f091bb059d74a19442f1f4a86589796d589669f70627f0b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6451791e2895746f091bb059d74a19442f1f4a86589796d589669f70627f0b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6451791e2895746f091bb059d74a19442f1f4a86589796d589669f70627f0b7", kill_on_drop: false }` [INFO] [stdout] c6451791e2895746f091bb059d74a19442f1f4a86589796d589669f70627f0b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9b72942b1cb72e9ae43f37ad00ff6dcd77fc05c6ab116db526dd290129187d0 [INFO] running `Command { std: "docker" "start" "-a" "e9b72942b1cb72e9ae43f37ad00ff6dcd77fc05c6ab116db526dd290129187d0", kill_on_drop: false }` [INFO] [stderr] Checking ownership v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `genius` [INFO] [stdout] --> src/bin/the_clone_method.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let genius = person.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_genius` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/bin/the_string_type.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let text: String = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candy` [INFO] [stdout] --> src/bin/the_string_type.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let candy = String::from("KitKat"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_candy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_meal` is never read [INFO] [stdout] --> src/bin/return_values_II.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | current_meal = add_flour(current_meal); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref1` [INFO] [stdout] --> src/bin/mutable_references_restriction.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let ref1 = &mut car; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ref1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/bin/the_string_type.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let text: String = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candy` [INFO] [stdout] --> src/bin/the_string_type.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let candy = String::from("KitKat"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_candy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cake` [INFO] [stdout] --> src/bin/return_values_I.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | let cake = bake_cake(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cake` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `genius` [INFO] [stdout] --> src/bin/the_clone_method.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let genius = person.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_genius` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_integer_reference` [INFO] [stdout] --> src/bin/references_and_borrowing.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let my_integer_reference = &my_stack_value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_integer_reference` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_heap_reference` [INFO] [stdout] --> src/bin/references_and_borrowing.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let my_heap_reference = &my_heap_value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_heap_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref1` [INFO] [stdout] --> src/bin/mutable_references_restriction.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let ref1 = &mut car; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ref1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cake` [INFO] [stdout] --> src/bin/return_values_I.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | let cake = bake_cake(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cake` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid character '&' in crate name: `string_&string_str_and_&str` [INFO] [stdout] | [INFO] [stdout] = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_integer_reference` [INFO] [stdout] --> src/bin/references_and_borrowing.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let my_integer_reference = &my_stack_value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_integer_reference` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_heap_reference` [INFO] [stdout] --> src/bin/references_and_borrowing.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let my_heap_reference = &my_heap_value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_heap_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ownership` (bin "string_&string_str_and_&str") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: value assigned to `current_meal` is never read [INFO] [stdout] --> src/bin/return_values_II.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | current_meal = add_flour(current_meal); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid character '&' in crate name: `string_&string_str_and_&str` [INFO] [stdout] | [INFO] [stdout] = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ownership` (bin "string_&string_str_and_&str" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "e9b72942b1cb72e9ae43f37ad00ff6dcd77fc05c6ab116db526dd290129187d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b72942b1cb72e9ae43f37ad00ff6dcd77fc05c6ab116db526dd290129187d0", kill_on_drop: false }` [INFO] [stdout] e9b72942b1cb72e9ae43f37ad00ff6dcd77fc05c6ab116db526dd290129187d0