[INFO] fetching crate u-siem-syslog 0.0.1... [INFO] checking u-siem-syslog-0.0.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate u-siem-syslog 0.0.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate u-siem-syslog 0.0.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate u-siem-syslog 0.0.1 [INFO] finished tweaking crates.io crate u-siem-syslog 0.0.1 [INFO] tweaked toml for crates.io crate u-siem-syslog 0.0.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e37ff97a935ddf6ca1876c5447f8dda75e140ddcb157a42ebc5376f90e5b3b1 [INFO] running `Command { std: "docker" "start" "-a" "4e37ff97a935ddf6ca1876c5447f8dda75e140ddcb157a42ebc5376f90e5b3b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e37ff97a935ddf6ca1876c5447f8dda75e140ddcb157a42ebc5376f90e5b3b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e37ff97a935ddf6ca1876c5447f8dda75e140ddcb157a42ebc5376f90e5b3b1", kill_on_drop: false }` [INFO] [stdout] 4e37ff97a935ddf6ca1876c5447f8dda75e140ddcb157a42ebc5376f90e5b3b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e923d822141f6f7e0cf7a257a68ca31eaeb1d0349b3e64c68177a08831f2944 [INFO] running `Command { std: "docker" "start" "-a" "6e923d822141f6f7e0cf7a257a68ca31eaeb1d0349b3e64c68177a08831f2944", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking coarsetime v0.1.19 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking u-siem v0.0.46 [INFO] [stderr] Checking u-siem-syslog v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0049]: method `set_storage` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/input.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | fn set_storage(&mut self, conn: impl SiemComponentStateStorage) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | found 1 type parameter, expected 0 [INFO] [stdout] | `impl Trait` introduces an implicit type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/input.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | return SiemComponentCapabilities::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 45 | Cow::Borrowed("SyslogInput"), [INFO] [stdout] | ---------------------------- [INFO] [stdout] 46 | Cow::Borrowed("Syslog input"), [INFO] [stdout] | ----------------------------- [INFO] [stdout] 47 | Vec::new(), [INFO] [stdout] | ---------- supplied 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/u-siem-0.0.46/src/components/common.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/input.rs:85:64 [INFO] [stdout] | [INFO] [stdout] 85 | let origin = match SiemIp::from_ip_str(socket.ip().to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&socket.ip().to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 1 field, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/input.rs:166:37 [INFO] [stdout] | [INFO] [stdout] 166 | ... SiemMessage::Command(cmd) => match cmd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 1 [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/u-siem-0.0.46/src/components/common.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Command(u64,SiemFunctionCall), [INFO] [stdout] | ----------------------------- tuple variant defined here [INFO] [stdout] | [INFO] [stdout] help: use `_` to explicitly ignore each field [INFO] [stdout] | [INFO] [stdout] 166 | SiemMessage::Command(cmd, _) => match cmd { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0049]: method `set_storage` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/input.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | fn set_storage(&mut self, conn: impl SiemComponentStateStorage) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | found 1 type parameter, expected 0 [INFO] [stdout] | `impl Trait` introduces an implicit type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/input.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | return SiemComponentCapabilities::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 45 | Cow::Borrowed("SyslogInput"), [INFO] [stdout] | ---------------------------- [INFO] [stdout] 46 | Cow::Borrowed("Syslog input"), [INFO] [stdout] | ----------------------------- [INFO] [stdout] 47 | Vec::new(), [INFO] [stdout] | ---------- supplied 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/u-siem-0.0.46/src/components/common.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0049, E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: could not compile `u-siem-syslog` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/input.rs:85:64 [INFO] [stdout] | [INFO] [stdout] 85 | let origin = match SiemIp::from_ip_str(socket.ip().to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&socket.ip().to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 1 field, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/input.rs:166:37 [INFO] [stdout] | [INFO] [stdout] 166 | ... SiemMessage::Command(cmd) => match cmd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 1 [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/u-siem-0.0.46/src/components/common.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Command(u64,SiemFunctionCall), [INFO] [stdout] | ----------------------------- tuple variant defined here [INFO] [stdout] | [INFO] [stdout] help: use `_` to explicitly ignore each field [INFO] [stdout] | [INFO] [stdout] 166 | SiemMessage::Command(cmd, _) => match cmd { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/input.rs:230:45 [INFO] [stdout] | [INFO] [stdout] 230 | let _sended = local_sender.send(SiemMessage::Command(SiemFunctionCall::STOP_COMPONENT(Cow::Borrowed("ComponentToStop")))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------------------------------------------------------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0049, E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6e923d822141f6f7e0cf7a257a68ca31eaeb1d0349b3e64c68177a08831f2944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e923d822141f6f7e0cf7a257a68ca31eaeb1d0349b3e64c68177a08831f2944", kill_on_drop: false }` [INFO] [stdout] 6e923d822141f6f7e0cf7a257a68ca31eaeb1d0349b3e64c68177a08831f2944