[INFO] fetching crate canlog 0.2.0... [INFO] checking canlog-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate canlog 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate canlog 0.2.0 [INFO] finished tweaking crates.io crate canlog 0.2.0 [INFO] tweaked toml for crates.io crate canlog 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate canlog 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate canlog 0.2.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-canister-log v0.2.0 [INFO] [stderr] Downloaded ic0 v1.0.0 [INFO] [stderr] Downloaded candid v0.10.13 [INFO] [stderr] Downloaded canlog_derive v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c7043968b42dffa07a8365b61c5a15604cdc90962908feaaa345455c99ed8e3 [INFO] running `Command { std: "docker" "start" "-a" "2c7043968b42dffa07a8365b61c5a15604cdc90962908feaaa345455c99ed8e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c7043968b42dffa07a8365b61c5a15604cdc90962908feaaa345455c99ed8e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c7043968b42dffa07a8365b61c5a15604cdc90962908feaaa345455c99ed8e3", kill_on_drop: false }` [INFO] [stdout] 2c7043968b42dffa07a8365b61c5a15604cdc90962908feaaa345455c99ed8e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c98ba11d6548f66f4b4335221909a266ace49dc03b26d0a7376c49609de7a2fc [INFO] running `Command { std: "docker" "start" "-a" "c98ba11d6548f66f4b4335221909a266ace49dc03b26d0a7376c49609de7a2fc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling cc v1.2.11 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking data-encoding v2.7.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ic0 v1.0.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking proptest v1.6.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking ic-canister-log v0.2.0 [INFO] [stderr] Checking candid v0.10.13 [INFO] [stderr] Checking canlog v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `canlog_derive` [INFO] [stdout] --> src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub use canlog_derive::LogPriorityLevels; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `canlog_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `canlog_derive`, use `cargo add canlog_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `log_level` in this scope [INFO] [stdout] --> src/tests.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[log_level(capacity = 1000, name = "INFO_TEST")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_buffer` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/tests.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_buffer` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 56 | canlog::export_logs(TestPriority::Info.get_buffer()) [INFO] [stdout] | ^^^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_buffer`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `serialize_logs` exists for struct `Log`, but its trait bounds were not satisfied [INFO] [stdout] --> src/tests.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- doesn't satisfy `TestPriority: LogPriorityLevels` [INFO] [stdout] ... [INFO] [stdout] 81 | let truncated_logs_json_len = log.serialize_logs(max_body_size).len(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Log { [INFO] [stdout] | ------------------------ method `serialize_logs` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestPriority: LogPriorityLevels` was not satisfied [INFO] [stdout] --> src/lib.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 144 | impl<'de, Priority> Log [INFO] [stdout] | ------------- [INFO] [stdout] 145 | where [INFO] [stdout] 146 | Priority: LogPriorityLevels + Clone + Copy + Deserialize<'de> + Serialize + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `LogPriorityLevels` must be implemented [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `sort_logs` exists for struct `Log`, but its trait bounds were not satisfied [INFO] [stdout] --> src/tests.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- doesn't satisfy `TestPriority: LogPriorityLevels` [INFO] [stdout] ... [INFO] [stdout] 93 | log.sort_logs(Sort::Ascending); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Log` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Log { [INFO] [stdout] | ------------------------ method `sort_logs` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestPriority: LogPriorityLevels` was not satisfied [INFO] [stdout] --> src/lib.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 144 | impl<'de, Priority> Log [INFO] [stdout] | ------------- [INFO] [stdout] 145 | where [INFO] [stdout] 146 | Priority: LogPriorityLevels + Clone + Copy + Deserialize<'de> + Serialize + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `LogPriorityLevels` must be implemented [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `sort_logs` exists for struct `Log`, but its trait bounds were not satisfied [INFO] [stdout] --> src/tests.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- doesn't satisfy `TestPriority: LogPriorityLevels` [INFO] [stdout] ... [INFO] [stdout] 96 | log.sort_logs(Sort::Descending); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Log` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Log { [INFO] [stdout] | ------------------------ method `sort_logs` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestPriority: LogPriorityLevels` was not satisfied [INFO] [stdout] --> src/lib.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 144 | impl<'de, Priority> Log [INFO] [stdout] | ------------- [INFO] [stdout] 145 | where [INFO] [stdout] 146 | Priority: LogPriorityLevels + Clone + Copy + Deserialize<'de> + Serialize + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `LogPriorityLevels` must be implemented [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `serialize_logs` exists for struct `Log`, but its trait bounds were not satisfied [INFO] [stdout] --> src/tests.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- doesn't satisfy `TestPriority: LogPriorityLevels` [INFO] [stdout] ... [INFO] [stdout] 132 | let truncated_logs_json = log.serialize_logs(MAX_BODY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Log { [INFO] [stdout] | ------------------------ method `serialize_logs` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestPriority: LogPriorityLevels` was not satisfied [INFO] [stdout] --> src/lib.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 144 | impl<'de, Priority> Log [INFO] [stdout] | ------------- [INFO] [stdout] 145 | where [INFO] [stdout] 146 | Priority: LogPriorityLevels + Clone + Copy + Deserialize<'de> + Serialize + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `LogPriorityLevels` must be implemented [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `serialize_logs` exists for struct `Log`, but its trait bounds were not satisfied [INFO] [stdout] --> src/tests.rs:151:39 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- doesn't satisfy `TestPriority: LogPriorityLevels` [INFO] [stdout] ... [INFO] [stdout] 151 | let truncated_logs_json_len = log.serialize_logs(MAX_BODY_SIZE).len(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Log { [INFO] [stdout] | ------------------------ method `serialize_logs` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestPriority: LogPriorityLevels` was not satisfied [INFO] [stdout] --> src/lib.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 144 | impl<'de, Priority> Log [INFO] [stdout] | ------------- [INFO] [stdout] 145 | where [INFO] [stdout] 146 | Priority: LogPriorityLevels + Clone + Copy + Deserialize<'de> + Serialize + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `LogPriorityLevels` must be implemented [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `serialize_logs` exists for struct `Log`, but its trait bounds were not satisfied [INFO] [stdout] --> src/tests.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- doesn't satisfy `TestPriority: LogPriorityLevels` [INFO] [stdout] ... [INFO] [stdout] 153 | assert_eq!("{\"entries\":[]}", log.serialize_logs(MAX_BODY_SIZE)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Log { [INFO] [stdout] | ------------------------ method `serialize_logs` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestPriority: LogPriorityLevels` was not satisfied [INFO] [stdout] --> src/lib.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 144 | impl<'de, Priority> Log [INFO] [stdout] | ------------- [INFO] [stdout] 145 | where [INFO] [stdout] 146 | Priority: LogPriorityLevels + Clone + Copy + Deserialize<'de> + Serialize + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `LogPriorityLevels` must be implemented [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `serialize_logs` exists for struct `Log`, but its trait bounds were not satisfied [INFO] [stdout] --> src/tests.rs:174:60 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- doesn't satisfy `TestPriority: LogPriorityLevels` [INFO] [stdout] ... [INFO] [stdout] 174 | let serialized_log_with_2_entries = log_with_2_entries.serialize_logs(usize::MAX); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Log { [INFO] [stdout] | ------------------------ method `serialize_logs` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestPriority: LogPriorityLevels` was not satisfied [INFO] [stdout] --> src/lib.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 144 | impl<'de, Priority> Log [INFO] [stdout] | ------------- [INFO] [stdout] 145 | where [INFO] [stdout] 146 | Priority: LogPriorityLevels + Clone + Copy + Deserialize<'de> + Serialize + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `LogPriorityLevels` must be implemented [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `serialize_logs` exists for struct `Log`, but its trait bounds were not satisfied [INFO] [stdout] --> src/tests.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- doesn't satisfy `TestPriority: LogPriorityLevels` [INFO] [stdout] ... [INFO] [stdout] 176 | log_with_3_entries.serialize_logs(serialized_log_with_2_entries.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Log { [INFO] [stdout] | ------------------------ method `serialize_logs` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestPriority: LogPriorityLevels` was not satisfied [INFO] [stdout] --> src/lib.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 144 | impl<'de, Priority> Log [INFO] [stdout] | ------------- [INFO] [stdout] 145 | where [INFO] [stdout] 146 | Priority: LogPriorityLevels + Clone + Copy + Deserialize<'de> + Serialize + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `LogPriorityLevels` must be implemented [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 184 | log!(TestPriority::Info, "ABC"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 185 | log!(TestPriority::Info, "123"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 186 | log!(TestPriority::Info, "!@#"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 193 | log!(TestPriority::Info, "ABC"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 194 | log!(TestPriority::Info, "123"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 195 | log!(TestPriority::Info, "!@#"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 202 | log!(TestPriority::Info, "message"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 203 | log!(TestPriority::Info, "message end"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 204 | log!(TestPriority::Info, "end message"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 211 | log!(TestPriority::Info, "123"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 212 | log!(TestPriority::Info, "INFO_TEST 123"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 213 | log!(TestPriority::Info, ""); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 214 | log!(TestPriority::Info, "123456"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 221 | log!(TestPriority::Info, "remove A"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 222 | log!(TestPriority::Info, "...B..."); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 223 | log!(TestPriority::Info, "C"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_sink` found for enum `TestPriority` in the current scope [INFO] [stdout] --> src/lib.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | ::canlog::raw_log!($enum_variant.get_sink(), $($args)*); [INFO] [stdout] | ^^^^^^^^ method not found in `TestPriority` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum TestPriority { [INFO] [stdout] | ----------------- method `get_sink` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 224 | log!(TestPriority::Info, "message"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LogPriorityLevels` defines an item `get_sink`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait LogPriorityLevels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `canlog` (lib test) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "c98ba11d6548f66f4b4335221909a266ace49dc03b26d0a7376c49609de7a2fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98ba11d6548f66f4b4335221909a266ace49dc03b26d0a7376c49609de7a2fc", kill_on_drop: false }` [INFO] [stdout] c98ba11d6548f66f4b4335221909a266ace49dc03b26d0a7376c49609de7a2fc