[INFO] cloning repository https://github.com/AbsoluteRust/Rust-book--Chapter-4.1--Understanding-Ownership--what-is-ownership--
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AbsoluteRust/Rust-book--Chapter-4.1--Understanding-Ownership--what-is-ownership--" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbsoluteRust%2FRust-book--Chapter-4.1--Understanding-Ownership--what-is-ownership--", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbsoluteRust%2FRust-book--Chapter-4.1--Understanding-Ownership--what-is-ownership--'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fdf56306df27943e68b71a210508d122c85a6676
[INFO] building AbsoluteRust/Rust-book--Chapter-4.1--Understanding-Ownership--what-is-ownership-- against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbsoluteRust%2FRust-book--Chapter-4.1--Understanding-Ownership--what-is-ownership--" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AbsoluteRust/Rust-book--Chapter-4.1--Understanding-Ownership--what-is-ownership-- on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AbsoluteRust/Rust-book--Chapter-4.1--Understanding-Ownership--what-is-ownership--
[INFO] finished tweaking git repo https://github.com/AbsoluteRust/Rust-book--Chapter-4.1--Understanding-Ownership--what-is-ownership--
[INFO] tweaked toml for git repo https://github.com/AbsoluteRust/Rust-book--Chapter-4.1--Understanding-Ownership--what-is-ownership-- written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/AbsoluteRust/Rust-book--Chapter-4.1--Understanding-Ownership--what-is-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0be52f5c5adf0cb5e516a80440b9067a3374661d9b2de0b4d078d2be03880422
[INFO] running `Command { std: "docker" "start" "-a" "0be52f5c5adf0cb5e516a80440b9067a3374661d9b2de0b4d078d2be03880422", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0be52f5c5adf0cb5e516a80440b9067a3374661d9b2de0b4d078d2be03880422", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0be52f5c5adf0cb5e516a80440b9067a3374661d9b2de0b4d078d2be03880422", kill_on_drop: false }`
[INFO] [stdout] 0be52f5c5adf0cb5e516a80440b9067a3374661d9b2de0b4d078d2be03880422
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9008d55a3982f59e10a8ee46a4cd947c8b5fca73eb1af1c54bdf042bdfff1374
[INFO] running `Command { std: "docker" "start" "-a" "9008d55a3982f59e10a8ee46a4cd947c8b5fca73eb1af1c54bdf042bdfff1374", kill_on_drop: false }`
[INFO] [stderr]    Compiling chap4 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/main.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let s = "hello"; //s is valid from this point forward
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let s = String::from("hello"); //creating a `String` from a string literal using the `from` function
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let y = x;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let s2 = s1; //points to the same space in the heap as s1 does, but also considers s1 as no longer valid to avoid "double free" error...
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/main.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let s1 = gives_ownership();         // gives_ownership moves its return
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/main.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let s3 = takes_and_gives_back(s2);  // s2 is moved into
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `return_Values_And_Scope` is never used
[INFO] [stdout]   --> src/main.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn return_Values_And_Scope()
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gives_ownership` is never used
[INFO] [stdout]   --> src/main.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn gives_ownership() -> String {             // gives_ownership will move its
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_and_gives_back` is never used
[INFO] [stdout]   --> src/main.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn takes_and_gives_back(a_string: String) -> String { // a_string comes into
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `return_Values_And_Scope` should have a snake case name
[INFO] [stdout]   --> src/main.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn return_Values_And_Scope()
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `return_values_and_scope`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "9008d55a3982f59e10a8ee46a4cd947c8b5fca73eb1af1c54bdf042bdfff1374", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9008d55a3982f59e10a8ee46a4cd947c8b5fca73eb1af1c54bdf042bdfff1374", kill_on_drop: false }`
[INFO] [stdout] 9008d55a3982f59e10a8ee46a4cd947c8b5fca73eb1af1c54bdf042bdfff1374
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be24b035dc2bc76195509cd9d7afa4e246623d70441c47eea31705dbcae67590
[INFO] running `Command { std: "docker" "start" "-a" "be24b035dc2bc76195509cd9d7afa4e246623d70441c47eea31705dbcae67590", kill_on_drop: false }`
[INFO] [stderr]    Compiling chap4 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/main.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let s = "hello"; //s is valid from this point forward
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let s = String::from("hello"); //creating a `String` from a string literal using the `from` function
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let y = x;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let s2 = s1; //points to the same space in the heap as s1 does, but also considers s1 as no longer valid to avoid "double free" error...
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/main.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let s1 = gives_ownership();         // gives_ownership moves its return
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/main.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let s3 = takes_and_gives_back(s2);  // s2 is moved into
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `return_Values_And_Scope` is never used
[INFO] [stdout]   --> src/main.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn return_Values_And_Scope()
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gives_ownership` is never used
[INFO] [stdout]   --> src/main.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn gives_ownership() -> String {             // gives_ownership will move its
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_and_gives_back` is never used
[INFO] [stdout]   --> src/main.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn takes_and_gives_back(a_string: String) -> String { // a_string comes into
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `return_Values_And_Scope` should have a snake case name
[INFO] [stdout]   --> src/main.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn return_Values_And_Scope()
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `return_values_and_scope`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "be24b035dc2bc76195509cd9d7afa4e246623d70441c47eea31705dbcae67590", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be24b035dc2bc76195509cd9d7afa4e246623d70441c47eea31705dbcae67590", kill_on_drop: false }`
[INFO] [stdout] be24b035dc2bc76195509cd9d7afa4e246623d70441c47eea31705dbcae67590
