[INFO] fetching crate usiem-notioner 0.0.2... [INFO] testing usiem-notioner-0.0.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate usiem-notioner 0.0.2 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate usiem-notioner 0.0.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 221be1197393036e4f54a43f41dc66e29665b52fccbbc3292c0bd747fdda2773 [INFO] running `Command { std: "docker" "start" "-a" "221be1197393036e4f54a43f41dc66e29665b52fccbbc3292c0bd747fdda2773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "221be1197393036e4f54a43f41dc66e29665b52fccbbc3292c0bd747fdda2773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "221be1197393036e4f54a43f41dc66e29665b52fccbbc3292c0bd747fdda2773", kill_on_drop: false }` [INFO] [stdout] 221be1197393036e4f54a43f41dc66e29665b52fccbbc3292c0bd747fdda2773 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19a95054333a097d1214741a81c9e4d0b901469d0bf7a20e16fc82b30b9d8709 [INFO] running `Command { std: "docker" "start" "-a" "19a95054333a097d1214741a81c9e4d0b901469d0bf7a20e16fc82b30b9d8709", kill_on_drop: false }` [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling u-siem v0.7.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling 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[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] 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) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "19a95054333a097d1214741a81c9e4d0b901469d0bf7a20e16fc82b30b9d8709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19a95054333a097d1214741a81c9e4d0b901469d0bf7a20e16fc82b30b9d8709", kill_on_drop: false }` [INFO] [stdout] 19a95054333a097d1214741a81c9e4d0b901469d0bf7a20e16fc82b30b9d8709