[INFO] cloning repository https://github.com/nicolayro/nit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicolayro/nit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicolayro%2Fnit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicolayro%2Fnit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f7010ac5449d056e4ec050d55028b433c34b93cc
[INFO] checking nicolayro/nit against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicolayro%2Fnit" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nicolayro/nit
[INFO] finished tweaking git repo https://github.com/nicolayro/nit
[INFO] tweaked toml for git repo https://github.com/nicolayro/nit written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nicolayro/nit on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nicolayro/nit already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7c3cf469b8ca0c829bcd9c8a85c91e958fe81a865c72266e53a382afecce5e37
[INFO] running `Command { std: "docker" "start" "-a" "7c3cf469b8ca0c829bcd9c8a85c91e958fe81a865c72266e53a382afecce5e37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7c3cf469b8ca0c829bcd9c8a85c91e958fe81a865c72266e53a382afecce5e37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c3cf469b8ca0c829bcd9c8a85c91e958fe81a865c72266e53a382afecce5e37", kill_on_drop: false }`
[INFO] [stdout] 7c3cf469b8ca0c829bcd9c8a85c91e958fe81a865c72266e53a382afecce5e37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de67c30f4aa65c039e411a2826cd20eff2b8628a35dd7667754870dc2b568d7c
[INFO] running `Command { std: "docker" "start" "-a" "de67c30f4aa65c039e411a2826cd20eff2b8628a35dd7667754870dc2b568d7c", kill_on_drop: false }`
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling cc v1.2.43
[INFO] [stderr]     Checking iana-time-zone v0.1.64
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling libz-sys v1.1.22
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking nit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `flate2::write::DeflateEncoder`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use flate2::write::DeflateEncoder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/main.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |             Err(e) => panic!("ERROR: Invalid hash '{}'", hash)
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `flate2::write::DeflateEncoder`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use flate2::write::DeflateEncoder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/main.rs:449:17
[INFO] [stdout]     |
[INFO] [stdout] 449 |             let data: &str = str::from_utf8(content).unwrap();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:782:13
[INFO] [stdout]     |
[INFO] [stdout] 782 |         let mut decoded = &decompress(content).unwrap()[..];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Commit` is never constructed
[INFO] [stdout]   --> src/main.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | enum ObjectKind {
[INFO] [stdout]    |      ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 88 |     Commit = 0
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ObjectKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_object` is never used
[INFO] [stdout]    --> src/main.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn hash_object(object_type: ObjectKind, content: Vec<u8>) -> Hash {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_commit` is never used
[INFO] [stdout]    --> src/main.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn hash_commit(content: Vec<u8>) -> Hash {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compress` is never used
[INFO] [stdout]    --> src/main.rs:175:4
[INFO] [stdout]     |
[INFO] [stdout] 175 | fn compress(bytes: Vec<u8>) -> io::Result<Vec<u8>> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `timestamp_to_date` is never used
[INFO] [stdout]    --> src/main.rs:188:4
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn timestamp_to_date(seconds: u32, nanoseconds: u32) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `version` is never read
[INFO] [stdout]    --> src/main.rs:215:5
[INFO] [stdout]     |
[INFO] [stdout] 205 | struct IndexHeader {
[INFO] [stdout]     |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 215 |     version: u32,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IndexHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `read_parent` is never used
[INFO] [stdout]    --> src/main.rs:592:8
[INFO] [stdout]     |
[INFO] [stdout] 537 | impl Commit {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 592 |     fn read_parent(parent: &str) -> Hash{
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/main.rs:472:25
[INFO] [stdout]     |
[INFO] [stdout] 472 |              let name = data[1].parse().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nit` (bin "nit" test) due to 1 previous error; 11 warnings emitted
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/main.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |             Err(e) => panic!("ERROR: Invalid hash '{}'", hash)
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/main.rs:449:17
[INFO] [stdout]     |
[INFO] [stdout] 449 |             let data: &str = str::from_utf8(content).unwrap();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_hex` and `from_string` are never used
[INFO] [stdout]   --> src/main.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl Hash {
[INFO] [stdout]    | --------- associated functions in this implementation
[INFO] [stdout] 50 |     fn from_hex(hash: &str) -> Self {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn from_string(input: String) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Commit` is never constructed
[INFO] [stdout]   --> src/main.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | enum ObjectKind {
[INFO] [stdout]    |      ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 88 |     Commit = 0
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ObjectKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_object` is never used
[INFO] [stdout]    --> src/main.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn hash_object(object_type: ObjectKind, content: Vec<u8>) -> Hash {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_tree` is never used
[INFO] [stdout]    --> src/main.rs:128:4
[INFO] [stdout]     |
[INFO] [stdout] 128 | fn hash_tree(content: Vec<u8>) -> Hash {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_commit` is never used
[INFO] [stdout]    --> src/main.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn hash_commit(content: Vec<u8>) -> Hash {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_u16` is never used
[INFO] [stdout]    --> src/main.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn take_u16(input: &mut &[u8]) -> u16 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_u32` is never used
[INFO] [stdout]    --> src/main.rs:150:4
[INFO] [stdout]     |
[INFO] [stdout] 150 | fn take_u32(input: &mut &[u8]) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_hash` is never used
[INFO] [stdout]    --> src/main.rs:156:4
[INFO] [stdout]     |
[INFO] [stdout] 156 | fn take_hash(input: &mut &[u8]) -> Hash {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_n_bytes` is never used
[INFO] [stdout]    --> src/main.rs:162:4
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn take_n_bytes(input: &mut &[u8], n: usize) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compress` is never used
[INFO] [stdout]    --> src/main.rs:175:4
[INFO] [stdout]     |
[INFO] [stdout] 175 | fn compress(bytes: Vec<u8>) -> io::Result<Vec<u8>> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decompress` is never used
[INFO] [stdout]    --> src/main.rs:181:4
[INFO] [stdout]     |
[INFO] [stdout] 181 | fn decompress(bytes: Vec<u8>) -> io::Result<Vec<u8>> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `timestamp_to_date` is never used
[INFO] [stdout]    --> src/main.rs:188:4
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn timestamp_to_date(seconds: u32, nanoseconds: u32) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Index` is never constructed
[INFO] [stdout]    --> src/main.rs:199:8
[INFO] [stdout]     |
[INFO] [stdout] 199 | struct Index {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexHeader` is never constructed
[INFO] [stdout]    --> src/main.rs:205:8
[INFO] [stdout]     |
[INFO] [stdout] 205 | struct IndexHeader {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `read`, `read_header`, and `read_entries` are never used
[INFO] [stdout]    --> src/main.rs:221:8
[INFO] [stdout]     |
[INFO] [stdout] 220 | impl Index {
[INFO] [stdout]     | ---------- associated functions in this implementation
[INFO] [stdout] 221 |     fn read(filename: &str) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn read_header(mut bytes: &[u8]) -> IndexHeader {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     fn read_entries(mut bytes: &[u8], num_entries: usize) -> Vec<IndexEntry> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexEntry` is never constructed
[INFO] [stdout]    --> src/main.rs:257:8
[INFO] [stdout]     |
[INFO] [stdout] 257 | struct IndexEntry {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create`, `read`, `name_len`, `name_len_from_flags`, `object_type`, and `permission` are never used
[INFO] [stdout]    --> src/main.rs:307:8
[INFO] [stdout]     |
[INFO] [stdout] 306 | impl IndexEntry {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 307 |     fn create(key: Hash, filename: &String) -> Self{
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 340 |     fn read(bytes: &mut &[u8]) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 375 |     fn name_len(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 379 |     fn name_len_from_flags(flags: u16) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 383 |     fn object_type(self: &Self) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 388 |     fn permission(self: &Self) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tree` is never constructed
[INFO] [stdout]    --> src/main.rs:424:8
[INFO] [stdout]     |
[INFO] [stdout] 424 | struct Tree {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeEntry` is never constructed
[INFO] [stdout]    --> src/main.rs:428:8
[INFO] [stdout]     |
[INFO] [stdout] 428 | struct TreeEntry {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read`, `read_header`, and `write_tree` are never used
[INFO] [stdout]    --> src/main.rs:435:8
[INFO] [stdout]     |
[INFO] [stdout] 434 | impl Tree {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] 435 |     fn read(bytes: &mut &[u8]) -> Self{
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 446 |     fn read_header(bytes: &mut &[u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 454 |     fn write_tree(&self) -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read` and `as_bytes` are never used
[INFO] [stdout]    --> src/main.rs:464:8
[INFO] [stdout]     |
[INFO] [stdout] 463 | impl TreeEntry {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 464 |     fn read(bytes: &mut &[u8]) -> Option<Self> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 490 |     fn as_bytes(&self) -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stamp` is never constructed
[INFO] [stdout]    --> src/main.rs:517:8
[INFO] [stdout]     |
[INFO] [stdout] 517 | struct Stamp {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Commit` is never constructed
[INFO] [stdout]    --> src/main.rs:529:8
[INFO] [stdout]     |
[INFO] [stdout] 529 | struct Commit {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/main.rs:538:8
[INFO] [stdout]     |
[INFO] [stdout] 537 | impl Commit {
[INFO] [stdout]     | ----------- associated functions in this implementation
[INFO] [stdout] 538 |     fn create(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 555 |     fn read(bytes: &mut &[u8]) -> Option<Commit> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 581 |     fn read_header(bytes: &mut &[u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 587 |     fn read_tree(tree: &str) -> Hash{
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 592 |     fn read_parent(parent: &str) -> Hash{
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 597 |     fn read_author(author: &str) -> Stamp {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 601 |     fn read_committer(committer: &str) -> Stamp {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 605 |     fn take_stamp(stamp: &str) -> Stamp {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/main.rs:472:25
[INFO] [stdout]     |
[INFO] [stdout] 472 |              let name = data[1].parse().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nit` (bin "nit") due to 1 previous error; 27 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "de67c30f4aa65c039e411a2826cd20eff2b8628a35dd7667754870dc2b568d7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de67c30f4aa65c039e411a2826cd20eff2b8628a35dd7667754870dc2b568d7c", kill_on_drop: false }`
[INFO] [stdout] de67c30f4aa65c039e411a2826cd20eff2b8628a35dd7667754870dc2b568d7c
