[INFO] updating cached repository tragle/blarf [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/tragle/blarf [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/tragle/blarf" "work/ex/beta-1.37-6/sources/1.36.0/gh/tragle/blarf"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/tragle/blarf'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/tragle/blarf" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/tragle/blarf"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/tragle/blarf'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8fccac32da8e7d3b421f80b6399b627b8f1f8148 [INFO] sha for GitHub repo tragle/blarf: 8fccac32da8e7d3b421f80b6399b627b8f1f8148 [INFO] validating manifest of tragle/blarf on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of tragle/blarf on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing tragle/blarf [INFO] finished frobbing tragle/blarf [INFO] frobbed toml for tragle/blarf written to work/ex/beta-1.37-6/sources/1.36.0/gh/tragle/blarf/Cargo.toml [INFO] started frobbing tragle/blarf [INFO] finished frobbing tragle/blarf [INFO] frobbed toml for tragle/blarf written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/tragle/blarf/Cargo.toml [INFO] crate tragle/blarf already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing tragle/blarf against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/tragle/blarf:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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=warn" "-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" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] 9ae8a8f5603f3b68a3cd4726832116132d7f2b2948a8ac06e3d2f55efd1a7aa4 [INFO] running `"docker" "start" "-a" "9ae8a8f5603f3b68a3cd4726832116132d7f2b2948a8ac06e3d2f55efd1a7aa4"` [INFO] [stderr] Compiling blarf v1.0.8 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.68s [INFO] running `"docker" "inspect" "9ae8a8f5603f3b68a3cd4726832116132d7f2b2948a8ac06e3d2f55efd1a7aa4"` [INFO] running `"docker" "rm" "-f" "9ae8a8f5603f3b68a3cd4726832116132d7f2b2948a8ac06e3d2f55efd1a7aa4"` [INFO] [stdout] 9ae8a8f5603f3b68a3cd4726832116132d7f2b2948a8ac06e3d2f55efd1a7aa4 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/tragle/blarf:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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=warn" "-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" "+beta-2019-07-23" "test" "--frozen" "--no-run"` [INFO] [stdout] decb535ac576a95fb81b231b98cf39a45173f452682420f9016ae7eb5300c157 [INFO] running `"docker" "start" "-a" "decb535ac576a95fb81b231b98cf39a45173f452682420f9016ae7eb5300c157"` [INFO] [stderr] Compiling blarf v1.0.8 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `"docker" "inspect" "decb535ac576a95fb81b231b98cf39a45173f452682420f9016ae7eb5300c157"` [INFO] running `"docker" "rm" "-f" "decb535ac576a95fb81b231b98cf39a45173f452682420f9016ae7eb5300c157"` [INFO] [stdout] decb535ac576a95fb81b231b98cf39a45173f452682420f9016ae7eb5300c157 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/tragle/blarf:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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=warn" "-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" "+beta-2019-07-23" "test" "--frozen"` [INFO] [stdout] bb4877d42096839becc0e930775d5aea486d6c4f0da19c5619e75ec253b534bd [INFO] running `"docker" "start" "-a" "bb4877d42096839becc0e930775d5aea486d6c4f0da19c5619e75ec253b534bd"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/crater/target/debug/deps/blarf-67de7bc9c74e10d4 [INFO] [stderr] Running /opt/crater/target/debug/deps/blarf-87d9f59eb3a881ff [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 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 blarf [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/article.rs - article::Article::new (line 26) ... FAILED [INFO] [stdout] test src/util.rs - util::get_args (line 39) ... FAILED [INFO] [stdout] test src/article.rs - article::Article::render (line 49) ... FAILED [INFO] [stdout] test src/util.rs - util::copy_dir (line 10) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/article.rs - article::Article::new (line 26) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `let` [INFO] [stdout] --> src/article.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 4 | let slug = "1-my-first-post" [INFO] [stdout] | - help: a semicolon may be missing here [INFO] [stdout] 5 | let article = Article::new(markdown, slug); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Article` [INFO] [stdout] --> src/article.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 5 | let article = Article::new(markdown, slug); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Article` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::get_args (line 39) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_args` in this scope [INFO] [stdout] --> src/util.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 3 | let args = get_args(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use blarf::util::get_args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/article.rs - article::Article::render (line 49) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `article` in this scope [INFO] [stdout] --> src/article.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 3 | let html = article.render("styles.css", "

copyright 2019

"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::copy_dir (line 10) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `copy_dir` in this scope [INFO] [stdout] --> src/util.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 7 | copy_dir(from_dir, to_dir)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use blarf::util::copy_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/util.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 7 | copy_dir(from_dir, to_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `me` [INFO] [stdout] --> src/lib.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 4 | blarf -e me@example.com -a articles -s public [INFO] [stdout] | ^^ expected one of 8 possible tokens here [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `blarf` [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 4 | blarf -e me@example.com -a articles -s public [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> src/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 4 | blarf -e me@example.com -a articles -s public [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/article.rs - article::Article::new (line 26) [INFO] [stdout] src/article.rs - article::Article::render (line 49) [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] src/util.rs - util::copy_dir (line 10) [INFO] [stdout] src/util.rs - util::get_args (line 39) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "bb4877d42096839becc0e930775d5aea486d6c4f0da19c5619e75ec253b534bd"` [INFO] running `"docker" "rm" "-f" "bb4877d42096839becc0e930775d5aea486d6c4f0da19c5619e75ec253b534bd"` [INFO] [stdout] bb4877d42096839becc0e930775d5aea486d6c4f0da19c5619e75ec253b534bd