[INFO] cloning repository https://github.com/Jos635/cz2020-usbtool
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jos635/cz2020-usbtool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJos635%2Fcz2020-usbtool", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJos635%2Fcz2020-usbtool'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ec80516989d4e0c53e5de536848d6103695d3376
[INFO] checking Jos635/cz2020-usbtool 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%2FJos635%2Fcz2020-usbtool" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Jos635/cz2020-usbtool
[INFO] finished tweaking git repo https://github.com/Jos635/cz2020-usbtool
[INFO] tweaked toml for git repo https://github.com/Jos635/cz2020-usbtool written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Jos635/cz2020-usbtool 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/Jos635/cz2020-usbtool 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 25aac4c81be88f1242069d1d54b00f35632f84669494b75c3f144e08fb8e7dd7
[INFO] running `Command { std: "docker" "start" "-a" "25aac4c81be88f1242069d1d54b00f35632f84669494b75c3f144e08fb8e7dd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25aac4c81be88f1242069d1d54b00f35632f84669494b75c3f144e08fb8e7dd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25aac4c81be88f1242069d1d54b00f35632f84669494b75c3f144e08fb8e7dd7", kill_on_drop: false }`
[INFO] [stdout] 25aac4c81be88f1242069d1d54b00f35632f84669494b75c3f144e08fb8e7dd7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 20f2bdc79e4d9da8a4fb1f560df3844786be0309b7207d538b44e9e1374bc8ff
[INFO] running `Command { std: "docker" "start" "-a" "20f2bdc79e4d9da8a4fb1f560df3844786be0309b7207d538b44e9e1374bc8ff", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling syn v1.0.36
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.3
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling rle-decode-fast v1.0.1
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling libflate v0.1.27
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.3
[INFO] [stderr]    Compiling cc v1.0.58
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.34
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling fuse v0.3.1
[INFO] [stderr]     Checking aho-corasick v0.7.13
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]    Compiling xattr v0.2.2
[INFO] [stderr]    Compiling filetime v0.2.11
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]    Compiling tar v0.4.29
[INFO] [stderr]     Checking signal-hook-registry v1.2.0
[INFO] [stderr]     Checking clap v2.33.1
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking slice-deque v0.2.4
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking crossbeam-channel v0.4.3
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking thread-scoped v1.0.2
[INFO] [stderr]     Checking pin-project-lite v0.1.7
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking crossbeam v0.7.3
[INFO] [stderr]    Compiling libusb1-sys v0.3.7
[INFO] [stderr]     Checking termios v0.3.2
[INFO] [stderr]     Checking rusb v0.6.2
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]    Compiling structopt-derive v0.4.8
[INFO] [stderr]     Checking thiserror v1.0.20
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking structopt v0.3.15
[INFO] [stderr]     Checking cz2020-usbtool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |     Ls { path: String },
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 38 |     Get { path: String },
[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:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 |     Set { path: String },
[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:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |     CreateFile { path: String },
[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:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |     CreateDir { path: String },
[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:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 |     Rm { path: String },
[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:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 |     Cp { from: String, to: String },
[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:53:24
[INFO] [stdout]    |
[INFO] [stdout] 53 |     Cp { from: String, to: String },
[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:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 | /         #[structopt(help = "The original file location")]
[INFO] [stdout] 58 | |         from: String,
[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:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | /         #[structopt(about = "The new file location. The filename itself must be included.")]
[INFO] [stdout] 61 | |         to: String,
[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:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | /         #[structopt(
[INFO] [stdout] 67 | |             about = "The path to the __init__.py file. Don't prefix the path with /flash."
[INFO] [stdout] 68 | |         )]
[INFO] [stdout] 69 | |         path: String,
[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:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |     Mount { path: String },
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Vec<u8>, Infallible>
[INFO] [stdout]   --> src/cmds.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | /     CString::new(s.as_ref())
[INFO] [stdout] 50 | |         .unwrap()
[INFO] [stdout] 51 | |         .as_bytes_with_nul()
[INFO] [stdout] 52 | |         .try_into()
[INFO] [stdout]    | |___________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/fs.rs:960:33
[INFO] [stdout]     |
[INFO] [stdout] 960 | ...                   drop(contents);
[INFO] [stdout]     |                       ^^^^^--------^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            argument has type `&mut Vec<u8>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 960 -                                 drop(contents);
[INFO] [stdout] 960 +                                 let _ = contents;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cz2020-usbtool` (bin "cz2020-usbtool") due to 13 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |     Ls { path: String },
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 38 |     Get { path: String },
[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:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 |     Set { path: String },
[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:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |     CreateFile { path: String },
[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:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |     CreateDir { path: String },
[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:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 |     Rm { path: String },
[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:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 |     Cp { from: String, to: String },
[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:53:24
[INFO] [stdout]    |
[INFO] [stdout] 53 |     Cp { from: String, to: String },
[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:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 | /         #[structopt(help = "The original file location")]
[INFO] [stdout] 58 | |         from: String,
[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:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | /         #[structopt(about = "The new file location. The filename itself must be included.")]
[INFO] [stdout] 61 | |         to: String,
[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:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | /         #[structopt(
[INFO] [stdout] 67 | |             about = "The path to the __init__.py file. Don't prefix the path with /flash."
[INFO] [stdout] 68 | |         )]
[INFO] [stdout] 69 | |         path: String,
[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:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |     Mount { path: String },
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Vec<u8>, Infallible>
[INFO] [stdout]   --> src/cmds.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | /     CString::new(s.as_ref())
[INFO] [stdout] 50 | |         .unwrap()
[INFO] [stdout] 51 | |         .as_bytes_with_nul()
[INFO] [stdout] 52 | |         .try_into()
[INFO] [stdout]    | |___________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/fs.rs:960:33
[INFO] [stdout]     |
[INFO] [stdout] 960 | ...                   drop(contents);
[INFO] [stdout]     |                       ^^^^^--------^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            argument has type `&mut Vec<u8>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 960 -                                 drop(contents);
[INFO] [stdout] 960 +                                 let _ = contents;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cz2020-usbtool` (bin "cz2020-usbtool" test) due to 13 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "20f2bdc79e4d9da8a4fb1f560df3844786be0309b7207d538b44e9e1374bc8ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20f2bdc79e4d9da8a4fb1f560df3844786be0309b7207d538b44e9e1374bc8ff", kill_on_drop: false }`
[INFO] [stdout] 20f2bdc79e4d9da8a4fb1f560df3844786be0309b7207d538b44e9e1374bc8ff
