[INFO] fetching crate usiem-notioner 0.0.2... [INFO] checking usiem-notioner-0.0.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate usiem-notioner 0.0.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate usiem-notioner 0.0.2 [INFO] finished tweaking crates.io crate usiem-notioner 0.0.2 [INFO] tweaked toml for crates.io crate usiem-notioner 0.0.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate usiem-notioner 0.0.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 160 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded u-siem v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bca606897d663cbe30fc5db6896ea85346c873d8b9fb6485c4ef5b282814c0b9 [INFO] running `Command { std: "docker" "start" "-a" "bca606897d663cbe30fc5db6896ea85346c873d8b9fb6485c4ef5b282814c0b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bca606897d663cbe30fc5db6896ea85346c873d8b9fb6485c4ef5b282814c0b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bca606897d663cbe30fc5db6896ea85346c873d8b9fb6485c4ef5b282814c0b9", kill_on_drop: false }` [INFO] [stdout] bca606897d663cbe30fc5db6896ea85346c873d8b9fb6485c4ef5b282814c0b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91c63b661e9eaa470b4b2b1e0585884a1e9f62224eeedd80faa9a5caaa4db0fd [INFO] running `Command { std: "docker" "start" "-a" "91c63b661e9eaa470b4b2b1e0585884a1e9f62224eeedd80faa9a5caaa4db0fd", kill_on_drop: false }` [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking u-siem v0.7.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking usiem-notioner v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0407]: method `set_id` is not a member of trait `SiemComponent` [INFO] [stdout] --> src/alerter.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / fn set_id(&mut self, id: u64) { [INFO] [stdout] 55 | | self.id = id; [INFO] [stdout] 56 | | } [INFO] [stdout] | |_____^ not a member of trait `SiemComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `set_kernel_sender` is not a member of trait `SiemComponent` [INFO] [stdout] --> src/alerter.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / fn set_kernel_sender(&mut self, sender: Sender) { [INFO] [stdout] 66 | | self.kernel = sender; [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ not a member of trait `SiemComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `id` is not a member of trait `SiemComponent` [INFO] [stdout] --> src/alerter.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / fn id(&self) -> u64 { [INFO] [stdout] 150 | | return self.id; [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ not a member of trait `SiemComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `set_id` is not a member of trait `SiemComponent` [INFO] [stdout] --> src/alerter.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / fn set_id(&mut self, id: u64) { [INFO] [stdout] 55 | | self.id = id; [INFO] [stdout] 56 | | } [INFO] [stdout] | |_____^ not a member of trait `SiemComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `set_kernel_sender` is not a member of trait `SiemComponent` [INFO] [stdout] --> src/alerter.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / fn set_kernel_sender(&mut self, sender: Sender) { [INFO] [stdout] 66 | | self.kernel = sender; [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ not a member of trait `SiemComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `id` is not a member of trait `SiemComponent` [INFO] [stdout] --> src/alerter.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / fn id(&self) -> u64 { [INFO] [stdout] 150 | | return self.id; [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ not a member of trait `SiemComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `run` has an incompatible type for trait [INFO] [stdout] --> src/alerter.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | fn run(&mut self) { [INFO] [stdout] | ^ expected `Result<(), SiemError>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NotionAlert) -> Result<(), SiemError>` [INFO] [stdout] found signature `fn(&mut NotionAlert) -> ()` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 69 | fn run(&mut self) -> Result<(), SiemError> { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `impl` item signature doesn't match `trait` item signature [INFO] [stdout] --> src/alerter.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | fn name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ found `fn(&'1 NotionAlert) -> &'1 str` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/u-siem-0.7.0/src/components/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | fn name(&self) -> &'static str { [INFO] [stdout] | ------------------------------ expected `fn(&'1 NotionAlert) -> &'static str` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'1 NotionAlert) -> &'static str` [INFO] [stdout] found signature `fn(&'1 NotionAlert) -> &'1 str` [INFO] [stdout] = help: the lifetime requirements from the `impl` do not correspond to the requirements in the `trait` [INFO] [stdout] = help: verify the lifetime relationships in the `trait` and `impl` between the `self` argument, the other inputs and its output [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `run` has an incompatible type for trait [INFO] [stdout] --> src/alerter.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | fn run(&mut self) { [INFO] [stdout] | ^ expected `Result<(), SiemError>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NotionAlert) -> Result<(), SiemError>` [INFO] [stdout] found signature `fn(&mut NotionAlert) -> ()` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 69 | fn run(&mut self) -> Result<(), SiemError> { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `impl` item signature doesn't match `trait` item signature [INFO] [stdout] --> src/alerter.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | fn name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ found `fn(&'1 NotionAlert) -> &'1 str` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/u-siem-0.7.0/src/components/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | fn name(&self) -> &'static str { [INFO] [stdout] | ------------------------------ expected `fn(&'1 NotionAlert) -> &'static str` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'1 NotionAlert) -> &'static str` [INFO] [stdout] found signature `fn(&'1 NotionAlert) -> &'1 str` [INFO] [stdout] = help: the lifetime requirements from the `impl` do not correspond to the requirements in the `trait` [INFO] [stdout] = help: verify the lifetime relationships in the `trait` and `impl` between the `self` argument, the other inputs and its output [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/alerter.rs:45:56 [INFO] [stdout] | [INFO] [stdout] 45 | generated_alerts : SiemMetric::Counter(Arc::new(AtomicI64::new(0))) [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CounterVec`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `CounterVec` [INFO] [stdout] found struct `Arc` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/u-siem-0.7.0/src/components/metrics/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Counter(CounterVec), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/alerter.rs:97:46 [INFO] [stdout] | [INFO] [stdout] 97 | ...self.kernel.send(SiemMessage::Notification(self.id, Cow::Owned(format!("Cannot generate alert: {:?}", alert)))).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ------- --------------------------------------------------------- unexpected argument #2 of type `Cow<'_, _>` [INFO] [stdout] | | [INFO] [stdout] | expected `Notification`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/u-siem-0.7.0/src/components/common.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Notification(Notification), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 97 - self.kernel.send(SiemMessage::Notification(self.id, Cow::Owned(format!("Cannot generate alert: {:?}", alert)))).unwrap(); [INFO] [stdout] 97 + self.kernel.send(SiemMessage::Notification(/* usiem::prelude::Notification */)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `SiemMetricDefinition` has no field named `tags` [INFO] [stdout] --> src/alerter.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | tags: BTreeMap::new(), [INFO] [stdout] | ^^^^ `SiemMetricDefinition` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_event` found for struct `usiem::events::SiemLog` in the current scope [INFO] [stdout] --> src/client.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | log.set_event(SiemEvent::Auth(AuthEvent { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_event_created` with a similar name [INFO] [stdout] | [INFO] [stdout] 189 | log.set_event_created(SiemEvent::Auth(AuthEvent { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `SiemAlert` has no field named `aggr_limit` [INFO] [stdout] --> src/client.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | aggr_limit: 0, [INFO] [stdout] | ^^^^^^^^^^ `SiemAlert` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `aggregation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `SiemAlert` has no field named `aggr_key` [INFO] [stdout] --> src/client.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | aggr_key: String::from("example::rule"), [INFO] [stdout] | ^^^^^^^^ `SiemAlert` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `aggregation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/alerter.rs:45:56 [INFO] [stdout] | [INFO] [stdout] 45 | generated_alerts : SiemMetric::Counter(Arc::new(AtomicI64::new(0))) [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CounterVec`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `CounterVec` [INFO] [stdout] found struct `Arc` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/u-siem-0.7.0/src/components/metrics/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Counter(CounterVec), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/alerter.rs:97:46 [INFO] [stdout] | [INFO] [stdout] 97 | ...self.kernel.send(SiemMessage::Notification(self.id, Cow::Owned(format!("Cannot generate alert: {:?}", alert)))).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ------- --------------------------------------------------------- unexpected argument #2 of type `Cow<'_, _>` [INFO] [stdout] | | [INFO] [stdout] | expected `Notification`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/u-siem-0.7.0/src/components/common.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Notification(Notification), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 97 - self.kernel.send(SiemMessage::Notification(self.id, Cow::Owned(format!("Cannot generate alert: {:?}", alert)))).unwrap(); [INFO] [stdout] 97 + self.kernel.send(SiemMessage::Notification(/* usiem::prelude::Notification */)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `SiemMetricDefinition` has no field named `tags` [INFO] [stdout] --> src/alerter.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | tags: BTreeMap::new(), [INFO] [stdout] | ^^^^ `SiemMetricDefinition` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_event` found for struct `usiem::events::SiemLog` in the current scope [INFO] [stdout] --> src/alerter.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | log.set_event(SiemEvent::Auth(AuthEvent { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_event_created` with a similar name [INFO] [stdout] | [INFO] [stdout] 209 | log.set_event_created(SiemEvent::Auth(AuthEvent { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `SiemAlert` has no field named `aggr_limit` [INFO] [stdout] --> src/alerter.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | aggr_limit: 0, [INFO] [stdout] | ^^^^^^^^^^ `SiemAlert` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `aggregation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `SiemAlert` has no field named `aggr_key` [INFO] [stdout] --> src/alerter.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | aggr_key: String::from("example::rule"), [INFO] [stdout] | ^^^^^^^^ `SiemAlert` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `aggregation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0061, E0308, E0407, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0061, E0308, E0407, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `usiem-notioner` (lib test) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `usiem-notioner` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "91c63b661e9eaa470b4b2b1e0585884a1e9f62224eeedd80faa9a5caaa4db0fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c63b661e9eaa470b4b2b1e0585884a1e9f62224eeedd80faa9a5caaa4db0fd", kill_on_drop: false }` [INFO] [stdout] 91c63b661e9eaa470b4b2b1e0585884a1e9f62224eeedd80faa9a5caaa4db0fd