[INFO] cloning repository https://github.com/arata-nvm/tendium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arata-nvm/tendium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farata-nvm%2Ftendium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farata-nvm%2Ftendium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0107030985b13841ccfa953eefa05cf01e09a005 [INFO] checking arata-nvm/tendium against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farata-nvm%2Ftendium" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arata-nvm/tendium on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arata-nvm/tendium [INFO] finished tweaking git repo https://github.com/arata-nvm/tendium [INFO] tweaked toml for git repo https://github.com/arata-nvm/tendium written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arata-nvm/tendium 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ioctl-sys v0.6.0 [INFO] [stderr] Downloaded tun v0.5.1 [INFO] [stderr] Downloaded ifstructs v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eade66ccb9da3672a488b4c72dea328375a84333dd669185e076db90e05eeae [INFO] running `Command { std: "docker" "start" "-a" "5eade66ccb9da3672a488b4c72dea328375a84333dd669185e076db90e05eeae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eade66ccb9da3672a488b4c72dea328375a84333dd669185e076db90e05eeae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eade66ccb9da3672a488b4c72dea328375a84333dd669185e076db90e05eeae", kill_on_drop: false }` [INFO] [stdout] 5eade66ccb9da3672a488b4c72dea328375a84333dd669185e076db90e05eeae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d806755af00043c27b55565214cbd19ae9e1e6335db4296d0f5bd500063e9d3 [INFO] running `Command { std: "docker" "start" "-a" "0d806755af00043c27b55565214cbd19ae9e1e6335db4296d0f5bd500063e9d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking ioctl-sys v0.6.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking ifstructs v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking tun v0.5.1 [INFO] [stderr] Checking tendium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `self.arp_table` as mutable more than once at a time [INFO] [stdout] --> src/protocol/internet/interface.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | let dst_mac_addr = self.arp_table.find(dst_addr, &mut self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^----^^^^^^^^^^^---------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | first mutable borrow occurs here [INFO] [stdout] | | first borrow later used by call [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.arp_table` as mutable more than once at a time [INFO] [stdout] --> src/protocol/internet/interface.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | let dst_mac_addr = self.arp_table.find(dst_addr, &mut self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^----^^^^^^^^^^^---------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | first mutable borrow occurs here [INFO] [stdout] | | first borrow later used by call [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `dst_addr` [INFO] [stdout] --> src/protocol/internet/interface.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn send(&mut self, dst_addr: IPAddress, payload: IPPayload) -> io::Result<()> { [INFO] [stdout] | -------- move occurs because `dst_addr` has type `IPAddress`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 62 | dst_addr, [INFO] [stdout] | -------- value moved here [INFO] [stdout] ... [INFO] [stdout] 65 | let dst_mac_addr = self.arp_table.find(dst_addr, &mut self).unwrap(); [INFO] [stdout] | ^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 62 | dst_addr: dst_addr.clone(), [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `dst_addr` [INFO] [stdout] --> src/protocol/internet/interface.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn send(&mut self, dst_addr: IPAddress, payload: IPPayload) -> io::Result<()> { [INFO] [stdout] | -------- move occurs because `dst_addr` has type `IPAddress`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 62 | dst_addr, [INFO] [stdout] | -------- value moved here [INFO] [stdout] ... [INFO] [stdout] 65 | let dst_mac_addr = self.arp_table.find(dst_addr, &mut self).unwrap(); [INFO] [stdout] | ^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 62 | dst_addr: dst_addr.clone(), [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/internet/interface.rs:65:58 [INFO] [stdout] | [INFO] [stdout] 65 | let dst_mac_addr = self.arp_table.find(dst_addr, &mut self).unwrap(); [INFO] [stdout] | ^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] note: the binding is already a mutable borrow [INFO] [stdout] --> src/protocol/internet/interface.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn send(&mut self, dst_addr: IPAddress, payload: IPPayload) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try removing `&mut` here [INFO] [stdout] | [INFO] [stdout] 65 - let dst_mac_addr = self.arp_table.find(dst_addr, &mut self).unwrap(); [INFO] [stdout] 65 + let dst_mac_addr = self.arp_table.find(dst_addr, self).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/internet/interface.rs:65:58 [INFO] [stdout] | [INFO] [stdout] 65 | let dst_mac_addr = self.arp_table.find(dst_addr, &mut self).unwrap(); [INFO] [stdout] | ^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] note: the binding is already a mutable borrow [INFO] [stdout] --> src/protocol/internet/interface.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn send(&mut self, dst_addr: IPAddress, payload: IPPayload) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try removing `&mut` here [INFO] [stdout] | [INFO] [stdout] 65 - let dst_mac_addr = self.arp_table.find(dst_addr, &mut self).unwrap(); [INFO] [stdout] 65 + let dst_mac_addr = self.arp_table.find(dst_addr, self).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self` as mutable more than once at a time [INFO] [stdout] --> src/protocol/internet/interface.rs:65:58 [INFO] [stdout] | [INFO] [stdout] 65 | let dst_mac_addr = self.arp_table.find(dst_addr, &mut self).unwrap(); [INFO] [stdout] | -------------- ---- ^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | first borrow later used by call [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self` as mutable more than once at a time [INFO] [stdout] --> src/protocol/internet/interface.rs:65:58 [INFO] [stdout] | [INFO] [stdout] 65 | let dst_mac_addr = self.arp_table.find(dst_addr, &mut self).unwrap(); [INFO] [stdout] | -------------- ---- ^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | first borrow later used by call [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0499, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0499, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tendium` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tendium` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "0d806755af00043c27b55565214cbd19ae9e1e6335db4296d0f5bd500063e9d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d806755af00043c27b55565214cbd19ae9e1e6335db4296d0f5bd500063e9d3", kill_on_drop: false }` [INFO] [stdout] 0d806755af00043c27b55565214cbd19ae9e1e6335db4296d0f5bd500063e9d3 [INFO] checking arata-nvm/tendium against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farata-nvm%2Ftendium" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arata-nvm/tendium on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arata-nvm/tendium [INFO] finished tweaking git repo https://github.com/arata-nvm/tendium [INFO] tweaked toml for git repo https://github.com/arata-nvm/tendium written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arata-nvm/tendium 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b343b7eeaf775e23879f9dc36b69d307d2f60328c16757b90fbaaeb05ecfac8 [INFO] running `Command { std: "docker" "start" "-a" "2b343b7eeaf775e23879f9dc36b69d307d2f60328c16757b90fbaaeb05ecfac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b343b7eeaf775e23879f9dc36b69d307d2f60328c16757b90fbaaeb05ecfac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b343b7eeaf775e23879f9dc36b69d307d2f60328c16757b90fbaaeb05ecfac8", kill_on_drop: false }` [INFO] [stdout] 2b343b7eeaf775e23879f9dc36b69d307d2f60328c16757b90fbaaeb05ecfac8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 714ca6c6b9b9f84c9f510e8ff257ed65a8ac2806ee6f1172f0deeaf4dc29e2df [INFO] running `Command { std: "docker" "start" "-a" "714ca6c6b9b9f84c9f510e8ff257ed65a8ac2806ee6f1172f0deeaf4dc29e2df", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "714ca6c6b9b9f84c9f510e8ff257ed65a8ac2806ee6f1172f0deeaf4dc29e2df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "714ca6c6b9b9f84c9f510e8ff257ed65a8ac2806ee6f1172f0deeaf4dc29e2df", kill_on_drop: false }` [INFO] [stdout] 714ca6c6b9b9f84c9f510e8ff257ed65a8ac2806ee6f1172f0deeaf4dc29e2df