[INFO] crate wrap 0.1.0 is already in cache [INFO] extracting crate wrap 0.1.0 into work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/reg/wrap/0.1.0 [INFO] extracting crate wrap 0.1.0 into work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/reg/wrap/0.1.0 [INFO] validating manifest of wrap-0.1.0 on toolchain master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of wrap-0.1.0 on toolchain try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing wrap-0.1.0 [INFO] finished frobbing wrap-0.1.0 [INFO] frobbed toml for wrap-0.1.0 written to work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/reg/wrap/0.1.0/Cargo.toml [INFO] started frobbing wrap-0.1.0 [INFO] finished frobbing wrap-0.1.0 [INFO] frobbed toml for wrap-0.1.0 written to work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/reg/wrap/0.1.0/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking wrap-0.1.0 against try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b for pr-59199 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-59199/worker-5/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/reg/wrap/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ee6cd1cff58437f669266e55d0e1f9f9054e7b8025b1b7c7f9b07c2d983e1f82 [INFO] running `"docker" "start" "-a" "ee6cd1cff58437f669266e55d0e1f9f9054e7b8025b1b7c7f9b07c2d983e1f82"` [INFO] [stderr] Checking wrap v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> examples/basic.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | /// Setup a fake database [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | / lazy_static! { [INFO] [stderr] 10 | | static ref DB: Mutex> = { [INFO] [stderr] 11 | | let mut m = HashMap::new(); [INFO] [stderr] 12 | | m.insert("a".into(), "A".into()); [INFO] [stderr] 13 | | Mutex::new(m) [INFO] [stderr] 14 | | }; [INFO] [stderr] 15 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_doc_comments)] on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> examples/basic.rs:30:1 [INFO] [stderr] | [INFO] [stderr] 30 | /// Define a wrapper that provides a `Conn` instance to wrapped functions [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 31 | / def_wrapper!{with_conn = [INFO] [stderr] 32 | | before = (_fn_args) >> { [INFO] [stderr] 33 | | println!("* in `with_conn` wrapper"); [INFO] [stderr] 34 | | // you can return early from `before`. this will return before [INFO] [stderr] ... | [INFO] [stderr] 40 | | after = (wrapped_result) >> {}; [INFO] [stderr] 41 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> examples/basic.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | /// Modifies the return result of a wrapped function that returns an Option [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 45 | / def_wrapper!{spooky_action = [INFO] [stderr] 46 | | before = (_fn_args) >> {}; [INFO] [stderr] 47 | | after = (wrapped_result) >> { [INFO] [stderr] 48 | | println!("* in `spooky_action` wrapper"); [INFO] [stderr] ... | [INFO] [stderr] 53 | | }; [INFO] [stderr] 54 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> examples/basic.rs:67:1 [INFO] [stderr] | [INFO] [stderr] 67 | / /// Generate a function wrapped with `with_conn` to provide a binding [INFO] [stderr] 68 | | /// `conn` of type `Conn` to the function body [INFO] [stderr] | |______________________________________________^ [INFO] [stderr] 69 | / wrap_with!{with_conn -> conn: Conn; >> [INFO] [stderr] 70 | | fn get_key(key: &str) -> Option = { [INFO] [stderr] 71 | | let v: Option = conn.query(key); [INFO] [stderr] 72 | | v [INFO] [stderr] 73 | | }} [INFO] [stderr] | |__- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> examples/basic.rs:76:1 [INFO] [stderr] | [INFO] [stderr] 76 | / /// Generate a function wrapped with `spooky_action` that modifies [INFO] [stderr] 77 | | /// this function body's return value [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] 78 | / wrap_with!{spooky_action -> _nil: (); >> [INFO] [stderr] 79 | | fn get_key_spooky(key: &str) -> Option = { [INFO] [stderr] 80 | | get_key(key) [INFO] [stderr] 81 | | }} [INFO] [stderr] | |__- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> examples/basic.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | / /// Wrap get-spooky with a logging wrapper. [INFO] [stderr] 85 | | /// Note, that the wrapper provided value ident and type [INFO] [stderr] 86 | | /// can be excluded if you don't want/need access to them [INFO] [stderr] 87 | | /// inside of your function [INFO] [stderr] | |___________________________^ [INFO] [stderr] 88 | / wrap_with!{log >> [INFO] [stderr] 89 | | fn get_key_spooky_logged(key: &str) -> Option = { [INFO] [stderr] 90 | | get_key_spooky(key) [INFO] [stderr] 91 | | }} [INFO] [stderr] | |__- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `"docker" "inspect" "ee6cd1cff58437f669266e55d0e1f9f9054e7b8025b1b7c7f9b07c2d983e1f82"` [INFO] running `"docker" "rm" "-f" "ee6cd1cff58437f669266e55d0e1f9f9054e7b8025b1b7c7f9b07c2d983e1f82"` [INFO] [stdout] ee6cd1cff58437f669266e55d0e1f9f9054e7b8025b1b7c7f9b07c2d983e1f82