[INFO] fetching crate gelf_logger 0.1.4... [INFO] testing gelf_logger-0.1.4 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate gelf_logger 0.1.4 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate gelf_logger 0.1.4 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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_gelf v0.1.6 [INFO] [stderr] Downloaded serde-value-utils v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17306090c6ee121397c1602379d5acdb6af70ad4dc9d3144b875f9eed8221bfb [INFO] running `Command { std: "docker" "start" "-a" "17306090c6ee121397c1602379d5acdb6af70ad4dc9d3144b875f9eed8221bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17306090c6ee121397c1602379d5acdb6af70ad4dc9d3144b875f9eed8221bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17306090c6ee121397c1602379d5acdb6af70ad4dc9d3144b875f9eed8221bfb", kill_on_drop: false }` [INFO] [stdout] 17306090c6ee121397c1602379d5acdb6af70ad4dc9d3144b875f9eed8221bfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d0a086b864c440ebe373704bd2dcc5d73686fc5977aa956b47108b98b682419 [INFO] running `Command { std: "docker" "start" "-a" "7d0a086b864c440ebe373704bd2dcc5d73686fc5977aa956b47108b98b682419", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling native-tls v0.2.8 [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 5.43s [INFO] running `Command { std: "docker" "inspect" "7d0a086b864c440ebe373704bd2dcc5d73686fc5977aa956b47108b98b682419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d0a086b864c440ebe373704bd2dcc5d73686fc5977aa956b47108b98b682419", kill_on_drop: false }` [INFO] [stdout] 7d0a086b864c440ebe373704bd2dcc5d73686fc5977aa956b47108b98b682419 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 714a1077799fc53c3efa2e2ef845a36d66efb1e7cfd7cd193193e0d152b18ed5 [INFO] running `Command { std: "docker" "start" "-a" "714a1077799fc53c3efa2e2ef845a36d66efb1e7cfd7cd193193e0d152b18ed5", 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 2.42s [INFO] running `Command { std: "docker" "inspect" "714a1077799fc53c3efa2e2ef845a36d66efb1e7cfd7cd193193e0d152b18ed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "714a1077799fc53c3efa2e2ef845a36d66efb1e7cfd7cd193193e0d152b18ed5", kill_on_drop: false }` [INFO] [stdout] 714a1077799fc53c3efa2e2ef845a36d66efb1e7cfd7cd193193e0d152b18ed5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 899aee4ad90a0fea2f1ca75f9e4afd21b28dc27d09b3f5b5707fcfa3bdd2c58d [INFO] running `Command { std: "docker" "start" "-a" "899aee4ad90a0fea2f1ca75f9e4afd21b28dc27d09b3f5b5707fcfa3bdd2c58d", 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.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gelf_logger-d18dcc852f63d295) [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_notice (line 166) ... FAILED [INFO] [stdout] test src/batch.rs - batch::init_from_file (line 43) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_info (line 186) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_emergency (line 68) ... FAILED [INFO] [stdout] test src/batch.rs - batch::flush (line 134) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_alert (line 87) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_error (line 126) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_critical (line 107) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_debug (line 205) ... FAILED [INFO] [stdout] test src/macros.rs - macros::gelf_warn (line 146) ... 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/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::ConfigBuilder::try_from_yaml (line 47) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::try_from_yaml (line 232) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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/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/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/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_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_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_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_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_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 (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/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::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: 0x55af6a7de32c - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55af6a7de32c - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55af6a7de32c - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55af6a7de32c - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55af6a7ff51c - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x55af6a7daa45 - std::io::Write::write_fmt::h1d5220480c7a2437 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x55af6a7dfa20 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55af6a7dfa20 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55af6a7dfa20 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x55af6a7df5d7 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:227:9 [INFO] [stdout] 10: 0x55af6a7e00d4 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:624:17 [INFO] [stdout] 11: 0x55af6a7dfbb0 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:521:13 [INFO] [stdout] 12: 0x55af6a7de7f4 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55af6a7dfb19 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x55af6a727fd1 - core::panicking::panic_fmt::hf9de31d4acbce4db [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:101:14 [INFO] [stdout] 15: 0x55af6a7280c3 - core::result::unwrap_failed::ha0c84e81219e5878 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/result.rs:1617:5 [INFO] [stdout] 16: 0x55af6a728a2d - core::result::Result::expect::he27833a684223bcc [INFO] [stdout] 17: 0x55af6a728b39 - rust_out::main::_doctest_main_src_config_rs_47_0::h9871712f607a6ada [INFO] [stdout] 18: 0x55af6a728ae6 - rust_out::main::h61823b600df25383 [INFO] [stdout] 19: 0x55af6a728923 - core::ops::function::FnOnce::call_once::h3d07824a44777914 [INFO] [stdout] 20: 0x55af6a728859 - std::sys_common::backtrace::__rust_begin_short_backtrace::hd0fdc54e9188a18d [INFO] [stdout] 21: 0x55af6a7288d9 - std::rt::lang_start::{{closure}}::hec4f5193e4af3c47 [INFO] [stdout] 22: 0x55af6a7e05da - core::ops::function::impls:: for &F>::call_once::hc590b210ed55e22f [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x55af6a7e05da - std::panicking::try::do_call::h5f0600b7a33ea1af [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 24: 0x55af6a7e05da - std::panicking::try::he15826df0f376a33 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 25: 0x55af6a7e05da - std::panic::catch_unwind::hd8af3a578b6b4c86 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 26: 0x55af6a7e05da - std::rt::lang_start_internal::{{closure}}::h301d1329324ae1f0 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/rt.rs:45:48 [INFO] [stdout] 27: 0x55af6a7e05da - std::panicking::try::do_call::h941e8fdb0bd03655 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 28: 0x55af6a7e05da - std::panicking::try::ha20a77bf65530f63 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 29: 0x55af6a7e05da - std::panic::catch_unwind::h33afc061cc69ef90 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 30: 0x55af6a7e05da - std::rt::lang_start_internal::hc05c244593147106 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/rt.rs:45:20 [INFO] [stdout] 31: 0x55af6a7288b1 - std::rt::lang_start::he85d58294892489a [INFO] [stdout] 32: 0x55af6a728b73 - main [INFO] [stdout] 33: 0x7fa7e4d960b3 - __libc_start_main [INFO] [stdout] 34: 0x55af6a72878e - _start [INFO] [stdout] 35: 0x0 - [INFO] [stdout] [INFO] [stdout] [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: 0x56242bfca15c - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x56242bfca15c - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56242bfca15c - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56242bfca15c - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x56242bfeb34c - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x56242bfc6875 - std::io::Write::write_fmt::h1d5220480c7a2437 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x56242bfcb850 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56242bfcb850 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56242bfcb850 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x56242bfcb407 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:227:9 [INFO] [stdout] 10: 0x56242bfcbf04 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:624:17 [INFO] [stdout] 11: 0x56242bfcb9e0 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:521:13 [INFO] [stdout] 12: 0x56242bfca624 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x56242bfcb949 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x56242bf13fd1 - core::panicking::panic_fmt::hf9de31d4acbce4db [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:101:14 [INFO] [stdout] 15: 0x56242bf140c3 - core::result::unwrap_failed::ha0c84e81219e5878 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/result.rs:1617:5 [INFO] [stdout] 16: 0x56242bf14a25 - core::result::Result::unwrap::h8a8f678ed541adc5 [INFO] [stdout] 17: 0x56242bf14b1a - rust_out::main::_doctest_main_src_config_rs_232_0::h35fbdaaa35302bd1 [INFO] [stdout] 18: 0x56242bf14ad6 - rust_out::main::h61823b600df25383 [INFO] [stdout] 19: 0x56242bf14923 - core::ops::function::FnOnce::call_once::h3d07824a44777914 [INFO] [stdout] 20: 0x56242bf14859 - std::sys_common::backtrace::__rust_begin_short_backtrace::hd0fdc54e9188a18d [INFO] [stdout] 21: 0x56242bf148d9 - std::rt::lang_start::{{closure}}::hec4f5193e4af3c47 [INFO] [stdout] 22: 0x56242bfcc40a - core::ops::function::impls:: for &F>::call_once::hc590b210ed55e22f [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x56242bfcc40a - std::panicking::try::do_call::h5f0600b7a33ea1af [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 24: 0x56242bfcc40a - std::panicking::try::he15826df0f376a33 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 25: 0x56242bfcc40a - std::panic::catch_unwind::hd8af3a578b6b4c86 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 26: 0x56242bfcc40a - std::rt::lang_start_internal::{{closure}}::h301d1329324ae1f0 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/rt.rs:45:48 [INFO] [stdout] 27: 0x56242bfcc40a - std::panicking::try::do_call::h941e8fdb0bd03655 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 28: 0x56242bfcc40a - std::panicking::try::ha20a77bf65530f63 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 29: 0x56242bfcc40a - std::panic::catch_unwind::h33afc061cc69ef90 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 30: 0x56242bfcc40a - std::rt::lang_start_internal::hc05c244593147106 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/rt.rs:45:20 [INFO] [stdout] 31: 0x56242bf148b1 - std::rt::lang_start::he85d58294892489a [INFO] [stdout] 32: 0x56242bf14b43 - main [INFO] [stdout] 33: 0x7f9741c020b3 - __libc_start_main [INFO] [stdout] 34: 0x56242bf1478e - _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 2.58s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "899aee4ad90a0fea2f1ca75f9e4afd21b28dc27d09b3f5b5707fcfa3bdd2c58d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899aee4ad90a0fea2f1ca75f9e4afd21b28dc27d09b3f5b5707fcfa3bdd2c58d", kill_on_drop: false }` [INFO] [stdout] 899aee4ad90a0fea2f1ca75f9e4afd21b28dc27d09b3f5b5707fcfa3bdd2c58d