[INFO] cloning repository https://github.com/Raunak-S/rs-tftp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Raunak-S/rs-tftp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaunak-S%2Frs-tftp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaunak-S%2Frs-tftp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4cd4386fe51c0a98ee1a37109b80e15f9ef8d83e
[INFO] testing Raunak-S/rs-tftp against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaunak-S%2Frs-tftp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Raunak-S/rs-tftp on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Raunak-S/rs-tftp
[INFO] finished tweaking git repo https://github.com/Raunak-S/rs-tftp
[INFO] tweaked toml for git repo https://github.com/Raunak-S/rs-tftp written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Raunak-S/rs-tftp 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 283df28efe8eed1780ac90fd975e986131912f6ff14177314663a93da6871471
[INFO] running `Command { std: "docker" "start" "-a" "283df28efe8eed1780ac90fd975e986131912f6ff14177314663a93da6871471", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "283df28efe8eed1780ac90fd975e986131912f6ff14177314663a93da6871471", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "283df28efe8eed1780ac90fd975e986131912f6ff14177314663a93da6871471", kill_on_drop: false }`
[INFO] [stdout] 283df28efe8eed1780ac90fd975e986131912f6ff14177314663a93da6871471
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4272c773d3d5ea10135e14d5bf6ab0eef644b79404e852567fbfc3b9fe2913b2
[INFO] running `Command { std: "docker" "start" "-a" "4272c773d3d5ea10135e14d5bf6ab0eef644b79404e852567fbfc3b9fe2913b2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling libc v0.2.103
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling structopt-derive v0.4.16
[INFO] [stderr]    Compiling structopt v0.3.23
[INFO] [stderr]    Compiling rs-tftp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `argv`
[INFO] [stdout]    --> src/main.rs:120:22
[INFO] [stdout]     |
[INFO] [stdout] 120 |             Cmd::Put(argv) => {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_argv`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*filename` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/main.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     filename.push_str("\0");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^ `filename` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let filename = &mut *file; 
[INFO] [stdout]    |                    ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*mode` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/main.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     mode.push_str("\0");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ `mode` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn send_read_packet(args: &Cli, socket: &UdpSocket, file: &String, mode: &mut String) {
[INFO] [stdout]    |                                                                          ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `filename` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/main.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 filename.pop().unwrap();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 let mut filename = String::from(argv[0]);
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rs-tftp` (bin "rs-tftp") due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "4272c773d3d5ea10135e14d5bf6ab0eef644b79404e852567fbfc3b9fe2913b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4272c773d3d5ea10135e14d5bf6ab0eef644b79404e852567fbfc3b9fe2913b2", kill_on_drop: false }`
[INFO] [stdout] 4272c773d3d5ea10135e14d5bf6ab0eef644b79404e852567fbfc3b9fe2913b2
