[INFO] updating cached repository https://github.com/woowe/gen_redirects [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] 0c4ffbd3eb38e4136b3e3d048802faa6329ed504 [INFO] testing woowe/gen_redirects against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoowe%2Fgen_redirects" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/woowe/gen_redirects on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/woowe/gen_redirects [INFO] finished tweaking git repo https://github.com/woowe/gen_redirects [INFO] tweaked toml for git repo https://github.com/woowe/gen_redirects written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/woowe/gen_redirects already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stdout] 8138df15a9fb5ae0339ed47d8246e55bb54e39fb65258620470aa970b2f385b5 [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" "8138df15a9fb5ae0339ed47d8246e55bb54e39fb65258620470aa970b2f385b5"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling standback v0.2.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling ansi_term v0.7.5 [INFO] [stderr] Compiling strsim v0.4.1 [INFO] [stderr] Compiling vec_map v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling openssl-sys v0.7.17 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling debug_unreachable v0.0.6 [INFO] [stderr] Compiling debug_unreachable v0.1.1 [INFO] [stderr] Compiling clap v1.5.6 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling curl-sys v0.1.35 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tendril v0.1.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling serde v0.6.15 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache_shared v0.1.12 [INFO] [stderr] Compiling string_cache v0.2.29 [INFO] [stderr] Compiling html5ever v0.2.11 [INFO] [stderr] Compiling string_cache v0.1.17 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling time v0.2.10 [INFO] [stderr] Compiling curl v0.2.19 [INFO] [stderr] Compiling gen_redirects v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `html5ever::tokenizer::Attribute` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use html5ever::tokenizer::Attribute; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tendril::fmt::UTF8` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use tendril::fmt::UTF8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:100:36 [INFO] [stderr] | [INFO] [stderr] 100 | assert!(name.ns == ns!(html)); [INFO] [stderr] | ^^^^^^^^^ expected struct `string_cache::namespace::Namespace`, found struct `string_cache::Namespace` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `string_cache` are being used? [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `string_cache::atom::Atom` in the current scope [INFO] [stderr] --> src/main.rs:101:31 [INFO] [stderr] | [INFO] [stderr] 101 | if name.local.as_slice() == "a" { [INFO] [stderr] | ^^^^^^^^ method not found in `string_cache::atom::Atom` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `string_cache::atom::Atom` in the current scope [INFO] [stderr] --> src/main.rs:102:79 [INFO] [stderr] | [INFO] [stderr] 102 | let mut href_attr = attrs.iter().filter(|&x| x.name.local.as_slice() == "href").collect::>(); [INFO] [stderr] | ^^^^^^^^ method not found in `string_cache::atom::Atom` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `gen_redirects`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8138df15a9fb5ae0339ed47d8246e55bb54e39fb65258620470aa970b2f385b5"` [INFO] running `"docker" "rm" "-f" "8138df15a9fb5ae0339ed47d8246e55bb54e39fb65258620470aa970b2f385b5"` [INFO] [stdout] 8138df15a9fb5ae0339ed47d8246e55bb54e39fb65258620470aa970b2f385b5