[INFO] fetching crate wrap 0.1.0... [INFO] checking wrap-0.1.0 against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] extracting crate wrap 0.1.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate wrap 0.1.0 on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate wrap 0.1.0 [INFO] finished tweaking crates.io crate wrap 0.1.0 [INFO] tweaked toml for crates.io crate wrap 0.1.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 31c7a2df8bdf98ebfd7aeae844172a96fbcaa61214b199208857a21f19e31e46 [INFO] running `"docker" "start" "-a" "31c7a2df8bdf98ebfd7aeae844172a96fbcaa61214b199208857a21f19e31e46"` [INFO] [stderr] Checking wrap v0.1.0 (/opt/rustwide/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] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> examples/basic.rs:9:1 [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] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `"docker" "inspect" "31c7a2df8bdf98ebfd7aeae844172a96fbcaa61214b199208857a21f19e31e46"` [INFO] running `"docker" "rm" "-f" "31c7a2df8bdf98ebfd7aeae844172a96fbcaa61214b199208857a21f19e31e46"` [INFO] [stdout] 31c7a2df8bdf98ebfd7aeae844172a96fbcaa61214b199208857a21f19e31e46