[INFO] updating cached repository https://github.com/ClementNerma/broken-md-links [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] efc8713691ba65403d17118aaade1edd353eed1d [INFO] testing ClementNerma/broken-md-links against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClementNerma%2Fbroken-md-links" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ClementNerma/broken-md-links on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ClementNerma/broken-md-links [INFO] finished tweaking git repo https://github.com/ClementNerma/broken-md-links [INFO] tweaked toml for git repo https://github.com/ClementNerma/broken-md-links written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/ClementNerma/broken-md-links already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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=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-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4c9623c0952aee61bfd89edc5cc2fae79a19df5998abc0da934ed6c9a472974e [INFO] running `"docker" "start" "-a" "4c9623c0952aee61bfd89edc5cc2fae79a19df5998abc0da934ed6c9a472974e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling pulldown-cmark v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling colored v1.9.2 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling proc-macro-error v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.9 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 (https://github.com/clap-rs/clap/#28c46b59) [INFO] [stderr] Compiling clap v3.0.0-beta.1 (https://github.com/clap-rs/clap/#28c46b59) [INFO] [stderr] Compiling broken-md-links v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.05s [INFO] running `"docker" "inspect" "4c9623c0952aee61bfd89edc5cc2fae79a19df5998abc0da934ed6c9a472974e"` [INFO] running `"docker" "rm" "-f" "4c9623c0952aee61bfd89edc5cc2fae79a19df5998abc0da934ed6c9a472974e"` [INFO] [stdout] 4c9623c0952aee61bfd89edc5cc2fae79a19df5998abc0da934ed6c9a472974e [INFO] running `"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=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-2020-06-03" "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] 03be0ec4d0dc2e2fad120fdc107fb974b0dad74364d7ca2c87ef7075758553d2 [INFO] running `"docker" "start" "-a" "03be0ec4d0dc2e2fad120fdc107fb974b0dad74364d7ca2c87ef7075758553d2"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling broken-md-links v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.19s [INFO] running `"docker" "inspect" "03be0ec4d0dc2e2fad120fdc107fb974b0dad74364d7ca2c87ef7075758553d2"` [INFO] running `"docker" "rm" "-f" "03be0ec4d0dc2e2fad120fdc107fb974b0dad74364d7ca2c87ef7075758553d2"` [INFO] [stdout] 03be0ec4d0dc2e2fad120fdc107fb974b0dad74364d7ca2c87ef7075758553d2 [INFO] running `"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=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-2020-06-03" "test" "--frozen"` [INFO] [stdout] 0fdc3a9569b8e96d5c2beb6284ed587cd0e9dd0353c9aed53b0b215e6b879e6c [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" "0fdc3a9569b8e96d5c2beb6284ed587cd0e9dd0353c9aed53b0b215e6b879e6c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/broken_md_links-0e4de89272b4596f [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/broken_md_links-f7b3d6b47b4723ee [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 broken-md-links [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - slugify (line 107) ... FAILED [INFO] [stdout] test src/lib.rs - (line 35) ... FAILED [INFO] [stdout] test src/lib.rs - safe_canonicalize (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - check_broken_links (line 224) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - slugify (line 107) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `#` [INFO] [stdout] --> src/lib.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 3 | slugify("My super header") # "my-super-header" [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 35) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stdout] --> src/lib.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 6 | match check_broken_links(Path::new("file.md"), false, false, false, &mut HashMap::new()) { [INFO] [stdout] | ^^^^ use of undeclared type or module `Path` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/lib.rs:39:76 [INFO] [stdout] | [INFO] [stdout] 6 | match check_broken_links(Path::new("file.md"), false, false, false, &mut HashMap::new()) { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [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/lib.rs - safe_canonicalize (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stdout] --> src/lib.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 3 | let path = Path::new("../a/b/../c"); [INFO] [stdout] | ^^^^ use of undeclared type or module `Path` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `safe_canonicalize` in this scope [INFO] [stdout] --> src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 6 | safe_canonicalize(path); // "../a/c" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use broken_md_links::safe_canonicalize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - check_broken_links (line 224) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stdout] --> src/lib.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq(check_broken_links(Path::new("file.md"), false, false, &mut HashMap::new()), Ok(0), "There are broken/invalid links :("); [INFO] [stdout] | ^^^^ use of undeclared type or module `Path` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/lib.rs:226:71 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq(check_broken_links(Path::new("file.md"), false, false, &mut HashMap::new()), Ok(0), "There are broken/invalid links :("); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stdout] --> src/lib.rs:229:30 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq(check_broken_links(Path::new("dir/"), true, false, &mut HashMap::new()), Ok(0), "There are broken/invalid links :("); [INFO] [stdout] | ^^^^ use of undeclared type or module `Path` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/lib.rs:229:67 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq(check_broken_links(Path::new("dir/"), true, false, &mut HashMap::new()), Ok(0), "There are broken/invalid links :("); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert_eq` [INFO] [stdout] --> src/lib.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq(check_broken_links(Path::new("file.md"), false, false, &mut HashMap::new()), Ok(0), "There are broken/invalid links :("); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(check_broken_links(Path::new("file.md"), false, false, &mut HashMap::new()), Ok(0), "There are broken/invalid links :("); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `check_broken_links` in this scope [INFO] [stdout] --> src/lib.rs:226:11 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq(check_broken_links(Path::new("file.md"), false, false, &mut HashMap::new()), Ok(0), "There are broken/invalid links :("); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use broken_md_links::check_broken_links; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert_eq` [INFO] [stdout] --> src/lib.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq(check_broken_links(Path::new("dir/"), true, false, &mut HashMap::new()), Ok(0), "There are broken/invalid links :("); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(check_broken_links(Path::new("dir/"), true, false, &mut HashMap::new()), Ok(0), "There are broken/invalid links :("); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `check_broken_links` in this scope [INFO] [stdout] --> src/lib.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq(check_broken_links(Path::new("dir/"), true, false, &mut HashMap::new()), Ok(0), "There are broken/invalid links :("); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use broken_md_links::check_broken_links; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433. [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/lib.rs - (line 35) [INFO] [stdout] src/lib.rs - check_broken_links (line 224) [INFO] [stdout] src/lib.rs - safe_canonicalize (line 68) [INFO] [stdout] src/lib.rs - slugify (line 107) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "0fdc3a9569b8e96d5c2beb6284ed587cd0e9dd0353c9aed53b0b215e6b879e6c"` [INFO] running `"docker" "rm" "-f" "0fdc3a9569b8e96d5c2beb6284ed587cd0e9dd0353c9aed53b0b215e6b879e6c"` [INFO] [stdout] 0fdc3a9569b8e96d5c2beb6284ed587cd0e9dd0353c9aed53b0b215e6b879e6c