[INFO] crate gelf_logger 0.1.4 is already in cache [INFO] testing gelf_logger-0.1.4 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate gelf_logger 0.1.4 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate gelf_logger 0.1.4 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba6d06ec97163ee55d45e58dcff3225ea3788988db33fb7e552e2b0f225cba59 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ba6d06ec97163ee55d45e58dcff3225ea3788988db33fb7e552e2b0f225cba59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba6d06ec97163ee55d45e58dcff3225ea3788988db33fb7e552e2b0f225cba59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba6d06ec97163ee55d45e58dcff3225ea3788988db33fb7e552e2b0f225cba59", kill_on_drop: false }` [INFO] [stdout] ba6d06ec97163ee55d45e58dcff3225ea3788988db33fb7e552e2b0f225cba59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 024973e678cb6ff1ea49271b42eb448230747d7a09eea94c4b725218a172ccb9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "024973e678cb6ff1ea49271b42eb448230747d7a09eea94c4b725218a172ccb9", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling serde_yaml v0.8.13 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling serde-value-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [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 31.78s [INFO] running `Command { std: "docker" "inspect" "024973e678cb6ff1ea49271b42eb448230747d7a09eea94c4b725218a172ccb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "024973e678cb6ff1ea49271b42eb448230747d7a09eea94c4b725218a172ccb9", kill_on_drop: false }` [INFO] [stdout] 024973e678cb6ff1ea49271b42eb448230747d7a09eea94c4b725218a172ccb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5725ec3e7b1ccac795c5790f912ffb605ab6b2848b6f9b913a559646d45481e0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5725ec3e7b1ccac795c5790f912ffb605ab6b2848b6f9b913a559646d45481e0", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling gelf_logger v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.39s [INFO] running `Command { std: "docker" "inspect" "5725ec3e7b1ccac795c5790f912ffb605ab6b2848b6f9b913a559646d45481e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5725ec3e7b1ccac795c5790f912ffb605ab6b2848b6f9b913a559646d45481e0", kill_on_drop: false }` [INFO] [stdout] 5725ec3e7b1ccac795c5790f912ffb605ab6b2848b6f9b913a559646d45481e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 84288793a9e4259860d2e2bd71aee1862252f08864725a4f38fba1dea7ac1c45 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "84288793a9e4259860d2e2bd71aee1862252f08864725a4f38fba1dea7ac1c45", 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.17s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gelf_logger-2e7b85cdce82ec88 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests gelf_logger [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/macros.rs - gelf_debug (line 205) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_critical (line 107) ... 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/macros.rs - gelf_warn (line 146) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_alert (line 87) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_notice (line 166) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_emergency (line 68) ... FAILED [INFO] [stdout] test src/batch.rs - batch::flush (line 134) ... FAILED [INFO] [stdout] test src/batch.rs - batch::init (line 68) ... FAILED [INFO] [stdout] test src/batch.rs - batch::init_from_file (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/macros.rs - gelf_log (line 12) ... FAILED [INFO] [stdout] test src/config.rs - config::ConfigBuilder::try_from_yaml (line 47) ... 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] [INFO] [stdout] failures: [INFO] [stdout] [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_critical (line 107) stdout ---- [INFO] [stdout] error: cannot find macro `gelf_critical` in this scope [INFO] [stdout] --> src/macros.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 3 | gelf_critical!("No space left on device"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - gelf_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/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_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_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_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/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/batch.rs - batch::init_from_file (line 43) stdout ---- [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/batch.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 9 | info!("hello"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 19) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_gelf` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_gelf::GelfLevel; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `serde_gelf`? [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_gelf` [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 47 | gelf_warn!(extra: &Myapp::default(), "My app info"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ maybe a missing crate `serde_gelf`? [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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 `serde_gelf::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 `serde_gelf::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 a macro (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 a macro (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 a macro (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 a macro (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 `serde_gelf::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 `serde_gelf::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 a macro (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 `std::collections::BTreeMap` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `std::collections::BTreeMap<_, _>` [INFO] [stdout] = note: this error originates in a macro (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 `serde_gelf::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 `serde_gelf::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 a macro (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 `std::collections::BTreeMap` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `std::collections::BTreeMap<_, _>` [INFO] [stdout] = note: this error originates in a macro (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: 0x55f4eeebb145 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55f4eeebb145 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f4eeebb145 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55f4eeebb145 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55f4eeedf68c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x55f4eeeb7ed2 - std::io::Write::write_fmt::h5ffa1b5a7703af47 [INFO] [stdout] at src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x55f4eeebd580 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 7: 0x55f4eeebd580 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 8: 0x55f4eeebd580 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 9: 0x55f4eeebd2cc - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:217 [INFO] [stdout] 10: 0x55f4eeebdbc3 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 11: 0x55f4eeebd7bb - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 12: 0x55f4eeedd341 - core::panicking::panic_fmt::h78830ea6a34e7206 [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 13: 0x55f4eeedd163 - core::option::expect_none_failed::hf79bbb5ca7e09e08 [INFO] [stdout] at src/libcore/option.rs:1269 [INFO] [stdout] 14: 0x55f4eee113c9 - core::result::Result::expect::he875477751a347c7 [INFO] [stdout] 15: 0x55f4eee114ca - rust_out::main::h405f65324f7b53be [INFO] [stdout] 16: 0x55f4eee11293 - std::rt::lang_start::{{closure}}::h4b28e45528b64eb3 [INFO] [stdout] 17: 0x55f4eeebdf93 - std::rt::lang_start_internal::{{closure}}::h155f3093add35bce [INFO] [stdout] at src/libstd/rt.rs:52 [INFO] [stdout] 18: 0x55f4eeebdf93 - std::panicking::try::do_call::h45f1f66ee6b987d6 [INFO] [stdout] at src/libstd/panicking.rs:348 [INFO] [stdout] 19: 0x55f4eeebdf93 - std::panicking::try::h0924dfb942cef7e3 [INFO] [stdout] at src/libstd/panicking.rs:325 [INFO] [stdout] 20: 0x55f4eeebdf93 - std::panic::catch_unwind::h883180846c5b53fa [INFO] [stdout] at src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x55f4eeebdf93 - std::rt::lang_start_internal::he9284d43a52786c5 [INFO] [stdout] at src/libstd/rt.rs:51 [INFO] [stdout] 22: 0x55f4eee11278 - std::rt::lang_start::hb412ec904ea47782 [INFO] [stdout] 23: 0x55f4eee1150b - main [INFO] [stdout] 24: 0x7f6f247b70b3 - __libc_start_main [INFO] [stdout] 25: 0x55f4eee1117e - _start [INFO] [stdout] 26: 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: 0x56313c389f85 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x56313c389f85 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x56313c389f85 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x56313c389f85 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x56313c3ae4cc - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x56313c386d12 - std::io::Write::write_fmt::h5ffa1b5a7703af47 [INFO] [stdout] at src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x56313c38c3c0 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 7: 0x56313c38c3c0 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 8: 0x56313c38c3c0 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 9: 0x56313c38c10c - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:217 [INFO] [stdout] 10: 0x56313c38ca03 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 11: 0x56313c38c5fb - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 12: 0x56313c3ac181 - core::panicking::panic_fmt::h78830ea6a34e7206 [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 13: 0x56313c3abfa3 - core::option::expect_none_failed::hf79bbb5ca7e09e08 [INFO] [stdout] at src/libcore/option.rs:1269 [INFO] [stdout] 14: 0x56313c2e03c1 - core::result::Result::unwrap::he82ad1432834b230 [INFO] [stdout] 15: 0x56313c2e04b0 - rust_out::main::h405f65324f7b53be [INFO] [stdout] 16: 0x56313c2e0293 - std::rt::lang_start::{{closure}}::h4b28e45528b64eb3 [INFO] [stdout] 17: 0x56313c38cdd3 - std::rt::lang_start_internal::{{closure}}::h155f3093add35bce [INFO] [stdout] at src/libstd/rt.rs:52 [INFO] [stdout] 18: 0x56313c38cdd3 - std::panicking::try::do_call::h45f1f66ee6b987d6 [INFO] [stdout] at src/libstd/panicking.rs:348 [INFO] [stdout] 19: 0x56313c38cdd3 - std::panicking::try::h0924dfb942cef7e3 [INFO] [stdout] at src/libstd/panicking.rs:325 [INFO] [stdout] 20: 0x56313c38cdd3 - std::panic::catch_unwind::h883180846c5b53fa [INFO] [stdout] at src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x56313c38cdd3 - std::rt::lang_start_internal::he9284d43a52786c5 [INFO] [stdout] at src/libstd/rt.rs:51 [INFO] [stdout] 22: 0x56313c2e0278 - std::rt::lang_start::hb412ec904ea47782 [INFO] [stdout] 23: 0x56313c2e04eb - main [INFO] [stdout] 24: 0x7fc7deed10b3 - __libc_start_main [INFO] [stdout] 25: 0x56313c2e017e - _start [INFO] [stdout] 26: 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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "84288793a9e4259860d2e2bd71aee1862252f08864725a4f38fba1dea7ac1c45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84288793a9e4259860d2e2bd71aee1862252f08864725a4f38fba1dea7ac1c45", kill_on_drop: false }` [INFO] [stdout] 84288793a9e4259860d2e2bd71aee1862252f08864725a4f38fba1dea7ac1c45