[INFO] fetching crate gelf_logger 0.1.4... [INFO] testing gelf_logger-0.1.4 against 1.55.0 for beta-1.56-1 [INFO] extracting crate gelf_logger 0.1.4 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate gelf_logger 0.1.4 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76c41ce250e29422e59d04c3c03a8c607a8e0c04e3b515a106fddc7585bad2a0 [INFO] running `Command { std: "docker" "start" "-a" "76c41ce250e29422e59d04c3c03a8c607a8e0c04e3b515a106fddc7585bad2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76c41ce250e29422e59d04c3c03a8c607a8e0c04e3b515a106fddc7585bad2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c41ce250e29422e59d04c3c03a8c607a8e0c04e3b515a106fddc7585bad2a0", kill_on_drop: false }` [INFO] [stdout] 76c41ce250e29422e59d04c3c03a8c607a8e0c04e3b515a106fddc7585bad2a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64109ff043a471da931bf50e9bcfbefe60348f5d9f22ab30b3e2696bcc6fb62e [INFO] running `Command { std: "docker" "start" "-a" "64109ff043a471da931bf50e9bcfbefe60348f5d9f22ab30b3e2696bcc6fb62e", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling serde_yaml v0.8.21 [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 6.33s [INFO] running `Command { std: "docker" "inspect" "64109ff043a471da931bf50e9bcfbefe60348f5d9f22ab30b3e2696bcc6fb62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64109ff043a471da931bf50e9bcfbefe60348f5d9f22ab30b3e2696bcc6fb62e", kill_on_drop: false }` [INFO] [stdout] 64109ff043a471da931bf50e9bcfbefe60348f5d9f22ab30b3e2696bcc6fb62e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac95c9f5095969666b474d767597560f1460bc9cf019dc23bec5c24c3b8dc9c4 [INFO] running `Command { std: "docker" "start" "-a" "ac95c9f5095969666b474d767597560f1460bc9cf019dc23bec5c24c3b8dc9c4", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gelf_logger v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.66s [INFO] running `Command { std: "docker" "inspect" "ac95c9f5095969666b474d767597560f1460bc9cf019dc23bec5c24c3b8dc9c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac95c9f5095969666b474d767597560f1460bc9cf019dc23bec5c24c3b8dc9c4", kill_on_drop: false }` [INFO] [stdout] ac95c9f5095969666b474d767597560f1460bc9cf019dc23bec5c24c3b8dc9c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd91c55e359f20c6caa753031bf3284349a9e4ea4633ca104d42b758caa68f95 [INFO] running `Command { std: "docker" "start" "-a" "cd91c55e359f20c6caa753031bf3284349a9e4ea4633ca104d42b758caa68f95", 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.09s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gelf_logger-2feb45a2ef6a2aec) [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/batch.rs - batch::init (line 68) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_alert (line 87) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_debug (line 205) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_notice (line 166) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_warn (line 146) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_critical (line 107) ... FAILED [INFO] [stdout] test src/batch.rs - batch::init_from_file (line 43) ... FAILED [INFO] [stdout] test src/batch.rs - batch::flush (line 134) ... 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_error (line 126) ... 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::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/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_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_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_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 - 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 - 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/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::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_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_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/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: 0x55fd1c98dd90 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55fd1c98dd90 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55fd1c98dd90 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55fd1c98dd90 - ::fmt::he1640d5f0d93f618 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55fd1c9ae4fc - core::fmt::write::h88012e1f01caeebf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55fd1c98ad85 - std::io::Write::write_fmt::h360fa85b30182555 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x55fd1c98f9cb - std::sys_common::backtrace::_print::ha1f00492f406a015 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55fd1c98f9cb - std::sys_common::backtrace::print::hd54561b13feb6af3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55fd1c98f9cb - std::panicking::default_hook::{{closure}}::h84fe124cd0864662 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55fd1c98f4a1 - std::panicking::default_hook::h5a8e74a76ce290a7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55fd1c990094 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55fd1c98fb77 - std::panicking::begin_panic_handler::{{closure}}::h33f9c1b96af300d7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55fd1c98e28c - std::sys_common::backtrace::__rust_end_short_backtrace::h51bae64be5921f0e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55fd1c98fad9 - rust_begin_unwind [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55fd1c8dc031 - core::panicking::panic_fmt::h12a3a3c256485fca [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55fd1c8dc123 - core::result::unwrap_failed::h2d8d0952e3250de9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/result.rs:1599:5 [INFO] [stdout] 16: 0x55fd1c8dca86 - core::result::Result::unwrap::h8513d0593615265a [INFO] [stdout] 17: 0x55fd1c8dcb7a - rust_out::main::_doctest_main_src_config_rs_232_0::h35fbdaaa35302bd1 [INFO] [stdout] 18: 0x55fd1c8dcb36 - rust_out::main::h61823b600df25383 [INFO] [stdout] 19: 0x55fd1c8dc983 - core::ops::function::FnOnce::call_once::h064404ccb42900dd [INFO] [stdout] 20: 0x55fd1c8dc8b9 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3a50028bf297fb1f [INFO] [stdout] 21: 0x55fd1c8dc939 - std::rt::lang_start::{{closure}}::hf6d523a4729f0a25 [INFO] [stdout] 22: 0x55fd1c99059a - core::ops::function::impls:: for &F>::call_once::ha9408abe89f69dc4 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x55fd1c99059a - std::panicking::try::do_call::h5b0cc9e9102acb65 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 24: 0x55fd1c99059a - std::panicking::try::hddc7f8229138b3ba [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 25: 0x55fd1c99059a - std::panic::catch_unwind::hfa401ff8bab2986e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 26: 0x55fd1c99059a - std::rt::lang_start_internal::{{closure}}::h8163422320d11405 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/rt.rs:45:48 [INFO] [stdout] 27: 0x55fd1c99059a - std::panicking::try::do_call::hc742cc7bb4f0fb20 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 28: 0x55fd1c99059a - std::panicking::try::ha37d8d2dd1acf7d3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 29: 0x55fd1c99059a - std::panic::catch_unwind::h8a5381d5ecf437bc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 30: 0x55fd1c99059a - std::rt::lang_start_internal::h7e2cee8c90d4a4d3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/rt.rs:45:20 [INFO] [stdout] 31: 0x55fd1c8dc911 - std::rt::lang_start::h56740483be3c5e53 [INFO] [stdout] 32: 0x55fd1c8dcba3 - main [INFO] [stdout] 33: 0x7fc86a08d0b3 - __libc_start_main [INFO] [stdout] 34: 0x55fd1c8dc7ee - _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: 0x56526419bf60 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x56526419bf60 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56526419bf60 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56526419bf60 - ::fmt::he1640d5f0d93f618 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5652641bc6cc - core::fmt::write::h88012e1f01caeebf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x565264198f55 - std::io::Write::write_fmt::h360fa85b30182555 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x56526419db9b - std::sys_common::backtrace::_print::ha1f00492f406a015 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56526419db9b - std::sys_common::backtrace::print::hd54561b13feb6af3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56526419db9b - std::panicking::default_hook::{{closure}}::h84fe124cd0864662 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x56526419d671 - std::panicking::default_hook::h5a8e74a76ce290a7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x56526419e264 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x56526419dd47 - std::panicking::begin_panic_handler::{{closure}}::h33f9c1b96af300d7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x56526419c45c - std::sys_common::backtrace::__rust_end_short_backtrace::h51bae64be5921f0e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x56526419dca9 - rust_begin_unwind [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x5652640ea031 - core::panicking::panic_fmt::h12a3a3c256485fca [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x5652640ea123 - core::result::unwrap_failed::h2d8d0952e3250de9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/result.rs:1599:5 [INFO] [stdout] 16: 0x5652640eaa8e - core::result::Result::expect::h5a24b8b2c600e87b [INFO] [stdout] 17: 0x5652640eab99 - rust_out::main::_doctest_main_src_config_rs_47_0::h9871712f607a6ada [INFO] [stdout] 18: 0x5652640eab46 - rust_out::main::h61823b600df25383 [INFO] [stdout] 19: 0x5652640ea983 - core::ops::function::FnOnce::call_once::h064404ccb42900dd [INFO] [stdout] 20: 0x5652640ea8b9 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3a50028bf297fb1f [INFO] [stdout] 21: 0x5652640ea939 - std::rt::lang_start::{{closure}}::hf6d523a4729f0a25 [INFO] [stdout] 22: 0x56526419e76a - core::ops::function::impls:: for &F>::call_once::ha9408abe89f69dc4 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x56526419e76a - std::panicking::try::do_call::h5b0cc9e9102acb65 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 24: 0x56526419e76a - std::panicking::try::hddc7f8229138b3ba [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 25: 0x56526419e76a - std::panic::catch_unwind::hfa401ff8bab2986e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 26: 0x56526419e76a - std::rt::lang_start_internal::{{closure}}::h8163422320d11405 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/rt.rs:45:48 [INFO] [stdout] 27: 0x56526419e76a - std::panicking::try::do_call::hc742cc7bb4f0fb20 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 28: 0x56526419e76a - std::panicking::try::ha37d8d2dd1acf7d3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 29: 0x56526419e76a - std::panic::catch_unwind::h8a5381d5ecf437bc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 30: 0x56526419e76a - std::rt::lang_start_internal::h7e2cee8c90d4a4d3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/rt.rs:45:20 [INFO] [stdout] 31: 0x5652640ea911 - std::rt::lang_start::h56740483be3c5e53 [INFO] [stdout] 32: 0x5652640eabd3 - main [INFO] [stdout] 33: 0x7fb561ac10b3 - __libc_start_main [INFO] [stdout] 34: 0x5652640ea7ee - _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 1.84s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "cd91c55e359f20c6caa753031bf3284349a9e4ea4633ca104d42b758caa68f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd91c55e359f20c6caa753031bf3284349a9e4ea4633ca104d42b758caa68f95", kill_on_drop: false }` [INFO] [stdout] cd91c55e359f20c6caa753031bf3284349a9e4ea4633ca104d42b758caa68f95