[INFO] cloning repository https://github.com/Jayrawdogg2/fox-n-5ox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jayrawdogg2/fox-n-5ox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayrawdogg2%2Ffox-n-5ox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayrawdogg2%2Ffox-n-5ox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2722ebeadf04aae3f8b80b2b98c2e2ad8b14edd [INFO] checking Jayrawdogg2/fox-n-5ox against try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayrawdogg2%2Ffox-n-5ox" "/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/Jayrawdogg2/fox-n-5ox [INFO] finished tweaking git repo https://github.com/Jayrawdogg2/fox-n-5ox [INFO] tweaked toml for git repo https://github.com/Jayrawdogg2/fox-n-5ox written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jayrawdogg2/fox-n-5ox on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jayrawdogg2/fox-n-5ox 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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Jayrawdogg2/fox-n-5ox against try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayrawdogg2%2Ffox-n-5ox" "/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/Jayrawdogg2/fox-n-5ox [INFO] finished tweaking git repo https://github.com/Jayrawdogg2/fox-n-5ox [INFO] tweaked toml for git repo https://github.com/Jayrawdogg2/fox-n-5ox written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jayrawdogg2/fox-n-5ox on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jayrawdogg2/fox-n-5ox 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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded snafu-derive v0.4.4 [INFO] [stderr] Downloaded merino v0.1.3 [INFO] [stderr] Downloaded pretty_env_logger v0.3.1 [INFO] [stderr] Downloaded snafu v0.4.4 [INFO] [stderr] Downloaded env_logger v0.6.2 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec850f90ab1655c0b228472c54192ad1e1a4fe32f0f359b7727e52b3b6b1c841 [INFO] running `Command { std: "docker" "start" "-a" "ec850f90ab1655c0b228472c54192ad1e1a4fe32f0f359b7727e52b3b6b1c841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec850f90ab1655c0b228472c54192ad1e1a4fe32f0f359b7727e52b3b6b1c841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec850f90ab1655c0b228472c54192ad1e1a4fe32f0f359b7727e52b3b6b1c841", kill_on_drop: false }` [INFO] [stdout] ec850f90ab1655c0b228472c54192ad1e1a4fe32f0f359b7727e52b3b6b1c841 [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" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4360fd776041083313e7521f0e94d5ad74e408132fea782d4f60327a2c0ad60 [INFO] running `Command { std: "docker" "start" "-a" "c4360fd776041083313e7521f0e94d5ad74e408132fea782d4f60327a2c0ad60", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking snafu v0.4.4 [INFO] [stderr] Checking serde v1.0.217 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking merino v0.1.3 [INFO] [stderr] Checking fox-n-5ox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snafu` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use snafu::{Snafu}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `snafu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snafu`, use `cargo add snafu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snafu` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use snafu::{Snafu}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `snafu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snafu`, use `cargo add snafu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/main.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone,Debug, PartialEq, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/main.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone,Debug, PartialEq, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[snafu(display("SOCKS5 Server Failure"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[snafu(display("SOCKS5 Server Failure"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[snafu(display("SOCKS5 Rule failure"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[snafu(display("SOCKS5 Rule failure"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[snafu(display("network unreachable"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[snafu(display("network unreachable"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[snafu(display("host unreachable"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[snafu(display("host unreachable"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[snafu(display("connection refused"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[snafu(display("connection refused"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[snafu(display("TTL expired"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[snafu(display("TTL expired"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[snafu(display("Command not supported"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[snafu(display("Addr Type not supported"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[snafu(display("Command not supported"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | info!("Listening on {}:{}", ip, port); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `snafu` in this scope [INFO] [stdout] --> src/main.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[snafu(display("Addr Type not supported"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `snafu` is an attribute that can be used by the derive macro `Snafu`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Snafu)] [INFO] [stdout] 38 | enum ResponseCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | info!("Serving Connections..."); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | info!("Listening on {}:{}", ip, port); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | ... error!("Error! {}", error); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | info!("Serving Connections..."); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | debug!("New connection from: {}", self.stream.peer_addr()?.ip()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | ... error!("Error! {}", error); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/main.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | trace!("Version: {} Auth nmethods: {}", self.socks_version, self.auth_nmethods); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | debug!("New connection from: {}", self.stream.peer_addr()?.ip()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | warn!("Init: Unsupported version: SOCKS{}", self.socks_version); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/main.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | trace!("Version: {} Auth nmethods: {}", self.socks_version, self.auth_nmethods); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | debug!("Authenticating w/ {}", self.stream.peer_addr()?.ip()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | warn!("Init: Unsupported version: SOCKS{}", self.socks_version); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/main.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | trace!("methods: {:?}", methods); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | debug!("Authenticating w/ {}", self.stream.peer_addr()?.ip()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | debug!("Sending USER/PASS packet"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/main.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | trace!("methods: {:?}", methods); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | debug!("Access Granted. User: {}", user.username); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | debug!("Sending USER/PASS packet"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | debug!("Access Denied. User: {}", user.username); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | debug!("Sending NOAUTH packet"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | debug!("Access Granted. User: {}", user.username); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/main.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | warn!("Client has no suitable Auth methods!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | debug!("Access Denied. User: {}", user.username); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | debug!("Handling requests for {}", self.stream.peer_addr()?.ip()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | debug!("Sending NOAUTH packet"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | info!("New Request: Source: {}, Command: {:?} Addr: {}, Port: {}", [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/main.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | warn!("Client has no suitable Auth methods!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | debug!("Handling CONNECT Command"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | debug!("Handling requests for {}", self.stream.peer_addr()?.ip()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/main.rs:379:21 [INFO] [stdout] | [INFO] [stdout] 379 | trace!("Connecting to: {:?}", sock_addr); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | info!("New Request: Source: {}, Command: {:?} Addr: {}, Port: {}", [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/main.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | trace!("Connected!"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | debug!("Handling CONNECT Command"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/main.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | trace!("{} and {}", x * 2, (x * 2) + 1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/main.rs:379:21 [INFO] [stdout] | [INFO] [stdout] 379 | trace!("Connecting to: {:?}", sock_addr); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/main.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | warn!("from_stream Unsupported version: SOCKS{}", packet[0]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/main.rs:518:17 [INFO] [stdout] | [INFO] [stdout] 518 | warn!("Invalid Command"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/main.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | trace!("Connected!"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:533:17 [INFO] [stdout] | [INFO] [stdout] 533 | error!("No Addr"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/main.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | trace!("{} and {}", x * 2, (x * 2) + 1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/main.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | trace!("Getting Addr"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/main.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | warn!("from_stream Unsupported version: SOCKS{}", packet[0]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/main.rs:518:17 [INFO] [stdout] | [INFO] [stdout] 518 | warn!("Invalid Command"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 443 - ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] 443 + ((addr[x * 2] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:480:24 [INFO] [stdout] | [INFO] [stdout] 480 | ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 480 - ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] 480 + ((addr[x * 2] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:533:17 [INFO] [stdout] | [INFO] [stdout] 533 | error!("No Addr"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `fox_n_5ox` [INFO] [stdout] --> src/main.rs:583:2 [INFO] [stdout] | [INFO] [stdout] 583 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/main.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | trace!("Getting Addr"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 443 - ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] 443 + ((addr[x * 2] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:480:24 [INFO] [stdout] | [INFO] [stdout] 480 | ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 480 - ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] 480 + ((addr[x * 2] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ResponseCode: std::error::Error` is not satisfied [INFO] [stdout] --> src/main.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | Err(Box::new(ResponseCode::Failure)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::error::Error` is not implemented for `ResponseCode` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | enum ResponseCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for the cast from `Box` to `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ResponseCode: std::error::Error` is not satisfied [INFO] [stdout] --> src/main.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | Err(Box::new(ResponseCode::Failure)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::error::Error` is not implemented for `ResponseCode` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | enum ResponseCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for the cast from `Box` to `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `ResponseCode: std::error::Error` is not satisfied [INFO] [stdout] --> src/main.rs:522:10 [INFO] [stdout] | [INFO] [stdout] 512 | / match SockCommand::from(packet[1] as usize) { [INFO] [stdout] 513 | | Some(com) => { [INFO] [stdout] 514 | | command = com; [INFO] [stdout] 515 | | Ok(()) [INFO] [stdout] ... | [INFO] [stdout] 522 | | }?; [INFO] [stdout] | | -^ the trait `std::error::Error` is not implemented for `ResponseCode` [INFO] [stdout] | |_________| [INFO] [stdout] | this has type `Result<_, ResponseCode>` [INFO] [stdout] | [INFO] [stdout] note: `ResponseCode` needs to implement `std::error::Error` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | enum ResponseCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `ResponseCode: std::error::Error` is not satisfied [INFO] [stdout] --> src/main.rs:522:10 [INFO] [stdout] | [INFO] [stdout] 512 | / match SockCommand::from(packet[1] as usize) { [INFO] [stdout] 513 | | Some(com) => { [INFO] [stdout] 514 | | command = com; [INFO] [stdout] 515 | | Ok(()) [INFO] [stdout] ... | [INFO] [stdout] 522 | | }?; [INFO] [stdout] | | -^ the trait `std::error::Error` is not implemented for `ResponseCode` [INFO] [stdout] | |_________| [INFO] [stdout] | this has type `Result<_, ResponseCode>` [INFO] [stdout] | [INFO] [stdout] note: `ResponseCode` needs to implement `std::error::Error` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | enum ResponseCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `ResponseCode: std::error::Error` is not satisfied [INFO] [stdout] --> src/main.rs:537:10 [INFO] [stdout] | [INFO] [stdout] 527 | / match AddrType::from(packet[3] as usize) { [INFO] [stdout] 528 | | Some(addr) => { [INFO] [stdout] 529 | | addr_type = addr ; [INFO] [stdout] 530 | | Ok(()) [INFO] [stdout] ... | [INFO] [stdout] 537 | | }?; [INFO] [stdout] | | -^ the trait `std::error::Error` is not implemented for `ResponseCode` [INFO] [stdout] | |_________| [INFO] [stdout] | this has type `Result<_, ResponseCode>` [INFO] [stdout] | [INFO] [stdout] note: `ResponseCode` needs to implement `std::error::Error` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | enum ResponseCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `ResponseCode: std::error::Error` is not satisfied [INFO] [stdout] --> src/main.rs:537:10 [INFO] [stdout] | [INFO] [stdout] 527 | / match AddrType::from(packet[3] as usize) { [INFO] [stdout] 528 | | Some(addr) => { [INFO] [stdout] 529 | | addr_type = addr ; [INFO] [stdout] 530 | | Ok(()) [INFO] [stdout] ... | [INFO] [stdout] 537 | | }?; [INFO] [stdout] | | -^ the trait `std::error::Error` is not implemented for `ResponseCode` [INFO] [stdout] | |_________| [INFO] [stdout] | this has type `Result<_, ResponseCode>` [INFO] [stdout] | [INFO] [stdout] note: `ResponseCode` needs to implement `std::error::Error` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | enum ResponseCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0463, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fox-n-5ox` (bin "fox-n-5ox") due to 39 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fox-n-5ox` (bin "fox-n-5ox" test) due to 38 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c4360fd776041083313e7521f0e94d5ad74e408132fea782d4f60327a2c0ad60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4360fd776041083313e7521f0e94d5ad74e408132fea782d4f60327a2c0ad60", kill_on_drop: false }` [INFO] [stdout] c4360fd776041083313e7521f0e94d5ad74e408132fea782d4f60327a2c0ad60