[INFO] cloning repository https://github.com/UnicodingUnicorn/stun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/UnicodingUnicorn/stun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnicodingUnicorn%2Fstun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnicodingUnicorn%2Fstun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af1c24b3599d17292f1615a6320fd51b661a1692 [INFO] testing UnicodingUnicorn/stun/af1c24b3599d17292f1615a6320fd51b661a1692 against try#f23b22458132fb20faeb8a915b1c252478696f25 for pr-131095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnicodingUnicorn%2Fstun" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UnicodingUnicorn/stun on toolchain f23b22458132fb20faeb8a915b1c252478696f25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/UnicodingUnicorn/stun [INFO] finished tweaking git repo https://github.com/UnicodingUnicorn/stun [INFO] tweaked toml for git repo https://github.com/UnicodingUnicorn/stun written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/UnicodingUnicorn/stun 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" "+f23b22458132fb20faeb8a915b1c252478696f25" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cb0132b52423c6e4679fdb6ac2ce8aa44369aaaf9c731304c5ca66c009a1943 [INFO] running `Command { std: "docker" "start" "-a" "5cb0132b52423c6e4679fdb6ac2ce8aa44369aaaf9c731304c5ca66c009a1943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cb0132b52423c6e4679fdb6ac2ce8aa44369aaaf9c731304c5ca66c009a1943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cb0132b52423c6e4679fdb6ac2ce8aa44369aaaf9c731304c5ca66c009a1943", kill_on_drop: false }` [INFO] [stdout] 5cb0132b52423c6e4679fdb6ac2ce8aa44369aaaf9c731304c5ca66c009a1943 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81e3a7ab4294afcf46e07743bda2ee8c9687dd2b96832b9a30d325a02a305694 [INFO] running `Command { std: "docker" "start" "-a" "81e3a7ab4294afcf46e07743bda2ee8c9687dd2b96832b9a30d325a02a305694", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.2 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling quote v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling toml v0.5.3 [INFO] [stderr] Compiling stun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut body = match &header.mtype { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_address` is never used [INFO] [stdout] --> src/attributes/mapped_address.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl MappedAddress { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 9 | pub fn with_address(address:SocketAddr) -> MappedAddress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_value` is never used [INFO] [stdout] --> src/attributes/username.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Username { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | fn with_value(username:String) -> Username { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_code` is never used [INFO] [stdout] --> src/attributes/error_code.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ErrorCode { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 17 | fn with_code(code:u16, message:String) -> ErrorCode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_empty` and `add` are never used [INFO] [stdout] --> src/attributes/unknown_attributes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl UnknownAttributes { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new_empty() -> UnknownAttributes { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn add(&mut self, attribute:u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_value` is never used [INFO] [stdout] --> src/attributes/realm.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Realm { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 8 | fn with_value(realm:String) -> Realm { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_value` is never used [INFO] [stdout] --> src/attributes/nonce.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Nonce { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 8 | fn with_value(nonce:String) -> Nonce { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_hash` is never used [INFO] [stdout] --> src/attributes/message_integrity.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl MessageIntegrity { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 8 | pub fn with_hash(hash:[u8; 20]) -> MessageIntegrity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LoadableConfig` [INFO] [stdout] 15 | struct LoadableConfig { [INFO] [stdout] | -------------- `LoadableConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LoadableConfig` [INFO] [stdout] 15 | struct LoadableConfig { [INFO] [stdout] | -------------- `LoadableConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.69s [INFO] running `Command { std: "docker" "inspect" "81e3a7ab4294afcf46e07743bda2ee8c9687dd2b96832b9a30d325a02a305694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81e3a7ab4294afcf46e07743bda2ee8c9687dd2b96832b9a30d325a02a305694", kill_on_drop: false }` [INFO] [stdout] 81e3a7ab4294afcf46e07743bda2ee8c9687dd2b96832b9a30d325a02a305694 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fff3adf2b82757e79d02cb61000f8a0895830addbfa12431a5f03dabb4079e9 [INFO] running `Command { std: "docker" "start" "-a" "7fff3adf2b82757e79d02cb61000f8a0895830addbfa12431a5f03dabb4079e9", kill_on_drop: false }` [INFO] [stderr] Compiling stun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut body = match &header.mtype { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_address` is never used [INFO] [stdout] --> src/attributes/mapped_address.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl MappedAddress { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 9 | pub fn with_address(address:SocketAddr) -> MappedAddress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_value` is never used [INFO] [stdout] --> src/attributes/username.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Username { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | fn with_value(username:String) -> Username { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_code` is never used [INFO] [stdout] --> src/attributes/error_code.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ErrorCode { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 17 | fn with_code(code:u16, message:String) -> ErrorCode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_empty` and `add` are never used [INFO] [stdout] --> src/attributes/unknown_attributes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl UnknownAttributes { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new_empty() -> UnknownAttributes { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn add(&mut self, attribute:u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_value` is never used [INFO] [stdout] --> src/attributes/realm.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Realm { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 8 | fn with_value(realm:String) -> Realm { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_value` is never used [INFO] [stdout] --> src/attributes/nonce.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Nonce { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 8 | fn with_value(nonce:String) -> Nonce { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_hash` is never used [INFO] [stdout] --> src/attributes/message_integrity.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl MessageIntegrity { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 8 | pub fn with_hash(hash:[u8; 20]) -> MessageIntegrity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LoadableConfig` [INFO] [stdout] 15 | struct LoadableConfig { [INFO] [stdout] | -------------- `LoadableConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LoadableConfig` [INFO] [stdout] 15 | struct LoadableConfig { [INFO] [stdout] | -------------- `LoadableConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "7fff3adf2b82757e79d02cb61000f8a0895830addbfa12431a5f03dabb4079e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fff3adf2b82757e79d02cb61000f8a0895830addbfa12431a5f03dabb4079e9", kill_on_drop: false }` [INFO] [stdout] 7fff3adf2b82757e79d02cb61000f8a0895830addbfa12431a5f03dabb4079e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9436318d78fc98abc14c8266b577604b9091031f0f2df3ecf76ce388488db3a3 [INFO] running `Command { std: "docker" "start" "-a" "9436318d78fc98abc14c8266b577604b9091031f0f2df3ecf76ce388488db3a3", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/handlers/mod.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let mut body = match &header.mtype { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `with_address` is never used [INFO] [stderr] --> src/attributes/mapped_address.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl MappedAddress { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] 9 | pub fn with_address(address:SocketAddr) -> MappedAddress { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `with_value` is never used [INFO] [stderr] --> src/attributes/username.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 7 | impl Username { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 8 | fn with_value(username:String) -> Username { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `with_code` is never used [INFO] [stderr] --> src/attributes/error_code.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 16 | impl ErrorCode { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 17 | fn with_code(code:u16, message:String) -> ErrorCode { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new_empty` and `add` are never used [INFO] [stderr] --> src/attributes/unknown_attributes.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 7 | impl UnknownAttributes { [INFO] [stderr] | ---------------------- associated items in this implementation [INFO] [stderr] 8 | pub fn new_empty() -> UnknownAttributes { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | pub fn add(&mut self, attribute:u16) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `with_value` is never used [INFO] [stderr] --> src/attributes/realm.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 7 | impl Realm { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 8 | fn with_value(realm:String) -> Realm { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `with_value` is never used [INFO] [stderr] --> src/attributes/nonce.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 7 | impl Nonce { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 8 | fn with_value(nonce:String) -> Nonce { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `with_hash` is never used [INFO] [stderr] --> src/attributes/message_integrity.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 7 | impl MessageIntegrity { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 8 | pub fn with_hash(hash:[u8; 20]) -> MessageIntegrity { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/config.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Deserialize, Serialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LoadableConfig` [INFO] [stderr] 15 | struct LoadableConfig { [INFO] [stderr] | -------------- `LoadableConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/config.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Deserialize, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LoadableConfig` [INFO] [stderr] 15 | struct LoadableConfig { [INFO] [stderr] | -------------- `LoadableConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `stun` (bin "stun" test) generated 10 warnings (run `cargo fix --bin "stun" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stun-074d59a820d3cd3c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9436318d78fc98abc14c8266b577604b9091031f0f2df3ecf76ce388488db3a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9436318d78fc98abc14c8266b577604b9091031f0f2df3ecf76ce388488db3a3", kill_on_drop: false }` [INFO] [stdout] 9436318d78fc98abc14c8266b577604b9091031f0f2df3ecf76ce388488db3a3