[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.46.0 for beta-1.47-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJPMoresmau%2Frust-interview" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JPMoresmau/rust-interview on toolchain 1.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.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-4/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.46.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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1b77962723549282fa75a72d1bd765b8d3b49a266ce643209f04f3db5517dc3e
[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" "1b77962723549282fa75a72d1bd765b8d3b49a266ce643209f04f3db5517dc3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1b77962723549282fa75a72d1bd765b8d3b49a266ce643209f04f3db5517dc3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b77962723549282fa75a72d1bd765b8d3b49a266ce643209f04f3db5517dc3e", kill_on_drop: false }`
[INFO] [stdout] 1b77962723549282fa75a72d1bd765b8d3b49a266ce643209f04f3db5517dc3e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f73302a884997ab01d29f11ad46eec041876aec6fbe065a4a1ba985cac08712d
[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" "f73302a884997ab01d29f11ad46eec041876aec6fbe065a4a1ba985cac08712d", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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 5.45s
[INFO] running `Command { std: "docker" "inspect" "f73302a884997ab01d29f11ad46eec041876aec6fbe065a4a1ba985cac08712d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f73302a884997ab01d29f11ad46eec041876aec6fbe065a4a1ba985cac08712d", kill_on_drop: false }`
[INFO] [stdout] f73302a884997ab01d29f11ad46eec041876aec6fbe065a4a1ba985cac08712d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4a0a0c60d4dd42817b059bc4237bdcd7f51ac7c9d2385cbb3c8e7ac10f24ffed
[INFO] running `Command { std: "docker" "start" "-a" "4a0a0c60d4dd42817b059bc4237bdcd7f51ac7c9d2385cbb3c8e7ac10f24ffed", kill_on_drop: false }`
[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] [stderr]    Compiling interview v0.1.0 (/opt/rustwide/workdir)
[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.12s
[INFO] running `Command { std: "docker" "inspect" "4a0a0c60d4dd42817b059bc4237bdcd7f51ac7c9d2385cbb3c8e7ac10f24ffed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a0a0c60d4dd42817b059bc4237bdcd7f51ac7c9d2385cbb3c8e7ac10f24ffed", kill_on_drop: false }`
[INFO] [stdout] 4a0a0c60d4dd42817b059bc4237bdcd7f51ac7c9d2385cbb3c8e7ac10f24ffed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 986f203fb2c2ee63af4d9adfdf24821ec76cbf9c8f9b137a350243217792e47e
[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" "986f203fb2c2ee63af4d9adfdf24821ec76cbf9c8f9b137a350243217792e47e", kill_on_drop: false }`
[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.06s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/interview-fe004374443a7df6
[INFO] [stdout] 
[INFO] [stdout] running 38 tests
[INFO] [stdout] test array::tests::test_duplicate ... ok
[INFO] [stdout] test array::tests::test_duplicates ... ok
[INFO] [stdout] test array::tests::test_bubble_sort ... ok
[INFO] [stdout] test array::tests::test_insertion_sort ... ok
[INFO] [stdout] test array::tests::test_missing_number ... ok
[INFO] [stdout] test array::tests::test_pairs_product ... ok
[INFO] [stdout] test array::tests::test_quick_sort ... ok
[INFO] [stdout] test array::tests::test_range ... ok
[INFO] [stdout] test btree::tests::test_from_it ... ok
[INFO] [stdout] test btree::tests::test_in_order ... ok
[INFO] [stdout] test array::tests::test_heap_sort ... ok
[INFO] [stdout] test array::tests::test_merge_sort ... ok
[INFO] [stdout] test array::tests::test_dedup ... ok
[INFO] [stdout] test btree::tests::test_wikipedia ... ok
[INFO] [stdout] test btree::tests::test_basic ... ok
[INFO] [stdout] test calc::tests::test_eval ... ok
[INFO] [stdout] test llist::tests::test_into_iter ... ok
[INFO] [stdout] test array::tests::test_reverse ... ok
[INFO] [stdout] test llist::tests::test_clear ... ok
[INFO] [stdout] test llist::tests::test_map ... ok
[INFO] [stdout] test llist::tests::test_push_pop ... ok
[INFO] [stdout] test llist::tests::test_head ... ok
[INFO] [stdout] test llist::tests::test_from_iter ... ok
[INFO] [stdout] test math::tests::test_angle_difference ... ok
[INFO] [stdout] test string::tests::test_reverse ... ok
[INFO] [stdout] test string::tests::test_permutations ... ok
[INFO] [stdout] test string::tests::test_palindrome ... ok
[INFO] [stdout] test string::tests::test_occurrences ... ok
[INFO] [stdout] test string::tests::test_anagram ... ok
[INFO] [stdout] test llist::tests::test_reverse ... ok
[INFO] [stdout] test deranged::tests::test_get_words ... ok
[INFO] [stderr] error: test failed, to rerun pass '--lib'
[INFO] [stdout] test array::tests::test_range_panic ... ok
[INFO] [stdout] test array::tests::test_missing_number_panic ... ok
[INFO] [stdout] test llist::tests::test_empty_pop_after_clear ... ok
[INFO] [stdout] test llist::tests::test_empty_pop ... ok
[INFO] [stdout] test llist::tests::test_empty_head ... ok
[INFO] [stdout] test file::tests::test_password_file ... FAILED
[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:     0x558e669802b5 - backtrace::backtrace::libunwind::trace::h14d338b30b3ea0a7
[INFO] [stdout]                                at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86
[INFO] [stdout]    1:     0x558e669802b5 - backtrace::backtrace::trace_unsynchronized::h73ea91d74a3fd67f
[INFO] [stdout]                                at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66
[INFO] [stdout]    2:     0x558e669802b5 - std::sys_common::backtrace::_print_fmt::hd42948c952866e12
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:78
[INFO] [stdout]    3:     0x558e669802b5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::ha8f928866ff7571e
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:59
[INFO] [stdout]    4:     0x558e669a904c - core::fmt::write::he0c1e5f7426d2718
[INFO] [stdout]                                at src/libcore/fmt/mod.rs:1076
[INFO] [stdout]    5:     0x558e66934d05 - std::io::Write::write_fmt::h1152922039931516
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/io/mod.rs:1537
[INFO] [stdout]    6:     0x558e6697a8e1 - std::io::impls::<impl std::io::Write for alloc::boxed::Box<W>>::write_fmt::ha927d7e5f294bce5
[INFO] [stdout]                                at src/libstd/io/impls.rs:176
[INFO] [stdout]    7:     0x558e66982a10 - std::sys_common::backtrace::_print::hfc0110703f3696fd
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:62
[INFO] [stdout]    8:     0x558e66982a10 - std::sys_common::backtrace::print::h3f77c6990ddfaa22
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:49
[INFO] [stdout]    9:     0x558e66982a10 - std::panicking::default_hook::{{closure}}::heae49580a8d62d75
[INFO] [stdout]                                at src/libstd/panicking.rs:198
[INFO] [stdout]   10:     0x558e6698270a - std::panicking::default_hook::hecc34e3f729e213c
[INFO] [stdout]                                at src/libstd/panicking.rs:214
[INFO] [stdout]   11:     0x558e66983053 - std::panicking::rust_panic_with_hook::he82f5d0644692441
[INFO] [stdout]                                at src/libstd/panicking.rs:526
[INFO] [stdout]   12:     0x558e66982c4b - rust_begin_unwind
[INFO] [stdout]                                at src/libstd/panicking.rs:437
[INFO] [stdout]   13:     0x558e669a79b1 - core::panicking::panic_fmt::h09c929f06bb87c98
[INFO] [stdout]                                at src/libcore/panicking.rs:85
[INFO] [stdout]   14:     0x558e669a77d3 - core::option::expect_none_failed::h188f17af6c9f404b
[INFO] [stdout]                                at src/libcore/option.rs:1269
[INFO] [stdout]   15:     0x558e6690d49f - core::result::Result<T,E>::expect::hae1de2a9ba9319f5
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libcore/result.rs:963
[INFO] [stdout]   16:     0x558e6692392d - interview::file::tests::test_password_file::hd93e6b3b83eceb9a
[INFO] [stdout]                                at src/file.rs:155
[INFO] [stdout]   17:     0x558e6692335a - interview::file::tests::test_password_file::{{closure}}::h64f456ebc43d1722
[INFO] [stdout]                                at src/file.rs:118
[INFO] [stdout]   18:     0x558e668f2e7e - core::ops::function::FnOnce::call_once::h0ac72741ff5c709e
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libcore/ops/function.rs:233
[INFO] [stdout]   19:     0x558e6695c27c - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6633cb15d0d76942
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/liballoc/boxed.rs:1081
[INFO] [stdout]   20:     0x558e6695c27c - <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h1e20120def172c5c
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panic.rs:318
[INFO] [stdout]   21:     0x558e6695c27c - std::panicking::try::do_call::hcc2ec3bbb75e9316
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panicking.rs:348
[INFO] [stdout]   22:     0x558e6695c27c - std::panicking::try::h94eaebaaa7dd6f41
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panicking.rs:325
[INFO] [stdout]   23:     0x558e6695c27c - std::panic::catch_unwind::h151c07c08497cf8b
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panic.rs:394
[INFO] [stdout]   24:     0x558e6695c27c - test::run_test_in_process::hd082de93b1922c89
[INFO] [stdout]                                at src/libtest/lib.rs:541
[INFO] [stdout]   25:     0x558e6695c27c - test::run_test::run_test_inner::{{closure}}::h22369c9424e5ab3a
[INFO] [stdout]                                at src/libtest/lib.rs:450
[INFO] [stdout]   26:     0x558e669341f6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0660a89f67243e05
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/sys_common/backtrace.rs:130
[INFO] [stdout]   27:     0x558e669392a5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h8bb2049509aa1add
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/thread/mod.rs:475
[INFO] [stdout]   28:     0x558e669392a5 - <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb49f3484cb9c3dd3
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panic.rs:318
[INFO] [stdout]   29:     0x558e669392a5 - std::panicking::try::do_call::ha910a12d1577339b
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panicking.rs:348
[INFO] [stdout]   30:     0x558e669392a5 - std::panicking::try::hd8b3d620360e55fa
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panicking.rs:325
[INFO] [stdout]   31:     0x558e669392a5 - std::panic::catch_unwind::h475454730ea43154
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panic.rs:394
[INFO] [stdout]   32:     0x558e669392a5 - std::thread::Builder::spawn_unchecked::{{closure}}::h2407d9379d805151
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/thread/mod.rs:474
[INFO] [stdout]   33:     0x558e669392a5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::haef9f772dfab225e
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libcore/ops/function.rs:233
[INFO] [stdout]   34:     0x558e6698935a - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::hd2b3bc04af94a84f
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/liballoc/boxed.rs:1081
[INFO] [stdout]   35:     0x558e6698935a - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h1044417e186e567a
[INFO] [stdout]                                at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/liballoc/boxed.rs:1081
[INFO] [stdout]   36:     0x558e6698935a - std::sys::unix::thread::Thread::new::thread_start::h276e6ca033938925
[INFO] [stdout]                                at src/libstd/sys/unix/thread.rs:87
[INFO] [stdout]   37:     0x7f8abfbb0609 - start_thread
[INFO] [stdout]   38:     0x7f8abfabc103 - __clone
[INFO] [stdout]   39:                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] running `Command { std: "docker" "inspect" "986f203fb2c2ee63af4d9adfdf24821ec76cbf9c8f9b137a350243217792e47e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "986f203fb2c2ee63af4d9adfdf24821ec76cbf9c8f9b137a350243217792e47e", kill_on_drop: false }`
[INFO] [stdout] 986f203fb2c2ee63af4d9adfdf24821ec76cbf9c8f9b137a350243217792e47e
