[INFO] cloning repository https://github.com/tragle/blarf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tragle/blarf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftragle%2Fblarf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftragle%2Fblarf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8fccac32da8e7d3b421f80b6399b627b8f1f8148 [INFO] testing tragle/blarf against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftragle%2Fblarf" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tragle/blarf 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 git repo https://github.com/tragle/blarf [INFO] finished tweaking git repo https://github.com/tragle/blarf [INFO] tweaked toml for git repo https://github.com/tragle/blarf written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/tragle/blarf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a06e4098190c3c63121de252db3edd723ec3e734dbcef6acceb90b7ce09468b [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" "1a06e4098190c3c63121de252db3edd723ec3e734dbcef6acceb90b7ce09468b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a06e4098190c3c63121de252db3edd723ec3e734dbcef6acceb90b7ce09468b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a06e4098190c3c63121de252db3edd723ec3e734dbcef6acceb90b7ce09468b", kill_on_drop: false }` [INFO] [stdout] 1a06e4098190c3c63121de252db3edd723ec3e734dbcef6acceb90b7ce09468b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3607c37f29a08dde581fa8770702635b3b041ce54dca67b10f0ce77f108a640a [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" "3607c37f29a08dde581fa8770702635b3b041ce54dca67b10f0ce77f108a640a", kill_on_drop: false }` [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling blarf v1.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/blarf.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 18 | .map_or(Path::new(DEST_ROOT), |d| Path::new(d));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.41s [INFO] running `Command { std: "docker" "inspect" "3607c37f29a08dde581fa8770702635b3b041ce54dca67b10f0ce77f108a640a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3607c37f29a08dde581fa8770702635b3b041ce54dca67b10f0ce77f108a640a", kill_on_drop: false }` [INFO] [stdout] 3607c37f29a08dde581fa8770702635b3b041ce54dca67b10f0ce77f108a640a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 89e847c02cd458f3d2140c4fe379ef3b66e2744415e21d288c103d0dc64888a9 [INFO] running `Command { std: "docker" "start" "-a" "89e847c02cd458f3d2140c4fe379ef3b66e2744415e21d288c103d0dc64888a9", kill_on_drop: false }` [INFO] [stderr] Compiling blarf v1.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/blarf.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 18 | .map_or(Path::new(DEST_ROOT), |d| Path::new(d));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "89e847c02cd458f3d2140c4fe379ef3b66e2744415e21d288c103d0dc64888a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89e847c02cd458f3d2140c4fe379ef3b66e2744415e21d288c103d0dc64888a9", kill_on_drop: false }` [INFO] [stdout] 89e847c02cd458f3d2140c4fe379ef3b66e2744415e21d288c103d0dc64888a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eef86ad03fbb512adbcac63f72973c99f8705f563e65e98c228a218d7d6148b1 [INFO] running `Command { std: "docker" "start" "-a" "eef86ad03fbb512adbcac63f72973c99f8705f563e65e98c228a218d7d6148b1", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/bin/blarf.rs:18:57 [INFO] [stderr] | [INFO] [stderr] 18 | .map_or(Path::new(DEST_ROOT), |d| Path::new(d));; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/blarf-4412e553c81dfd2f [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] Running /opt/rustwide/target/debug/deps/blarf-e3da7effe7942cee [INFO] [stdout] [INFO] [stderr] Doc-tests blarf [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 5 tests [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] test src/article.rs - article::Article::render (line 49) ... FAILED [INFO] [stdout] test src/util.rs - util::get_args (line 39) ... FAILED [INFO] [stdout] test src/article.rs - article::Article::new (line 26) ... FAILED [INFO] [stdout] test src/util.rs - util::copy_dir (line 10) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [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::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] | [INFO] [stdout] help: consider importing this function [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::new (line 26) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/article.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 4 | let slug = "1-my-first-post" [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | let article = Article::new(markdown, slug); [INFO] [stdout] | --- unexpected token [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] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use blarf::article::Article; [INFO] [stdout] | [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::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] | [INFO] [stdout] help: consider importing this function [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] 2 | / fn main() { [INFO] [stdout] 3 | | use std::path::Path; [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | let from_dir = Path::new("source"); [INFO] [stdout] 6 | | let to_dir = Path::new("my_site"); [INFO] [stdout] 7 | | copy_dir(from_dir, to_dir)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 8 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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] [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 `Command { std: "docker" "inspect" "eef86ad03fbb512adbcac63f72973c99f8705f563e65e98c228a218d7d6148b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef86ad03fbb512adbcac63f72973c99f8705f563e65e98c228a218d7d6148b1", kill_on_drop: false }` [INFO] [stdout] eef86ad03fbb512adbcac63f72973c99f8705f563e65e98c228a218d7d6148b1