[INFO] cloning repository https://github.com/jonchisko/RustLectureNotes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonchisko/RustLectureNotes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonchisko%2FRustLectureNotes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonchisko%2FRustLectureNotes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7d043cb06e5ffefdfb4fe06621e6cecaf71eadd [INFO] testing jonchisko/RustLectureNotes against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonchisko%2FRustLectureNotes" "/workspace/builds/worker-52/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-52/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonchisko/RustLectureNotes on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonchisko/RustLectureNotes [INFO] finished tweaking git repo https://github.com/jonchisko/RustLectureNotes [INFO] tweaked toml for git repo https://github.com/jonchisko/RustLectureNotes written to /workspace/builds/worker-52/source/Cargo.toml [INFO] crate git repo https://github.com/jonchisko/RustLectureNotes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 110cd56f16982d4544881a22d24965493fd5c52d248f2a7fef04a328021891bb [INFO] running `Command { std: "docker" "start" "-a" "110cd56f16982d4544881a22d24965493fd5c52d248f2a7fef04a328021891bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "110cd56f16982d4544881a22d24965493fd5c52d248f2a7fef04a328021891bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110cd56f16982d4544881a22d24965493fd5c52d248f2a7fef04a328021891bb", kill_on_drop: false }` [INFO] [stdout] 110cd56f16982d4544881a22d24965493fd5c52d248f2a7fef04a328021891bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d95119a65fef7c0769bae113dbfd33d5119b37b78071f016f9a45c1dc2c3165 [INFO] running `Command { std: "docker" "start" "-a" "0d95119a65fef7c0769bae113dbfd33d5119b37b78071f016f9a45c1dc2c3165", kill_on_drop: false }` [INFO] [stderr] Compiling pointers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ownership.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | fn test(value: (i32, i32)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ownership.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut v = vec![Author2 {name: Some("Zen".to_string()), age: 19}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ownership.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let v = vec![Box::new("Dan".to_string()), Box::new("Hera".to_string()), Box::new("Zoe".to_string())]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ownership.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut authors = vec![Author {name: "Mikhail".to_string(), age: 54}, [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/ownership.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let mut v = vec![Author2 {name: Some("Zen".to_string()), age: 19}, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/ownership.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Author` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ownership.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/ownership.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | age: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Author` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ownership.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/ownership.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Author2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ownership.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/ownership.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | age: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Author2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ownership.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "0d95119a65fef7c0769bae113dbfd33d5119b37b78071f016f9a45c1dc2c3165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d95119a65fef7c0769bae113dbfd33d5119b37b78071f016f9a45c1dc2c3165", kill_on_drop: false }` [INFO] [stdout] 0d95119a65fef7c0769bae113dbfd33d5119b37b78071f016f9a45c1dc2c3165 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7e3a418d8f974c0fd59750800c87ef865a02624a39a27e7355f611e1c145704 [INFO] running `Command { std: "docker" "start" "-a" "f7e3a418d8f974c0fd59750800c87ef865a02624a39a27e7355f611e1c145704", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ownership.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | fn test(value: (i32, i32)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ownership.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut v = vec![Author2 {name: Some("Zen".to_string()), age: 19}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ownership.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let v = vec![Box::new("Dan".to_string()), Box::new("Hera".to_string()), Box::new("Zoe".to_string())]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ownership.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut authors = vec![Author {name: "Mikhail".to_string(), age: 54}, [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/ownership.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let mut v = vec![Author2 {name: Some("Zen".to_string()), age: 19}, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pointers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/ownership.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Author` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ownership.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/ownership.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | age: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Author` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ownership.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/ownership.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Author2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ownership.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/ownership.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | age: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Author2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ownership.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ownership.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | fn test(value: (i32, i32)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ownership.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut v = vec![Author2 {name: Some("Zen".to_string()), age: 19}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ownership.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let v = vec![Box::new("Dan".to_string()), Box::new("Hera".to_string()), Box::new("Zoe".to_string())]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ownership.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut authors = vec![Author {name: "Mikhail".to_string(), age: 54}, [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/ownership.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let mut v = vec![Author2 {name: Some("Zen".to_string()), age: 19}, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/ownership.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Author` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ownership.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/ownership.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | age: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Author` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ownership.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/ownership.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Author2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ownership.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/ownership.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | age: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Author2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ownership.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.83s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/pointers-7126f29ab2764de2) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/pointers-18ed930009b28304) [INFO] running `Command { std: "docker" "inspect" "f7e3a418d8f974c0fd59750800c87ef865a02624a39a27e7355f611e1c145704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e3a418d8f974c0fd59750800c87ef865a02624a39a27e7355f611e1c145704", kill_on_drop: false }` [INFO] [stdout] f7e3a418d8f974c0fd59750800c87ef865a02624a39a27e7355f611e1c145704 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e59df180171562e7a1f39a52478be58d2cca90a01a24a89cb6809bf47da02d5 [INFO] running `Command { std: "docker" "start" "-a" "0e59df180171562e7a1f39a52478be58d2cca90a01a24a89cb6809bf47da02d5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/ownership.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | fn test(value: (i32, i32)) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/ownership.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 83 | let mut v = vec![Author2 {name: Some("Zen".to_string()), age: 19}, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/ownership.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | let v = vec![Box::new("Dan".to_string()), Box::new("Hera".to_string()), Box::new("Zoe".to_string())]; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ownership.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | let mut authors = vec![Author {name: "Mikhail".to_string(), age: 54}, [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ownership.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | let mut v = vec![Author2 {name: Some("Zen".to_string()), age: 19}, [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/ownership.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Author` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ownership.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `age` [INFO] [stderr] --> src/ownership.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | age: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Author` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ownership.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/ownership.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | name: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Author2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ownership.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `age` [INFO] [stderr] --> src/ownership.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | age: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Author2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ownership.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `pointers` (lib) generated 9 warnings [INFO] [stderr] warning: `pointers` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pointers-7126f29ab2764de2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pointers-18ed930009b28304) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests pointers [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0e59df180171562e7a1f39a52478be58d2cca90a01a24a89cb6809bf47da02d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e59df180171562e7a1f39a52478be58d2cca90a01a24a89cb6809bf47da02d5", kill_on_drop: false }` [INFO] [stdout] 0e59df180171562e7a1f39a52478be58d2cca90a01a24a89cb6809bf47da02d5