[INFO] cloning repository https://github.com/tiqwab/tftpff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiqwab/tftpff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiqwab%2Ftftpff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiqwab%2Ftftpff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f102f43e8743426f3ae6ff422dd12173f12844fe [INFO] testing tiqwab/tftpff against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiqwab%2Ftftpff" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tiqwab/tftpff [INFO] finished tweaking git repo https://github.com/tiqwab/tftpff [INFO] tweaked toml for git repo https://github.com/tiqwab/tftpff written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tiqwab/tftpff on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tiqwab/tftpff 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abc794b09e66cd26c07c082bd428bc8cc6bfec7976f6531e1a029b52fabcb94f [INFO] running `Command { std: "docker" "start" "-a" "abc794b09e66cd26c07c082bd428bc8cc6bfec7976f6531e1a029b52fabcb94f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abc794b09e66cd26c07c082bd428bc8cc6bfec7976f6531e1a029b52fabcb94f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abc794b09e66cd26c07c082bd428bc8cc6bfec7976f6531e1a029b52fabcb94f", kill_on_drop: false }` [INFO] [stdout] abc794b09e66cd26c07c082bd428bc8cc6bfec7976f6531e1a029b52fabcb94f [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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4dd330ad8bfd364a9c5e87273bb5a7ca05cb1f2e9f39dc39619a90303560c31 [INFO] running `Command { std: "docker" "start" "-a" "e4dd330ad8bfd364a9c5e87273bb5a7ca05cb1f2e9f39dc39619a90303560c31", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.5 [INFO] [stderr] Compiling clap v3.0.5 [INFO] [stderr] Compiling tftpff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | TftpError::Others => (0x0_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - TftpError::Others => (0x0_u16), [INFO] [stdout] 38 + TftpError::Others => 0x0_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | TftpError::FileNotFound => (0x1_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - TftpError::FileNotFound => (0x1_u16), [INFO] [stdout] 39 + TftpError::FileNotFound => 0x1_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | TftpError::AccessViolation => (0x2_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - TftpError::AccessViolation => (0x2_u16), [INFO] [stdout] 40 + TftpError::AccessViolation => 0x2_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | TftpError::DiskNoSpace => (0x3_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - TftpError::DiskNoSpace => (0x3_u16), [INFO] [stdout] 41 + TftpError::DiskNoSpace => 0x3_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | TftpError::IllegalTftpOp => (0x4_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - TftpError::IllegalTftpOp => (0x4_u16), [INFO] [stdout] 42 + TftpError::IllegalTftpOp => 0x4_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | TftpError::UnknownTid => (0x5_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - TftpError::UnknownTid => (0x5_u16), [INFO] [stdout] 43 + TftpError::UnknownTid => 0x5_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | TftpError::FileExists => (0x6_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - TftpError::FileExists => (0x6_u16), [INFO] [stdout] 44 + TftpError::FileExists => 0x6_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | TftpError::NoSuchUser => (0x7_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - TftpError::NoSuchUser => (0x7_u16), [INFO] [stdout] 45 + TftpError::NoSuchUser => 0x7_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "e4dd330ad8bfd364a9c5e87273bb5a7ca05cb1f2e9f39dc39619a90303560c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4dd330ad8bfd364a9c5e87273bb5a7ca05cb1f2e9f39dc39619a90303560c31", kill_on_drop: false }` [INFO] [stdout] e4dd330ad8bfd364a9c5e87273bb5a7ca05cb1f2e9f39dc39619a90303560c31 [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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c88d2042f6c908a1efec7d6214257d1981e925413d3459f2b921e234a61e22e [INFO] running `Command { std: "docker" "start" "-a" "8c88d2042f6c908a1efec7d6214257d1981e925413d3459f2b921e234a61e22e", kill_on_drop: false }` [INFO] [stderr] Compiling tftpff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | TftpError::Others => (0x0_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - TftpError::Others => (0x0_u16), [INFO] [stdout] 38 + TftpError::Others => 0x0_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | TftpError::FileNotFound => (0x1_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - TftpError::FileNotFound => (0x1_u16), [INFO] [stdout] 39 + TftpError::FileNotFound => 0x1_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | TftpError::AccessViolation => (0x2_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - TftpError::AccessViolation => (0x2_u16), [INFO] [stdout] 40 + TftpError::AccessViolation => 0x2_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | TftpError::DiskNoSpace => (0x3_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - TftpError::DiskNoSpace => (0x3_u16), [INFO] [stdout] 41 + TftpError::DiskNoSpace => 0x3_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | TftpError::IllegalTftpOp => (0x4_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - TftpError::IllegalTftpOp => (0x4_u16), [INFO] [stdout] 42 + TftpError::IllegalTftpOp => 0x4_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | TftpError::UnknownTid => (0x5_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - TftpError::UnknownTid => (0x5_u16), [INFO] [stdout] 43 + TftpError::UnknownTid => 0x5_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | TftpError::FileExists => (0x6_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - TftpError::FileExists => (0x6_u16), [INFO] [stdout] 44 + TftpError::FileExists => 0x6_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | TftpError::NoSuchUser => (0x7_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - TftpError::NoSuchUser => (0x7_u16), [INFO] [stdout] 45 + TftpError::NoSuchUser => 0x7_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | TftpError::Others => (0x0_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - TftpError::Others => (0x0_u16), [INFO] [stdout] 38 + TftpError::Others => 0x0_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | TftpError::FileNotFound => (0x1_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - TftpError::FileNotFound => (0x1_u16), [INFO] [stdout] 39 + TftpError::FileNotFound => 0x1_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | TftpError::AccessViolation => (0x2_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - TftpError::AccessViolation => (0x2_u16), [INFO] [stdout] 40 + TftpError::AccessViolation => 0x2_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | TftpError::DiskNoSpace => (0x3_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - TftpError::DiskNoSpace => (0x3_u16), [INFO] [stdout] 41 + TftpError::DiskNoSpace => 0x3_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | TftpError::IllegalTftpOp => (0x4_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - TftpError::IllegalTftpOp => (0x4_u16), [INFO] [stdout] 42 + TftpError::IllegalTftpOp => 0x4_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | TftpError::UnknownTid => (0x5_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - TftpError::UnknownTid => (0x5_u16), [INFO] [stdout] 43 + TftpError::UnknownTid => 0x5_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | TftpError::FileExists => (0x6_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - TftpError::FileExists => (0x6_u16), [INFO] [stdout] 44 + TftpError::FileExists => 0x6_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/error.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | TftpError::NoSuchUser => (0x7_u16), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - TftpError::NoSuchUser => (0x7_u16), [INFO] [stdout] 45 + TftpError::NoSuchUser => 0x7_u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.61s [INFO] running `Command { std: "docker" "inspect" "8c88d2042f6c908a1efec7d6214257d1981e925413d3459f2b921e234a61e22e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c88d2042f6c908a1efec7d6214257d1981e925413d3459f2b921e234a61e22e", kill_on_drop: false }` [INFO] [stdout] 8c88d2042f6c908a1efec7d6214257d1981e925413d3459f2b921e234a61e22e [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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ff351da53d59c3928db5084ff8d9658823b54aeadfe81ce0ee84b80f9be5b2ee [INFO] running `Command { std: "docker" "start" "-a" "ff351da53d59c3928db5084ff8d9658823b54aeadfe81ce0ee84b80f9be5b2ee", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/error.rs:38:34 [INFO] [stderr] | [INFO] [stderr] 38 | TftpError::Others => (0x0_u16), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 38 - TftpError::Others => (0x0_u16), [INFO] [stderr] 38 + TftpError::Others => 0x0_u16, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/error.rs:39:40 [INFO] [stderr] | [INFO] [stderr] 39 | TftpError::FileNotFound => (0x1_u16), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 39 - TftpError::FileNotFound => (0x1_u16), [INFO] [stderr] 39 + TftpError::FileNotFound => 0x1_u16, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/error.rs:40:43 [INFO] [stderr] | [INFO] [stderr] 40 | TftpError::AccessViolation => (0x2_u16), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 40 - TftpError::AccessViolation => (0x2_u16), [INFO] [stderr] 40 + TftpError::AccessViolation => 0x2_u16, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/error.rs:41:39 [INFO] [stderr] | [INFO] [stderr] 41 | TftpError::DiskNoSpace => (0x3_u16), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 41 - TftpError::DiskNoSpace => (0x3_u16), [INFO] [stderr] 41 + TftpError::DiskNoSpace => 0x3_u16, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/error.rs:42:41 [INFO] [stderr] | [INFO] [stderr] 42 | TftpError::IllegalTftpOp => (0x4_u16), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 42 - TftpError::IllegalTftpOp => (0x4_u16), [INFO] [stderr] 42 + TftpError::IllegalTftpOp => 0x4_u16, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/error.rs:43:38 [INFO] [stderr] | [INFO] [stderr] 43 | TftpError::UnknownTid => (0x5_u16), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 43 - TftpError::UnknownTid => (0x5_u16), [INFO] [stderr] 43 + TftpError::UnknownTid => 0x5_u16, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/error.rs:44:38 [INFO] [stderr] | [INFO] [stderr] 44 | TftpError::FileExists => (0x6_u16), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 44 - TftpError::FileExists => (0x6_u16), [INFO] [stderr] 44 + TftpError::FileExists => 0x6_u16, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/error.rs:45:38 [INFO] [stderr] | [INFO] [stderr] 45 | TftpError::NoSuchUser => (0x7_u16), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 45 - TftpError::NoSuchUser => (0x7_u16), [INFO] [stderr] 45 + TftpError::NoSuchUser => 0x7_u16, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `tftpff` (lib) generated 8 warnings (run `cargo fix --lib -p tftpff` to apply 8 suggestions) [INFO] [stderr] warning: `tftpff` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tftpff-cd450819a0712fcb) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test file::tests::test_write_with_newlines ... ok [INFO] [stdout] test file::tests::test_write_with_netascii ... ok [INFO] [stdout] test file::tests::test_read_with_octet ... ok [INFO] [stdout] test file::tests::test_write_with_octet ... ok [INFO] [stdout] test file::tests::test_read_with_netascii ... ok [INFO] [stdout] test file::tests::test_read_512_multiple_bytes ... ok [INFO] [stdout] test packet::tests::test_parse_ack ... ok [INFO] [stdout] test packet::tests::test_parse_data ... ok [INFO] [stdout] test packet::tests::test_encode_data ... ok [INFO] [stdout] test packet::tests::test_encode_error ... ok [INFO] [stdout] test packet::tests::test_encode_ack ... ok [INFO] [stdout] test packet::tests::test_parse_wrq_ok ... ok [INFO] [stdout] test packet::tests::test_parse_wrq_only_use_filename ... ok [INFO] [stdout] test packet::tests::test_parse_wrq_with_illegal_mode ... ok [INFO] [stdout] test packet::tests::test_parse_rrq_only_use_filename ... ok [INFO] [stdout] test server::tests::test_rrq_handler ... ok [INFO] [stdout] test server::tests::test_wrq_handler_with_error ... ok [INFO] [stdout] test server::tests::test_rrq_handler_with_512_multiple_bytes ... ok [INFO] [stdout] test packet::tests::test_parse_error ... ok [INFO] [stdout] test server::tests::test_wrq_handler ... ok [INFO] [stdout] test packet::tests::test_parse_rrq_ok ... ok [INFO] [stdout] test packet::tests::test_parse_rrq_with_illegal_mode ... ok [INFO] [stdout] test server::tests::test_rrq_handler_with_error ... ok [INFO] [stdout] test server::tests::test_server_run ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- server::tests::test_server_run stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'server::tests::test_server_run' panicked at src/server.rs:514:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 0 [INFO] [stdout] right: 1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x65429102a682 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x65429102a682 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x65429102a682 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x65429102a682 - ::fmt::ha2e7e3a01df69042 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6542910538e3 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6542910538e3 - core::fmt::write::h7cb8f63788cd01d2 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x654291026843 - std::io::default_write_fmt::h9ed739ccee8a150c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x654291026843 - std::io::Write::write_fmt::h1c0a32da913b32f1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x65429102a4d2 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x65429102c2ec - std::panicking::default_hook::{{closure}}::h29548987efd832cb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x65429102c142 - std::panicking::default_hook::ha25170a15c643514 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x654290fedbd4 - as core::ops::function::Fn>::call::h562adeecbf43c420 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x654290fedbd4 - test::test_main_with_exit_callback::{{closure}}::h97dd2a879d27e0e4 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x65429102cdcb - as core::ops::function::Fn>::call::h7e85cbdbda26fdb7 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x65429102cdcb - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x65429102ca9a - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x65429102ab79 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x65429102c72d - __rustc[beb0385846a06d21]::rust_begin_unwind [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x654291052030 - core::panicking::panic_fmt::ha33fa2ae772efba9 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x6542910522c7 - core::panicking::assert_failed_inner::h6a89cd271393c011 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x654291052219 - core::panicking::assert_failed::h20563a97be4f023a [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x654290f2157b - tftpff::server::tests::test_server_run::hb2a480be13d62121 [INFO] [stdout] at /opt/rustwide/workdir/src/server.rs:514:9 [INFO] [stdout] 22: 0x654290f2cd59 - tftpff::server::tests::test_server_run::{{closure}}::hf4c92e79f8f4b267 [INFO] [stdout] at /opt/rustwide/workdir/src/server.rs:470:25 [INFO] [stdout] 23: 0x654290f2cd59 - core::ops::function::FnOnce::call_once::h4721710b5e074db0 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x654290ff330b - core::ops::function::FnOnce::call_once::hf84b9c3d864a6959 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x654290ff330b - test::__rust_begin_short_backtrace::h5724e31441c16fcb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x654290ff254e - test::run_test_in_process::{{closure}}::hbc28c9aa91793d7d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x654290ff254e - as core::ops::function::FnOnce<()>>::call_once::hc17b0e238c0f8f3e [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x654290ff254e - std::panicking::catch_unwind::do_call::hcdbce0d6dd6c83ce [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x654290ff254e - std::panicking::catch_unwind::h9477967ceea044e8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x654290ff254e - std::panic::catch_unwind::h616a2e249da12e16 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x654290ff254e - test::run_test_in_process::h2758deb0f2e54430 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x654290ff254e - test::run_test::{{closure}}::habe5cd2564b18aaa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x654290fb60f4 - test::run_test::{{closure}}::h9a0a6928f1a15421 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x654290fb60f4 - std::sys::backtrace::__rust_begin_short_backtrace::hd68b5332434a22ca [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x654290fb9a9a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h264ddcc3098eacae [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x654290fb9a9a - as core::ops::function::FnOnce<()>>::call_once::h9fa39489749d6f3c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x654290fb9a9a - std::panicking::catch_unwind::do_call::hb9a1944b9f85100f [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x654290fb9a9a - std::panicking::catch_unwind::h0c6f100786c0dad8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x654290fb9a9a - std::panic::catch_unwind::hf6084e2723385823 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x654290fb9a9a - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0af58ce658143ad [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x654290fb9a9a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88a14f9b2e79f9de [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x654291030287 - as core::ops::function::FnOnce>::call_once::hf31256ba38644b65 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x654291030287 - as core::ops::function::FnOnce>::call_once::h100ad77f3448041b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x654291030287 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a22ded422ce395b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x7970f315eaa4 - [INFO] [stdout] 46: 0x7970f31eba34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] server::tests::test_server_run [INFO] [stdout] [INFO] [stdout] test result: FAILED. 23 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "ff351da53d59c3928db5084ff8d9658823b54aeadfe81ce0ee84b80f9be5b2ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff351da53d59c3928db5084ff8d9658823b54aeadfe81ce0ee84b80f9be5b2ee", kill_on_drop: false }` [INFO] [stdout] ff351da53d59c3928db5084ff8d9658823b54aeadfe81ce0ee84b80f9be5b2ee