[INFO] cloning repository https://github.com/sak96/firewall
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sak96/firewall" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsak96%2Ffirewall"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsak96%2Ffirewall'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 5e0065639f161495b22929205c5457db9c218a27
[INFO] testing sak96/firewall against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsak96%2Ffirewall" "/workspace/builds/worker-1-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sak96/firewall
[INFO] finished tweaking git repo https://github.com/sak96/firewall
[INFO] tweaked toml for git repo https://github.com/sak96/firewall written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sak96/firewall on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/sak96/firewall already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 4178839d7350f1dfbb6ff40d7ae82659650806acad12ed790415c15d0727febf
[INFO] running `"docker" "start" "4178839d7350f1dfbb6ff40d7ae82659650806acad12ed790415c15d0727febf"`
[INFO] running `"docker" "inspect" "4178839d7350f1dfbb6ff40d7ae82659650806acad12ed790415c15d0727febf"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4178839d7350f1dfbb6ff40d7ae82659650806acad12ed790415c15d0727febf" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "4178839d7350f1dfbb6ff40d7ae82659650806acad12ed790415c15d0727febf"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4178839d7350f1dfbb6ff40d7ae82659650806acad12ed790415c15d0727febf" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling once_cell v1.12.0
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling cache-padded v1.2.0
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling data-encoding v2.3.2
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling boxfnonce v0.1.1
[INFO] [stderr]    Compiling env_logger v0.8.3
[INFO] [stderr]    Compiling configparser v2.0.0
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling mio v0.8.3
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling tinyfiledialogs v3.3.10
[INFO] [stderr]    Compiling polling v2.2.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling futures-lite v1.12.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling daemonize v0.4.1
[INFO] [stderr]    Compiling etherparse v0.9.0
[INFO] [stderr]    Compiling dns-parser v0.8.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling async-io v1.7.0
[INFO] [stderr]    Compiling nfq v0.2.5 (https://github.com/avandenbussche/nfq-rs?branch=master#717992f2)
[INFO] [stdout] error: the `test` attribute may only be used on a free function
[INFO] [stdout]     --> /opt/rustwide/cargo-home/git/checkouts/nfq-rs-3d694172b4db3f6a/717992f/src/lib.rs:1049:9
[INFO] [stdout]      |
[INFO] [stdout] 1049 |         #[test]
[INFO] [stdout]      |         ^^^^^^^ the `test` attribute causes a function to be run as a test and has no effect on non-functions
[INFO] [stdout]      |
[INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run
[INFO] [stdout]      |
[INFO] [stdout] 1049 -         #[test]
[INFO] [stdout] 1049 +         #[cfg(test)]
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]     --> /opt/rustwide/cargo-home/git/checkouts/nfq-rs-3d694172b4db3f6a/717992f/src/lib.rs:1051:42
[INFO] [stdout]      |
[INFO] [stdout] 1050 |         fn can_bind_and_unbind_async_queue() {
[INFO] [stdout]      |         ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 1051 |             let mut queue = Queue::open()?;
[INFO] [stdout]      |                                          ^ cannot use the `?` operator in a method that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 1050 ~         fn can_bind_and_unbind_async_queue() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 1051 |             let mut queue = Queue::open()?;
[INFO] [stdout]  ...
[INFO] [stdout] 1054 |             queue.unbind(0)?;
[INFO] [stdout] 1055 ~             Ok(())
[INFO] [stdout] 1056 ~         }
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]     --> /opt/rustwide/cargo-home/git/checkouts/nfq-rs-3d694172b4db3f6a/717992f/src/lib.rs:1052:26
[INFO] [stdout]      |
[INFO] [stdout] 1050 |         fn can_bind_and_unbind_async_queue() {
[INFO] [stdout]      |         ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 1051 |             let mut queue = Queue::open()?;
[INFO] [stdout] 1052 |             queue.bind(0)?;
[INFO] [stdout]      |                          ^ cannot use the `?` operator in a method that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 1050 ~         fn can_bind_and_unbind_async_queue() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 1051 |             let mut queue = Queue::open()?;
[INFO] [stdout]  ...
[INFO] [stdout] 1054 |             queue.unbind(0)?;
[INFO] [stdout] 1055 ~             Ok(())
[INFO] [stdout] 1056 ~         }
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]     --> /opt/rustwide/cargo-home/git/checkouts/nfq-rs-3d694172b4db3f6a/717992f/src/lib.rs:1053:51
[INFO] [stdout]      |
[INFO] [stdout] 1050 |         fn can_bind_and_unbind_async_queue() {
[INFO] [stdout]      |         ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 1053 |             let mut queue = AsyncQueue::new(queue)?;
[INFO] [stdout]      |                                                   ^ cannot use the `?` operator in a method that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 1050 ~         fn can_bind_and_unbind_async_queue() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 1051 |             let mut queue = Queue::open()?;
[INFO] [stdout]  ...
[INFO] [stdout] 1054 |             queue.unbind(0)?;
[INFO] [stdout] 1055 ~             Ok(())
[INFO] [stdout] 1056 ~         }
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/git/checkouts/nfq-rs-3d694172b4db3f6a/717992f/src/lib.rs:1054:13
[INFO] [stdout]      |
[INFO] [stdout] 1054 |             queue.unbind(0)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future<Output = Result<(), std::io::Error>>`
[INFO] [stdout]      |
[INFO] [stdout]      = help: the nightly-only, unstable trait `Try` is not implemented for `impl Future<Output = Result<(), std::io::Error>>`
[INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function
[INFO] [stdout]     --> /opt/rustwide/cargo-home/git/checkouts/nfq-rs-3d694172b4db3f6a/717992f/src/lib.rs:1054:28
[INFO] [stdout]      |
[INFO] [stdout] 1050 |         fn can_bind_and_unbind_async_queue() {
[INFO] [stdout]      |         ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 1054 |             queue.unbind(0)?;
[INFO] [stdout]      |                            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]     --> /opt/rustwide/cargo-home/git/checkouts/nfq-rs-3d694172b4db3f6a/717992f/src/lib.rs:1054:28
[INFO] [stdout]      |
[INFO] [stdout] 1050 |         fn can_bind_and_unbind_async_queue() {
[INFO] [stdout]      |         ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 1054 |             queue.unbind(0)?;
[INFO] [stdout]      |                            ^ cannot use the `?` operator in a method that returns `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nfq` (lib) due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `"docker" "inspect" "4178839d7350f1dfbb6ff40d7ae82659650806acad12ed790415c15d0727febf"`
[INFO] running `"docker" "rm" "-f" "4178839d7350f1dfbb6ff40d7ae82659650806acad12ed790415c15d0727febf"`
[INFO] [stdout] 4178839d7350f1dfbb6ff40d7ae82659650806acad12ed790415c15d0727febf
