[INFO] fetching crate wg-toolkit 0.4.1... [INFO] testing wg-toolkit-0.4.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate wg-toolkit 0.4.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate wg-toolkit 0.4.1 [INFO] finished tweaking crates.io crate wg-toolkit 0.4.1 [INFO] tweaked toml for crates.io crate wg-toolkit 0.4.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wg-toolkit 0.4.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wg-toolkit 0.4.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 serde-pickle v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fc63ad6fd80fefbb015555c480cd065b2839eec541602fe093de33c600dc5f5 [INFO] running `Command { std: "docker" "start" "-a" "5fc63ad6fd80fefbb015555c480cd065b2839eec541602fe093de33c600dc5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fc63ad6fd80fefbb015555c480cd065b2839eec541602fe093de33c600dc5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fc63ad6fd80fefbb015555c480cd065b2839eec541602fe093de33c600dc5f5", kill_on_drop: false }` [INFO] [stdout] 5fc63ad6fd80fefbb015555c480cd065b2839eec541602fe093de33c600dc5f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d08807a962ac7a7ba29747f376c4f5af4757ba783cec426ae58926154b64e764 [INFO] running `Command { std: "docker" "start" "-a" "d08807a962ac7a7ba29747f376c4f5af4757ba783cec426ae58926154b64e764", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling iter-read v0.3.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling pkcs1 v0.4.1 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling rsa v0.8.2 [INFO] [stderr] Compiling serde-pickle v1.1.1 [INFO] [stderr] Compiling wg-toolkit v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/net/element.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 134 | Callback(fn(id: u8) -> ElementLength), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.77s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d08807a962ac7a7ba29747f376c4f5af4757ba783cec426ae58926154b64e764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d08807a962ac7a7ba29747f376c4f5af4757ba783cec426ae58926154b64e764", kill_on_drop: false }` [INFO] [stdout] d08807a962ac7a7ba29747f376c4f5af4757ba783cec426ae58926154b64e764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c228fc7b25de8d67fa35d2bf741d8e888b0edea9851df722b1ef18f3d0d2184 [INFO] running `Command { std: "docker" "start" "-a" "2c228fc7b25de8d67fa35d2bf741d8e888b0edea9851df722b1ef18f3d0d2184", kill_on_drop: false }` [INFO] [stderr] Compiling wg-toolkit v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/net/element.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 134 | Callback(fn(id: u8) -> ElementLength), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xmltree` [INFO] [stdout] --> examples/xml.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use xmltree::EmitterConfig; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `xmltree` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xmltree`, use `cargo add xmltree` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wgtk::xml` [INFO] [stdout] --> examples/xml.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use wgtk::xml::unpack_xml; [INFO] [stdout] | ^^^ could not find `xml` in `wgtk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wg-toolkit` (example "xml") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `bwal` [INFO] [stdout] --> examples/space.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let bwal: BWAL = space.decode_section().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bwal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bwcs` [INFO] [stdout] --> examples/space.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let bwcs: BWCS = space.decode_section().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bwcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bwsg` [INFO] [stdout] --> examples/space.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let bwsg: BWSG = space.decode_section().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bwsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/model.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut visual_file = File::open(path.with_extension("visual_processed")).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rsa::pkcs8::FromPublicKey`, `rsa::pkcs8::FromPrivateKey` [INFO] [stdout] --> examples/network.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use rsa::{RsaPrivateKey, RsaPublicKey, pkcs8::{FromPublicKey, FromPrivateKey}, PublicKeyParts}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `FromPrivateKey` in the root [INFO] [stdout] | | [INFO] [stdout] | no `FromPublicKey` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wgtk::net::bundle::BundleAssembler` [INFO] [stdout] --> examples/network.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wgtk::net::bundle::BundleAssembler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BundleAssembler` in `net::bundle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_public_key_pem` found for struct `rsa::RsaPublicKey` in the current scope [INFO] [stdout] --> examples/network.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | let pubkey = RsaPublicKey::from_public_key_pem(pubkey_content.as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `rsa::RsaPublicKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `rsa::RsaPublicKey` consider using one of the following associated functions: [INFO] [stdout] rsa::RsaPublicKey::new [INFO] [stdout] rsa::RsaPublicKey::new_with_max_size [INFO] [stdout] rsa::RsaPublicKey::new_unchecked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rsa-0.8.2/src/key.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn new(n: BigUint, e: BigUint) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn new_with_max_size(n: BigUint, e: BigUint, max_size: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn new_unchecked(n: BigUint, e: BigUint) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `DecodePublicKey` which provides `from_public_key_pem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rsa::pkcs8::DecodePublicKey; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_public_key_der` with a similar name [INFO] [stdout] | [INFO] [stdout] 60 - let pubkey = RsaPublicKey::from_public_key_pem(pubkey_content.as_str()).unwrap(); [INFO] [stdout] 60 + let pubkey = RsaPublicKey::from_public_key_der(pubkey_content.as_str()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_pkcs8_pem` found for struct `rsa::RsaPrivateKey` in the current scope [INFO] [stdout] --> examples/network.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | let privkey = RsaPrivateKey::from_pkcs8_pem(privkey_content.as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `rsa::RsaPrivateKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `rsa::RsaPrivateKey` consider using one of the following associated functions: [INFO] [stdout] rsa::RsaPrivateKey::new [INFO] [stdout] rsa::RsaPrivateKey::new_with_exp [INFO] [stdout] rsa::RsaPrivateKey::from_components [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rsa-0.8.2/src/key.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn new(rng: &mut R, bit_size: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | / pub fn new_with_exp( [INFO] [stdout] 275 | | rng: &mut R, [INFO] [stdout] 276 | | bit_size: usize, [INFO] [stdout] 277 | | exp: &BigUint, [INFO] [stdout] 278 | | ) -> Result { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 283 | / pub fn from_components( [INFO] [stdout] 284 | | n: BigUint, [INFO] [stdout] 285 | | e: BigUint, [INFO] [stdout] 286 | | d: BigUint, [INFO] [stdout] 287 | | primes: Vec, [INFO] [stdout] 288 | | ) -> Result { [INFO] [stdout] | |______________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `DecodePrivateKey` which provides `from_pkcs8_pem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rsa::pkcs8::DecodePrivateKey; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_pkcs1_pem` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 - let privkey = RsaPrivateKey::from_pkcs8_pem(privkey_content.as_str()).unwrap(); [INFO] [stdout] 61 + let privkey = RsaPrivateKey::from_pkcs1_pem(privkey_content.as_str()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/network.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | let mut packet = Packet::new_boxed(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- unexpected argument of type `bool` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/net/packet.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn new_boxed() -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 91 - let mut packet = Packet::new_boxed(true); [INFO] [stdout] 91 + let mut packet = Packet::new_boxed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `Box` [INFO] [stdout] --> examples/network.rs:92:54 [INFO] [stdout] | [INFO] [stdout] 92 | let (len, addr) = sock.recv_from(&mut packet.data).unwrap(); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/network.rs:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | if let Err(e) = packet.read_config(len, true) { [INFO] [stdout] | ----------- ^^^^ expected `&mut PacketConfig`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/net/packet.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn read_config(&mut self, len: usize, config: &mut PacketConfig) -> Result<(), PacketConfigError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wg-toolkit` (example "network") due to 7 previous errors [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/net/element.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 134 | Callback(fn(id: u8) -> ElementLength), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2c228fc7b25de8d67fa35d2bf741d8e888b0edea9851df722b1ef18f3d0d2184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c228fc7b25de8d67fa35d2bf741d8e888b0edea9851df722b1ef18f3d0d2184", kill_on_drop: false }` [INFO] [stdout] 2c228fc7b25de8d67fa35d2bf741d8e888b0edea9851df722b1ef18f3d0d2184