[INFO] fetching crate gelf_logger 0.1.4... [INFO] testing gelf_logger-0.1.4 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate gelf_logger 0.1.4 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate gelf_logger 0.1.4 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gelf_logger 0.1.4 [INFO] finished tweaking crates.io crate gelf_logger 0.1.4 [INFO] tweaked toml for crates.io crate gelf_logger 0.1.4 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-value-utils v0.1.0 [INFO] [stderr] Downloaded serde_gelf v0.1.6 [INFO] [stderr] Downloaded hostname v0.1.5 [INFO] [stderr] Downloaded winutil v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b08b5fd94f25f8e2935fb044bad87233d2f7d248284e55b5429d59f2eb5a002 [INFO] running `Command { std: "docker" "start" "-a" "0b08b5fd94f25f8e2935fb044bad87233d2f7d248284e55b5429d59f2eb5a002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b08b5fd94f25f8e2935fb044bad87233d2f7d248284e55b5429d59f2eb5a002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b08b5fd94f25f8e2935fb044bad87233d2f7d248284e55b5429d59f2eb5a002", kill_on_drop: false }` [INFO] [stdout] 0b08b5fd94f25f8e2935fb044bad87233d2f7d248284e55b5429d59f2eb5a002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9648847b40b38af79b5c5ee60800c9c733caf24da2aff29a2b648bb9570265da [INFO] running `Command { std: "docker" "start" "-a" "9648847b40b38af79b5c5ee60800c9c733caf24da2aff29a2b648bb9570265da", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling serde-value-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde_gelf v0.1.6 [INFO] [stderr] Compiling gelf_logger v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.31s [INFO] running `Command { std: "docker" "inspect" "9648847b40b38af79b5c5ee60800c9c733caf24da2aff29a2b648bb9570265da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9648847b40b38af79b5c5ee60800c9c733caf24da2aff29a2b648bb9570265da", kill_on_drop: false }` [INFO] [stdout] 9648847b40b38af79b5c5ee60800c9c733caf24da2aff29a2b648bb9570265da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f618ef7179d8f42347c5b2664d1a521f4eb0dce8681f974699a38a746b69d233 [INFO] running `Command { std: "docker" "start" "-a" "f618ef7179d8f42347c5b2664d1a521f4eb0dce8681f974699a38a746b69d233", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling gelf_logger v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "f618ef7179d8f42347c5b2664d1a521f4eb0dce8681f974699a38a746b69d233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f618ef7179d8f42347c5b2664d1a521f4eb0dce8681f974699a38a746b69d233", kill_on_drop: false }` [INFO] [stdout] f618ef7179d8f42347c5b2664d1a521f4eb0dce8681f974699a38a746b69d233 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 616d497afea8f8fd02a5f1ef8feb97be924f47c725f398c060a6ab67c6e791a3 [INFO] running `Command { std: "docker" "start" "-a" "616d497afea8f8fd02a5f1ef8feb97be924f47c725f398c060a6ab67c6e791a3", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gelf_logger-8789c84ea7069baf) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests gelf_logger [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/macros.rs - gelf_critical (line 107) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_error (line 126) ... FAILED [INFO] [stdout] test src/batch.rs - batch::flush (line 134) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_alert (line 87) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_emergency (line 68) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_info (line 186) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_notice (line 166) ... FAILED [INFO] [stdout] test src/batch.rs - batch::init (line 68) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_debug (line 205) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_warn (line 146) ... FAILED [INFO] [stdout] test src/batch.rs - batch::init_from_file (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_log (line 12) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::try_from_yaml (line 232) ... FAILED [INFO] [stdout] test src/config.rs - config::ConfigBuilder (line 20) ... ok [INFO] [stdout] test src/config.rs - config::ConfigBuilder::try_from_yaml (line 47) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macros.rs - gelf_critical (line 107) stdout ---- [INFO] [stdout] error: cannot find macro `gelf_critical` in this scope [INFO] [stdout] --> src/macros.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 3 | gelf_critical!("No space left on device"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - gelf_error (line 126) stdout ---- [INFO] [stdout] error: cannot find macro `gelf_error` in this scope [INFO] [stdout] --> src/macros.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 3 | gelf_error!("Login failed!"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/batch.rs - batch::flush (line 134) stdout ---- [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/batch.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 13 | info!("hello"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - gelf_alert (line 87) stdout ---- [INFO] [stdout] error: cannot find macro `gelf_alert` in this scope [INFO] [stdout] --> src/macros.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 3 | gelf_alert!("Action must be taken immediately."); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - gelf_emergency (line 68) stdout ---- [INFO] [stdout] error: cannot find macro `gelf_emergency` in this scope [INFO] [stdout] --> src/macros.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 3 | gelf_emergency!("System is unusable !!"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - gelf_info (line 186) stdout ---- [INFO] [stdout] error: cannot find macro `gelf_info` in this scope [INFO] [stdout] --> src/macros.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 3 | gelf_info!("Downloading file..."); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - gelf_notice (line 166) stdout ---- [INFO] [stdout] error: cannot find macro `gelf_notice` in this scope [INFO] [stdout] --> src/macros.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 3 | gelf_notice!("User reached 90% of his quota"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/batch.rs - batch::init (line 68) stdout ---- [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/batch.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 13 | info!("hello"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - gelf_debug (line 205) stdout ---- [INFO] [stdout] error: cannot find macro `gelf_debug` in this scope [INFO] [stdout] --> src/macros.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 3 | gelf_debug!("myvalue = '5'"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - gelf_warn (line 146) stdout ---- [INFO] [stdout] error: cannot find macro `gelf_warn` in this scope [INFO] [stdout] --> src/macros.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 3 | gelf_warn!("Error while fetching metadata with correlation"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/batch.rs - batch::init_from_file (line 43) stdout ---- [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/batch.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 9 | info!("hello"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 19) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_gelf` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_gelf::GelfLevel; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `serde_gelf`? [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_gelf` [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 47 | gelf_warn!(extra: &Myapp::default(), "My app info"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ maybe a missing crate `serde_gelf`? [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gelf_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `GelfRecord` in the current scope [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 47 | gelf_warn!(extra: &Myapp::default(), "My app info"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `GelfRecord` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gelf_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 10 | use serde_gelf::GelfRecordBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - gelf_log (line 12) stdout ---- [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/macros.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 19 | gelf_log!(level: GelfLevel::Debug, extra: &myapp); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 19 | gelf_log!(level: GelfLevel::Debug, "{}", extra: &myapp); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `BTreeMap` is defined multiple times [INFO] [stdout] --> src/macros.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 16 | gelf_log!(level: GelfLevel::Error, "Hello!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `BTreeMap` reimported here [INFO] [stdout] ... [INFO] [stdout] 19 | gelf_log!(level: GelfLevel::Debug, extra: &myapp); [INFO] [stdout] | -------------------------------------------------- previous import of the type `BTreeMap` here [INFO] [stdout] | [INFO] [stdout] = note: `BTreeMap` must be defined only once in the type namespace of this block [INFO] [stdout] = note: this error originates in the macro `gelf_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_gelf` [INFO] [stdout] --> src/macros.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_gelf::GelfLevel; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `serde_gelf`? [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_gelf` [INFO] [stdout] --> src/macros.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 16 | gelf_log!(level: GelfLevel::Error, "Hello!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ maybe a missing crate `serde_gelf`? [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gelf_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_gelf` [INFO] [stdout] --> src/macros.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | gelf_log!(level: GelfLevel::Debug, extra: &myapp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ maybe a missing crate `serde_gelf`? [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gelf_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `GelfRecord` in the current scope [INFO] [stdout] --> src/macros.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 16 | gelf_log!(level: GelfLevel::Error, "Hello!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `GelfRecord` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gelf_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 7 | use serde_gelf::GelfRecordBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 16 | gelf_log!(level: GelfLevel::Error, "Hello!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected reference, found struct `BTreeMap` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `BTreeMap<_, _>` [INFO] [stdout] = note: this error originates in the macro `gelf_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `GelfRecord` in the current scope [INFO] [stdout] --> src/macros.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | gelf_log!(level: GelfLevel::Debug, extra: &myapp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `GelfRecord` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gelf_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 7 | use serde_gelf::GelfRecordBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | gelf_log!(level: GelfLevel::Debug, extra: &myapp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected reference, found struct `BTreeMap` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `BTreeMap<_, _>` [INFO] [stdout] = note: this error originates in the macro `gelf_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0252, E0308, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::try_from_yaml (line 232) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" })', src/config.rs:6:55 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x561fad42d930 - std::backtrace_rs::backtrace::libunwind::trace::h706b838f5bbd876b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x561fad42d930 - std::backtrace_rs::backtrace::trace_unsynchronized::hc15f29ae7822b7b8 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x561fad42d930 - std::sys_common::backtrace::_print_fmt::h7c580c971f91926c [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x561fad42d930 - ::fmt::h2a772198c4032452 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x561fad44e42c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x561fad42a8e5 - std::io::Write::write_fmt::h00f38d9eb2c32e02 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/io/mod.rs:1663:15 [INFO] [stdout] 6: 0x561fad42f55b - std::sys_common::backtrace::_print::h5b3c171e6f864ae4 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x561fad42f55b - std::sys_common::backtrace::print::h93b9e9ed2a98e611 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x561fad42f55b - std::panicking::default_hook::{{closure}}::hd8da92bb68d520c5 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x561fad42f031 - std::panicking::default_hook::hdbc8b2951c5afbab [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x561fad42fc24 - std::panicking::rust_panic_with_hook::h8a4c841655926f4e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x561fad42f707 - std::panicking::begin_panic_handler::{{closure}}::h471b6bc74904b7b0 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x561fad42de2c - std::sys_common::backtrace::__rust_end_short_backtrace::h309f5c707f29932f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x561fad42f669 - rust_begin_unwind [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x561fad37f051 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x561fad37f143 - core::result::unwrap_failed::he898b02f57993c42 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x561fad37faa6 - core::result::Result::unwrap::h6fba29d49971c269 [INFO] [stdout] 17: 0x561fad37fb9a - rust_out::main::_doctest_main_src_config_rs_232_0::h35fbdaaa35302bd1 [INFO] [stdout] 18: 0x561fad37fb56 - rust_out::main::h61823b600df25383 [INFO] [stdout] 19: 0x561fad37f9f3 - core::ops::function::FnOnce::call_once::h6cb22c19cf103035 [INFO] [stdout] 20: 0x561fad37f8d9 - std::sys_common::backtrace::__rust_begin_short_backtrace::h755618c0981a0533 [INFO] [stdout] 21: 0x561fad37f959 - std::rt::lang_start::{{closure}}::h3e3e948d2e1cdd2b [INFO] [stdout] 22: 0x561fad43012a - core::ops::function::impls:: for &F>::call_once::hcbe5785d54a49ce2 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x561fad43012a - std::panicking::try::do_call::h1c15e7ee8563c29d [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 24: 0x561fad43012a - std::panicking::try::hb8b07cef009cb4fc [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 25: 0x561fad43012a - std::panic::catch_unwind::h65a8efbe596bcbb1 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 26: 0x561fad43012a - std::rt::lang_start_internal::{{closure}}::h66ded7ab0f18e9fb [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/rt.rs:45:48 [INFO] [stdout] 27: 0x561fad43012a - std::panicking::try::do_call::h29cafa65efb3f3f3 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 28: 0x561fad43012a - std::panicking::try::h412fc5378b4dbfc4 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 29: 0x561fad43012a - std::panic::catch_unwind::h555def6aac5bf192 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 30: 0x561fad43012a - std::rt::lang_start_internal::hfff48202d7fee6e3 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/rt.rs:45:20 [INFO] [stdout] 31: 0x561fad37f931 - std::rt::lang_start::ha47a1fac43a2373f [INFO] [stdout] 32: 0x561fad37fbc3 - main [INFO] [stdout] 33: 0x7f52aa3d20b3 - __libc_start_main [INFO] [stdout] 34: 0x561fad37f80e - _start [INFO] [stdout] 35: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/config.rs - config::ConfigBuilder::try_from_yaml (line 47) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'Invalid config file!: IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" })', src/config.rs:7:6 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55d30938bb00 - std::backtrace_rs::backtrace::libunwind::trace::h706b838f5bbd876b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55d30938bb00 - std::backtrace_rs::backtrace::trace_unsynchronized::hc15f29ae7822b7b8 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55d30938bb00 - std::sys_common::backtrace::_print_fmt::h7c580c971f91926c [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55d30938bb00 - ::fmt::h2a772198c4032452 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55d3093ac5fc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55d309388ab5 - std::io::Write::write_fmt::h00f38d9eb2c32e02 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/io/mod.rs:1663:15 [INFO] [stdout] 6: 0x55d30938d72b - std::sys_common::backtrace::_print::h5b3c171e6f864ae4 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55d30938d72b - std::sys_common::backtrace::print::h93b9e9ed2a98e611 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55d30938d72b - std::panicking::default_hook::{{closure}}::hd8da92bb68d520c5 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55d30938d201 - std::panicking::default_hook::hdbc8b2951c5afbab [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55d30938ddf4 - std::panicking::rust_panic_with_hook::h8a4c841655926f4e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55d30938d8d7 - std::panicking::begin_panic_handler::{{closure}}::h471b6bc74904b7b0 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55d30938bffc - std::sys_common::backtrace::__rust_end_short_backtrace::h309f5c707f29932f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55d30938d839 - rust_begin_unwind [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55d3092dd051 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55d3092dd143 - core::result::unwrap_failed::he898b02f57993c42 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x55d3092ddaae - core::result::Result::expect::ha9802282b68cefcf [INFO] [stdout] 17: 0x55d3092ddbb9 - rust_out::main::_doctest_main_src_config_rs_47_0::h9871712f607a6ada [INFO] [stdout] 18: 0x55d3092ddb66 - rust_out::main::h61823b600df25383 [INFO] [stdout] 19: 0x55d3092dd9f3 - core::ops::function::FnOnce::call_once::h6cb22c19cf103035 [INFO] [stdout] 20: 0x55d3092dd8d9 - std::sys_common::backtrace::__rust_begin_short_backtrace::h755618c0981a0533 [INFO] [stdout] 21: 0x55d3092dd959 - std::rt::lang_start::{{closure}}::h3e3e948d2e1cdd2b [INFO] [stdout] 22: 0x55d30938e2fa - core::ops::function::impls:: for &F>::call_once::hcbe5785d54a49ce2 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x55d30938e2fa - std::panicking::try::do_call::h1c15e7ee8563c29d [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 24: 0x55d30938e2fa - std::panicking::try::hb8b07cef009cb4fc [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 25: 0x55d30938e2fa - std::panic::catch_unwind::h65a8efbe596bcbb1 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 26: 0x55d30938e2fa - std::rt::lang_start_internal::{{closure}}::h66ded7ab0f18e9fb [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/rt.rs:45:48 [INFO] [stdout] 27: 0x55d30938e2fa - std::panicking::try::do_call::h29cafa65efb3f3f3 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 28: 0x55d30938e2fa - std::panicking::try::h412fc5378b4dbfc4 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 29: 0x55d30938e2fa - std::panic::catch_unwind::h555def6aac5bf192 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 30: 0x55d30938e2fa - std::rt::lang_start_internal::hfff48202d7fee6e3 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/rt.rs:45:20 [INFO] [stdout] 31: 0x55d3092dd931 - std::rt::lang_start::ha47a1fac43a2373f [INFO] [stdout] 32: 0x55d3092ddbf3 - main [INFO] [stdout] 33: 0x7f5e2550b0b3 - __libc_start_main [INFO] [stdout] 34: 0x55d3092dd80e - _start [INFO] [stdout] 35: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/batch.rs - batch::flush (line 134) [INFO] [stdout] src/batch.rs - batch::init (line 68) [INFO] [stdout] src/batch.rs - batch::init_from_file (line 43) [INFO] [stdout] src/config.rs - config::Config::try_from_yaml (line 232) [INFO] [stdout] src/config.rs - config::ConfigBuilder::try_from_yaml (line 47) [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/macros.rs - gelf_alert (line 87) [INFO] [stdout] src/macros.rs - gelf_critical (line 107) [INFO] [stdout] src/macros.rs - gelf_debug (line 205) [INFO] [stdout] src/macros.rs - gelf_emergency (line 68) [INFO] [stdout] src/macros.rs - gelf_error (line 126) [INFO] [stdout] src/macros.rs - gelf_info (line 186) [INFO] [stdout] src/macros.rs - gelf_log (line 12) [INFO] [stdout] src/macros.rs - gelf_notice (line 166) [INFO] [stdout] src/macros.rs - gelf_warn (line 146) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.68s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "616d497afea8f8fd02a5f1ef8feb97be924f47c725f398c060a6ab67c6e791a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "616d497afea8f8fd02a5f1ef8feb97be924f47c725f398c060a6ab67c6e791a3", kill_on_drop: false }` [INFO] [stdout] 616d497afea8f8fd02a5f1ef8feb97be924f47c725f398c060a6ab67c6e791a3