[INFO] fetching crate gelf_logger 0.1.4... [INFO] testing gelf_logger-0.1.4 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate gelf_logger 0.1.4 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate gelf_logger 0.1.4 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-25/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-value-utils v0.1.0 [INFO] [stderr] Downloaded serde_gelf v0.1.6 [INFO] [stderr] Downloaded serde-value v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64cd900eb7729969befac3ebd97da9b3baac9e497621f1325c92d24e7477d26e [INFO] running `Command { std: "docker" "start" "-a" "64cd900eb7729969befac3ebd97da9b3baac9e497621f1325c92d24e7477d26e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64cd900eb7729969befac3ebd97da9b3baac9e497621f1325c92d24e7477d26e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64cd900eb7729969befac3ebd97da9b3baac9e497621f1325c92d24e7477d26e", kill_on_drop: false }` [INFO] [stdout] 64cd900eb7729969befac3ebd97da9b3baac9e497621f1325c92d24e7477d26e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b92487f7d121d928ce2709e4980586b429a02cddee220799874f296455b12864 [INFO] running `Command { std: "docker" "start" "-a" "b92487f7d121d928ce2709e4980586b429a02cddee220799874f296455b12864", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling serde-value-utils v0.1.0 [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 4.15s [INFO] running `Command { std: "docker" "inspect" "b92487f7d121d928ce2709e4980586b429a02cddee220799874f296455b12864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b92487f7d121d928ce2709e4980586b429a02cddee220799874f296455b12864", kill_on_drop: false }` [INFO] [stdout] b92487f7d121d928ce2709e4980586b429a02cddee220799874f296455b12864 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bc9560fcacbb8991a9e5d2b8b1155e18aed9f490c26713332a60343a8b27e58 [INFO] running `Command { std: "docker" "start" "-a" "2bc9560fcacbb8991a9e5d2b8b1155e18aed9f490c26713332a60343a8b27e58", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling gelf_logger v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "2bc9560fcacbb8991a9e5d2b8b1155e18aed9f490c26713332a60343a8b27e58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc9560fcacbb8991a9e5d2b8b1155e18aed9f490c26713332a60343a8b27e58", kill_on_drop: false }` [INFO] [stdout] 2bc9560fcacbb8991a9e5d2b8b1155e18aed9f490c26713332a60343a8b27e58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9353fd1feb1b7efa3d185197b1a30f8e1c7ee778df6ba6db42acb7f675be36d0 [INFO] running `Command { std: "docker" "start" "-a" "9353fd1feb1b7efa3d185197b1a30f8e1c7ee778df6ba6db42acb7f675be36d0", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gelf_logger-3b804b1ea298cc21) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests gelf_logger [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/macros.rs - macros::gelf_critical (line 107) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_emergency (line 68) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_alert (line 87) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_warn (line 146) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_error (line 126) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_debug (line 205) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_notice (line 166) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_info (line 186) ... FAILED [INFO] [stdout] test src/batch.rs - batch::init_from_file (line 43) ... FAILED [INFO] [stdout] test src/batch.rs - batch::init (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/batch.rs - batch::flush (line 134) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_log (line 12) ... FAILED [INFO] [stdout] test src/config.rs - config::ConfigBuilder (line 20) ... ok [INFO] [stdout] test src/config.rs - config::Config::try_from_yaml (line 232) ... FAILED [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 - macros::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 - macros::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 - macros::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 - macros::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/macros.rs - macros::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/macros.rs - macros::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 - macros::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/macros.rs - macros::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/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/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/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/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 - macros::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: 0x558dff32870c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x558dff32870c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x558dff32870c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x558dff32870c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x558dff34bc9c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x558dff3245d8 - std::io::Write::write_fmt::h0f87f6c0c21ec48a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x558dff32a617 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x558dff32a617 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x558dff32a617 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x558dff32a2df - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:314:9 [INFO] [stdout] 10: 0x558dff32ad6a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x558dff32aa57 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x558dff328bd4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x558dff32a769 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x558dff2723b3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x558dff2724a3 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x558dff272e35 - core::result::Result::unwrap::hfe741b9927507aa5 [INFO] [stdout] 17: 0x558dff272d3a - rust_out::main::_doctest_main_src_config_rs_232_0::h54877e05af57acd3 [INFO] [stdout] 18: 0x558dff272cf6 - rust_out::main::h940ba7c731c6ef76 [INFO] [stdout] 19: 0x558dff272c83 - core::ops::function::FnOnce::call_once::h0f76b491d02b5d6f [INFO] [stdout] 20: 0x558dff272ed9 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6e6af801be12e787 [INFO] [stdout] 21: 0x558dff272ea9 - std::rt::lang_start::{{closure}}::hd6727c319f121475 [INFO] [stdout] 22: 0x558dff327df1 - core::ops::function::impls:: for &F>::call_once::h9e134bb161d17658 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x558dff327df1 - std::panicking::try::do_call::h7f361d911648db1a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x558dff327df1 - std::panicking::try::hbe441b12f8ff00e7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x558dff327df1 - std::panic::catch_unwind::h12066b7ab56d7459 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x558dff327df1 - std::rt::lang_start_internal::{{closure}}::h901c86e61467dcde [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/rt.rs:128:48 [INFO] [stdout] 27: 0x558dff327df1 - std::panicking::try::do_call::h1817b5f028d90a8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 28: 0x558dff327df1 - std::panicking::try::hd5afeaf2f0454960 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 29: 0x558dff327df1 - std::panic::catch_unwind::h13348562ae6426ca [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 30: 0x558dff327df1 - std::rt::lang_start_internal::hf194c7db73fedcb2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/rt.rs:128:20 [INFO] [stdout] 31: 0x558dff272e91 - std::rt::lang_start::habdff3dd8e305ff9 [INFO] [stdout] 32: 0x558dff272f33 - main [INFO] [stdout] 33: 0x7ff5dfa580b3 - __libc_start_main [INFO] [stdout] 34: 0x558dff272b9e - _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: 0x559ed2dc88dc - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x559ed2dc88dc - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x559ed2dc88dc - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x559ed2dc88dc - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x559ed2debe6c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x559ed2dc47a8 - std::io::Write::write_fmt::h0f87f6c0c21ec48a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x559ed2dca7e7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x559ed2dca7e7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x559ed2dca7e7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x559ed2dca4af - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:314:9 [INFO] [stdout] 10: 0x559ed2dcaf3a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x559ed2dcac27 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x559ed2dc8da4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x559ed2dca939 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x559ed2d123b3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x559ed2d124a3 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x559ed2d12e5d - core::result::Result::expect::h986cca2fd9ed1a54 [INFO] [stdout] 17: 0x559ed2d12d49 - rust_out::main::_doctest_main_src_config_rs_47_0::hed2539a6b89c095d [INFO] [stdout] 18: 0x559ed2d12cf6 - rust_out::main::h940ba7c731c6ef76 [INFO] [stdout] 19: 0x559ed2d12c83 - core::ops::function::FnOnce::call_once::h0f76b491d02b5d6f [INFO] [stdout] 20: 0x559ed2d12f09 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6e6af801be12e787 [INFO] [stdout] 21: 0x559ed2d12ed9 - std::rt::lang_start::{{closure}}::hd6727c319f121475 [INFO] [stdout] 22: 0x559ed2dc7fc1 - core::ops::function::impls:: for &F>::call_once::h9e134bb161d17658 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x559ed2dc7fc1 - std::panicking::try::do_call::h7f361d911648db1a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x559ed2dc7fc1 - std::panicking::try::hbe441b12f8ff00e7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x559ed2dc7fc1 - std::panic::catch_unwind::h12066b7ab56d7459 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x559ed2dc7fc1 - std::rt::lang_start_internal::{{closure}}::h901c86e61467dcde [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/rt.rs:128:48 [INFO] [stdout] 27: 0x559ed2dc7fc1 - std::panicking::try::do_call::h1817b5f028d90a8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 28: 0x559ed2dc7fc1 - std::panicking::try::hd5afeaf2f0454960 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 29: 0x559ed2dc7fc1 - std::panic::catch_unwind::h13348562ae6426ca [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 30: 0x559ed2dc7fc1 - std::rt::lang_start_internal::hf194c7db73fedcb2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/rt.rs:128:20 [INFO] [stdout] 31: 0x559ed2d12ec1 - std::rt::lang_start::habdff3dd8e305ff9 [INFO] [stdout] 32: 0x559ed2d12f63 - main [INFO] [stdout] 33: 0x7f24a4f6a0b3 - __libc_start_main [INFO] [stdout] 34: 0x559ed2d12b9e - _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 - macros::gelf_alert (line 87) [INFO] [stdout] src/macros.rs - macros::gelf_critical (line 107) [INFO] [stdout] src/macros.rs - macros::gelf_debug (line 205) [INFO] [stdout] src/macros.rs - macros::gelf_emergency (line 68) [INFO] [stdout] src/macros.rs - macros::gelf_error (line 126) [INFO] [stdout] src/macros.rs - macros::gelf_info (line 186) [INFO] [stdout] src/macros.rs - macros::gelf_log (line 12) [INFO] [stdout] src/macros.rs - macros::gelf_notice (line 166) [INFO] [stdout] src/macros.rs - macros::gelf_warn (line 146) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.61s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "9353fd1feb1b7efa3d185197b1a30f8e1c7ee778df6ba6db42acb7f675be36d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9353fd1feb1b7efa3d185197b1a30f8e1c7ee778df6ba6db42acb7f675be36d0", kill_on_drop: false }` [INFO] [stdout] 9353fd1feb1b7efa3d185197b1a30f8e1c7ee778df6ba6db42acb7f675be36d0