[INFO] cloning repository https://github.com/JPMoresmau/rust-interview
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JPMoresmau/rust-interview" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJPMoresmau%2Frust-interview", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJPMoresmau%2Frust-interview'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b98536660962f2e0ad3d5540cbd877fa38ace622
[INFO] testing JPMoresmau/rust-interview against 1.47.0 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJPMoresmau%2Frust-interview" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JPMoresmau/rust-interview on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JPMoresmau/rust-interview
[INFO] finished tweaking git repo https://github.com/JPMoresmau/rust-interview
[INFO] tweaked toml for git repo https://github.com/JPMoresmau/rust-interview written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/JPMoresmau/rust-interview already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6e17f914b60f4431948d634ab45550ce70f90ea617077516311cc201120f74a9
[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" "6e17f914b60f4431948d634ab45550ce70f90ea617077516311cc201120f74a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6e17f914b60f4431948d634ab45550ce70f90ea617077516311cc201120f74a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e17f914b60f4431948d634ab45550ce70f90ea617077516311cc201120f74a9", kill_on_drop: false }`
[INFO] [stdout] 6e17f914b60f4431948d634ab45550ce70f90ea617077516311cc201120f74a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 19b946518784d07a452cd5e77ad0db5550bc870d15df5e8c3ce8e8f47ab521c2
[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" "19b946518784d07a452cd5e77ad0db5550bc870d15df5e8c3ce8e8f47ab521c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling interview v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function is never used: `heap_right`
[INFO] [stdout]    --> src/array.rs:326:4
[INFO] [stdout]     |
[INFO] [stdout] 326 | fn heap_right (i: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         mem::replace(&mut self.head, LCell::Cell(d,Box::new(lc)));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 mem::replace(&mut self.head,lc);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         mem::replace(&mut self.head,lcn);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         mem::replace(&mut self.head,rl.head);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         mem::replace(&mut self.head,LCell::Nil);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             mem::replace(d, f(d));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/llist.rs:122:17
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 mem::replace(&mut self.head,&(*n));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.55s
[INFO] running `Command { std: "docker" "inspect" "19b946518784d07a452cd5e77ad0db5550bc870d15df5e8c3ce8e8f47ab521c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19b946518784d07a452cd5e77ad0db5550bc870d15df5e8c3ce8e8f47ab521c2", kill_on_drop: false }`
[INFO] [stdout] 19b946518784d07a452cd5e77ad0db5550bc870d15df5e8c3ce8e8f47ab521c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0ba7340714617e76d7c392f208f16618cb4122a66e33fbddbc1b450d065c553
[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" "c0ba7340714617e76d7c392f208f16618cb4122a66e33fbddbc1b450d065c553", kill_on_drop: false }`
[INFO] [stderr]    Compiling interview v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function is never used: `heap_right`
[INFO] [stdout]    --> src/array.rs:326:4
[INFO] [stdout]     |
[INFO] [stdout] 326 | fn heap_right (i: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         mem::replace(&mut self.head, LCell::Cell(d,Box::new(lc)));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 mem::replace(&mut self.head,lc);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         mem::replace(&mut self.head,lcn);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         mem::replace(&mut self.head,rl.head);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         mem::replace(&mut self.head,LCell::Nil);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             mem::replace(d, f(d));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/llist.rs:122:17
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 mem::replace(&mut self.head,&(*n));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `heap_right`
[INFO] [stdout]    --> src/array.rs:326:4
[INFO] [stdout]     |
[INFO] [stdout] 326 | fn heap_right (i: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         mem::replace(&mut self.head, LCell::Cell(d,Box::new(lc)));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 mem::replace(&mut self.head,lc);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         mem::replace(&mut self.head,lcn);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         mem::replace(&mut self.head,rl.head);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         mem::replace(&mut self.head,LCell::Nil);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/llist.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             mem::replace(d, f(d));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/llist.rs:122:17
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 mem::replace(&mut self.head,&(*n));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 4.52s
[INFO] running `Command { std: "docker" "inspect" "c0ba7340714617e76d7c392f208f16618cb4122a66e33fbddbc1b450d065c553", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0ba7340714617e76d7c392f208f16618cb4122a66e33fbddbc1b450d065c553", kill_on_drop: false }`
[INFO] [stdout] c0ba7340714617e76d7c392f208f16618cb4122a66e33fbddbc1b450d065c553
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4bc0236868685baaf6427ab6b302751c1db76c64f40f525911acd2fe9e7e8c51
[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" "4bc0236868685baaf6427ab6b302751c1db76c64f40f525911acd2fe9e7e8c51", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] warning: function is never used: `heap_right`
[INFO] [stderr]    --> src/array.rs:326:4
[INFO] [stderr]     |
[INFO] [stderr] 326 | fn heap_right (i: usize) -> usize {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/llist.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |         mem::replace(&mut self.head, LCell::Cell(d,Box::new(lc)));
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/llist.rs:51:17
[INFO] [stderr]    |
[INFO] [stderr] 51 |                 mem::replace(&mut self.head,lc);
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/llist.rs:57:9
[INFO] [stderr]    |
[INFO] [stderr] 57 |         mem::replace(&mut self.head,lcn);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/llist.rs:76:9
[INFO] [stderr]    |
[INFO] [stderr] 76 |         mem::replace(&mut self.head,rl.head);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/llist.rs:82:9
[INFO] [stderr]    |
[INFO] [stderr] 82 |         mem::replace(&mut self.head,LCell::Nil);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/llist.rs:90:13
[INFO] [stderr]    |
[INFO] [stderr] 90 |             mem::replace(d, f(d));
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/llist.rs:122:17
[INFO] [stderr]     |
[INFO] [stderr] 122 |                 mem::replace(&mut self.head,&(*n));
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: 8 warnings emitted
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `heap_right`
[INFO] [stderr]    --> src/array.rs:326:4
[INFO] [stderr]     |
[INFO] [stderr] 326 | fn heap_right (i: usize) -> usize {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/llist.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |         mem::replace(&mut self.head, LCell::Cell(d,Box::new(lc)));
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/llist.rs:51:17
[INFO] [stderr]    |
[INFO] [stderr] 51 |                 mem::replace(&mut self.head,lc);
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/llist.rs:57:9
[INFO] [stderr]    |
[INFO] [stderr] 57 |         mem::replace(&mut self.head,lcn);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/llist.rs:76:9
[INFO] [stderr]    |
[INFO] [stderr] 76 |         mem::replace(&mut self.head,rl.head);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/llist.rs:82:9
[INFO] [stderr]    |
[INFO] [stderr] 82 |         mem::replace(&mut self.head,LCell::Nil);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/llist.rs:90:13
[INFO] [stderr]    |
[INFO] [stderr] 90 |             mem::replace(d, f(d));
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/llist.rs:122:17
[INFO] [stderr]     |
[INFO] [stderr] 122 |                 mem::replace(&mut self.head,&(*n));
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: 8 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.89s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/interview-8c92089bf920f233
[INFO] [stdout] 
[INFO] [stdout] running 38 tests
[INFO] [stdout] test array::tests::test_bubble_sort ... ok
[INFO] [stdout] test array::tests::test_duplicate ... ok
[INFO] [stdout] test array::tests::test_dedup ... ok
[INFO] [stdout] test array::tests::test_duplicates ... ok
[INFO] [stdout] test array::tests::test_merge_sort ... ok
[INFO] [stdout] test array::tests::test_heap_sort ... ok
[INFO] [stdout] test array::tests::test_missing_number ... ok
[INFO] [stdout] test array::tests::test_insertion_sort ... ok
[INFO] [stdout] test array::tests::test_quick_sort ... ok
[INFO] [stdout] test array::tests::test_reverse ... ok
[INFO] [stdout] test array::tests::test_pairs_product ... ok
[INFO] [stdout] test array::tests::test_range ... ok
[INFO] [stdout] test btree::tests::test_basic ... ok
[INFO] [stdout] test btree::tests::test_from_it ... ok
[INFO] [stdout] test btree::tests::test_in_order ... ok
[INFO] [stdout] test btree::tests::test_wikipedia ... ok
[INFO] [stdout] test llist::tests::test_into_iter ... ok
[INFO] [stdout] test llist::tests::test_map ... ok
[INFO] [stdout] test llist::tests::test_head ... ok
[INFO] [stdout] test llist::tests::test_clear ... ok
[INFO] [stdout] test llist::tests::test_from_iter ... ok
[INFO] [stdout] test llist::tests::test_push_pop ... ok
[INFO] [stdout] test string::tests::test_occurrences ... ok
[INFO] [stdout] test string::tests::test_palindrome ... ok
[INFO] [stdout] test math::tests::test_angle_difference ... ok
[INFO] [stdout] test llist::tests::test_reverse ... ok
[INFO] [stdout] test string::tests::test_permutations ... ok
[INFO] [stdout] test calc::tests::test_eval ... ok
[INFO] [stdout] test string::tests::test_anagram ... ok
[INFO] [stdout] test string::tests::test_reverse ... ok
[INFO] [stdout] test llist::tests::test_empty_head ... ok
[INFO] [stdout] test array::tests::test_missing_number_panic ... ok
[INFO] [stdout] test llist::tests::test_empty_pop ... ok
[INFO] [stdout] test file::tests::test_password_file ... FAILED
[INFO] [stdout] test llist::tests::test_empty_pop_after_clear ... ok
[INFO] [stdout] test array::tests::test_range_panic ... ok
[INFO] [stdout] test deranged::tests::test_get_words ... ok
[INFO] [stdout] test deranged::tests::test_longest_deranged ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- file::tests::test_password_file stdout ----
[INFO] [stdout] thread 'file::tests::test_password_file' panicked at 'cannot write file: Os { code: 30, kind: Other, message: "Read-only file system" }', src/file.rs:155:51
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x564e39bb0370 - std::backtrace_rs::backtrace::libunwind::trace::h577ea05e9ca4629a
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/../../backtrace/src/backtrace/libunwind.rs:96
[INFO] [stdout]    1:     0x564e39bb0370 - std::backtrace_rs::backtrace::trace_unsynchronized::h50b9b72b84c7dd56
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/../../backtrace/src/backtrace/mod.rs:66
[INFO] [stdout]    2:     0x564e39bb0370 - std::sys_common::backtrace::_print_fmt::h6541cf9823837fac
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:79
[INFO] [stdout]    3:     0x564e39bb0370 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf64fbff071026df5
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:58
[INFO] [stdout]    4:     0x564e39bd44cc - core::fmt::write::h9ddafa4860d8adff
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/fmt/mod.rs:1082
[INFO] [stdout]    5:     0x564e39b593f5 - std::io::Write::write_fmt::h50a71e2460ce07da
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/io/mod.rs:1514
[INFO] [stdout]    6:     0x564e39bab041 - std::io::impls::<impl std::io::Write for alloc::boxed::Box<W>>::write_fmt::h9bbd3fed8160d0d2
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/io/impls.rs:176
[INFO] [stdout]    7:     0x564e39bb27f0 - std::sys_common::backtrace::_print::ha25f9ff5080d886d
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:61
[INFO] [stdout]    8:     0x564e39bb27f0 - std::sys_common::backtrace::print::h213e8aa8dc5405c0
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:48
[INFO] [stdout]    9:     0x564e39bb27f0 - std::panicking::default_hook::{{closure}}::h6482fae49ef9d963
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:200
[INFO] [stdout]   10:     0x564e39bb24e6 - std::panicking::default_hook::he30ad7589e0970f9
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:216
[INFO] [stdout]   11:     0x564e39bb2e53 - std::panicking::rust_panic_with_hook::haa1ed36ada4ffb03
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:569
[INFO] [stdout]   12:     0x564e39bb2a29 - std::panicking::begin_panic_handler::{{closure}}::h7001af1bb21aeaeb
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:476
[INFO] [stdout]   13:     0x564e39bb07fc - std::sys_common::backtrace::__rust_end_short_backtrace::h39910f557f5f2367
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:153
[INFO] [stdout]   14:     0x564e39bb29e9 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:475
[INFO] [stdout]   15:     0x564e39bd2d51 - core::panicking::panic_fmt::h4e2659771ebc78eb
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/panicking.rs:85
[INFO] [stdout]   16:     0x564e39bd2b73 - core::option::expect_none_failed::h448b58a024c2c33a
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/option.rs:1221
[INFO] [stdout]   17:     0x564e39b02eaf - core::result::Result<T,E>::expect::h9e1fa82739768c42
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/result.rs:933
[INFO] [stdout]   18:     0x564e39b4859d - interview::file::tests::test_password_file::h09ea58a4aa478d11
[INFO] [stdout]                                at /opt/rustwide/workdir/src/file.rs:155
[INFO] [stdout]   19:     0x564e39b47fca - interview::file::tests::test_password_file::{{closure}}::h584e15bf52d5a345
[INFO] [stdout]                                at /opt/rustwide/workdir/src/file.rs:118
[INFO] [stdout]   20:     0x564e39b183ee - core::ops::function::FnOnce::call_once::hd414d59656d5ea73
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/ops/function.rs:227
[INFO] [stdout]   21:     0x564e39b81cd3 - core::ops::function::FnOnce::call_once::hd04d57b5cf16f85a
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/ops/function.rs:227
[INFO] [stdout]   22:     0x564e39b81cd3 - test::__rust_begin_short_backtrace::hd8e9a8c5a2e43388
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/test/src/lib.rs:517
[INFO] [stdout]   23:     0x564e39b801a3 - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h3c3db8a500c1a19a
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/alloc/src/boxed.rs:1042
[INFO] [stdout]   24:     0x564e39b801a3 - <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h043e9ebcbe360c80
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panic.rs:308
[INFO] [stdout]   25:     0x564e39b801a3 - std::panicking::try::do_call::h47c2fb275506c2e8
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:373
[INFO] [stdout]   26:     0x564e39b801a3 - std::panicking::try::h569c20f0e99453b4
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:337
[INFO] [stdout]   27:     0x564e39b801a3 - std::panic::catch_unwind::hb33c6d0f01540d23
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panic.rs:379
[INFO] [stdout]   28:     0x564e39b801a3 - test::run_test_in_process::hc0ce562d167e51cf
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/test/src/lib.rs:544
[INFO] [stdout]   29:     0x564e39b801a3 - test::run_test::run_test_inner::{{closure}}::hd3120982fcd71544
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/test/src/lib.rs:450
[INFO] [stdout]   30:     0x564e39b58826 - std::sys_common::backtrace::__rust_begin_short_backtrace::h84f8bc12cc4cdac6
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys_common/backtrace.rs:137
[INFO] [stdout]   31:     0x564e39b5da55 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hb8b5fa0ba425d4db
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/thread/mod.rs:458
[INFO] [stdout]   32:     0x564e39b5da55 - <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc4b84b244cf55f75
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panic.rs:308
[INFO] [stdout]   33:     0x564e39b5da55 - std::panicking::try::do_call::ha31922ad8fa17753
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:373
[INFO] [stdout]   34:     0x564e39b5da55 - std::panicking::try::h38a6da203722ae6e
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:337
[INFO] [stdout]   35:     0x564e39b5da55 - std::panic::catch_unwind::h83afce167c9062b9
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panic.rs:379
[INFO] [stdout]   36:     0x564e39b5da55 - std::thread::Builder::spawn_unchecked::{{closure}}::h160689155590a70c
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/thread/mod.rs:457
[INFO] [stdout]   37:     0x564e39b5da55 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7dbf17a455132a46
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/ops/function.rs:227
[INFO] [stdout]   38:     0x564e39bb97ba - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h670c50864ac2cb92
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/alloc/src/boxed.rs:1042
[INFO] [stdout]   39:     0x564e39bb97ba - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h2511952749086d81
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/alloc/src/boxed.rs:1042
[INFO] [stdout]   40:     0x564e39bb97ba - std::sys::unix::thread::Thread::new::thread_start::h5ad4ddffe24373a8
[INFO] [stdout]                                at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/sys/unix/thread.rs:87
[INFO] [stdout]   41:     0x7faeb9dad609 - start_thread
[INFO] [stdout]   42:     0x7faeb9cb9103 - clone
[INFO] [stdout]   43:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     file::tests::test_password_file
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 37 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--lib'
[INFO] running `Command { std: "docker" "inspect" "4bc0236868685baaf6427ab6b302751c1db76c64f40f525911acd2fe9e7e8c51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bc0236868685baaf6427ab6b302751c1db76c64f40f525911acd2fe9e7e8c51", kill_on_drop: false }`
[INFO] [stdout] 4bc0236868685baaf6427ab6b302751c1db76c64f40f525911acd2fe9e7e8c51
