[INFO] crate wrap 0.1.0 is already in cache
[INFO] testing wrap-0.1.0 against beta-2019-12-18 for beta-1.41-1
[INFO] extracting crate wrap 0.1.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate wrap 0.1.0 on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "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-1/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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" "+beta-2019-12-18" "build" "--frozen"`
[INFO] [stdout] 7fac1d568d6fb51f38f38bce0e4e4a2c7b94c92033c107b5d1421d4e3a8bf6fb
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "7fac1d568d6fb51f38f38bce0e4e4a2c7b94c92033c107b5d1421d4e3a8bf6fb"`
[INFO] [stderr]    Compiling wrap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.28s
[INFO] running `"docker" "inspect" "7fac1d568d6fb51f38f38bce0e4e4a2c7b94c92033c107b5d1421d4e3a8bf6fb"`
[INFO] running `"docker" "rm" "-f" "7fac1d568d6fb51f38f38bce0e4e4a2c7b94c92033c107b5d1421d4e3a8bf6fb"`
[INFO] [stdout] 7fac1d568d6fb51f38f38bce0e4e4a2c7b94c92033c107b5d1421d4e3a8bf6fb
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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" "+beta-2019-12-18" "test" "--frozen" "--no-run"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 24c5e0f0440c263a15ac1146a7adef9daf0f8828e91f513248a78dd853eabf10
[INFO] running `"docker" "start" "-a" "24c5e0f0440c263a15ac1146a7adef9daf0f8828e91f513248a78dd853eabf10"`
[INFO] [stderr]    Compiling 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<HashMap<String, String>> = {
[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<String>
[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<String> = {
[INFO] [stderr] 71 | |     let v: Option<String> = 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<String> = {
[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<String> = {
[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<HashMap<String, String>> = {
[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 test [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `"docker" "inspect" "24c5e0f0440c263a15ac1146a7adef9daf0f8828e91f513248a78dd853eabf10"`
[INFO] running `"docker" "rm" "-f" "24c5e0f0440c263a15ac1146a7adef9daf0f8828e91f513248a78dd853eabf10"`
[INFO] [stdout] 24c5e0f0440c263a15ac1146a7adef9daf0f8828e91f513248a78dd853eabf10
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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" "+beta-2019-12-18" "test" "--frozen"`
[INFO] [stdout] c68f2f87fc5e8547f0825d87e7619cd1927b0b922ac771b57313a84849adce69
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "c68f2f87fc5e8547f0825d87e7619cd1927b0b922ac771b57313a84849adce69"`
[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<HashMap<String, String>> = {
[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<String>
[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<String> = {
[INFO] [stderr] 71 | |     let v: Option<String> = 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<String> = {
[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<String> = {
[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<HashMap<String, String>> = {
[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 test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/wrap-145057c75ee6513d
[INFO] [stderr]    Doc-tests wrap
[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] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs -  (line 22) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "c68f2f87fc5e8547f0825d87e7619cd1927b0b922ac771b57313a84849adce69"`
[INFO] running `"docker" "rm" "-f" "c68f2f87fc5e8547f0825d87e7619cd1927b0b922ac771b57313a84849adce69"`
[INFO] [stdout] c68f2f87fc5e8547f0825d87e7619cd1927b0b922ac771b57313a84849adce69
