[INFO] fetching crate filecount 0.1.0...
[INFO] testing filecount-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate filecount 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate filecount 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate filecount 0.1.0
[INFO] finished tweaking crates.io crate filecount 0.1.0
[INFO] tweaked toml for crates.io crate filecount 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 30 packages to latest compatible versions
[INFO] [stderr]       Adding cfb v0.7.3 (latest: v0.10.0)
[INFO] [stderr]       Adding convert_case v0.4.0 (latest: v0.6.0)
[INFO] [stderr]       Adding infer v0.9.0 (latest: v0.15.0)
[INFO] [stderr]       Adding roxmltree v0.15.1 (latest: v0.20.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding zip v0.6.6 (latest: v2.0.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded roxmltree v0.15.1
[INFO] [stderr]   Downloaded infer v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ad68ef151ab988ac2399f5271748bb921e93a5bcb24441887611514977d116ce
[INFO] running `Command { std: "docker" "start" "-a" "ad68ef151ab988ac2399f5271748bb921e93a5bcb24441887611514977d116ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad68ef151ab988ac2399f5271748bb921e93a5bcb24441887611514977d116ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad68ef151ab988ac2399f5271748bb921e93a5bcb24441887611514977d116ce", kill_on_drop: false }`
[INFO] [stdout] ad68ef151ab988ac2399f5271748bb921e93a5bcb24441887611514977d116ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfb5b83f1baa459f36a89f7bf10dddb8b1812edf8a9fdad65ab5a3211393afc2
[INFO] running `Command { std: "docker" "start" "-a" "dfb5b83f1baa459f36a89f7bf10dddb8b1812edf8a9fdad65ab5a3211393afc2", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling xmlparser v0.13.6
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling cfb v0.7.3
[INFO] [stderr]    Compiling roxmltree v0.15.1
[INFO] [stderr]    Compiling flate2 v1.0.30
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling infer v0.9.0
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling filecount v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.07s
[INFO] running `Command { std: "docker" "inspect" "dfb5b83f1baa459f36a89f7bf10dddb8b1812edf8a9fdad65ab5a3211393afc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfb5b83f1baa459f36a89f7bf10dddb8b1812edf8a9fdad65ab5a3211393afc2", kill_on_drop: false }`
[INFO] [stdout] dfb5b83f1baa459f36a89f7bf10dddb8b1812edf8a9fdad65ab5a3211393afc2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3eb7cd39b6950861b4191b2b93b4333f26b9a0f842408a9d838ca859976517ae
[INFO] running `Command { std: "docker" "start" "-a" "3eb7cd39b6950861b4191b2b93b4333f26b9a0f842408a9d838ca859976517ae", kill_on_drop: false }`
[INFO] [stderr]    Compiling filecount v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "3eb7cd39b6950861b4191b2b93b4333f26b9a0f842408a9d838ca859976517ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3eb7cd39b6950861b4191b2b93b4333f26b9a0f842408a9d838ca859976517ae", kill_on_drop: false }`
[INFO] [stdout] 3eb7cd39b6950861b4191b2b93b4333f26b9a0f842408a9d838ca859976517ae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ee088eadc419137d053dc821abd5a06590b470b5e7fe9bb62ce16051961a677c
[INFO] running `Command { std: "docker" "start" "-a" "ee088eadc419137d053dc821abd5a06590b470b5e7fe9bb62ce16051961a677c", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/filecount-bff25b544575429e)
[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; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests filecount
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/memory.rs - memory::HashedMemory::from_tmx (line 69) ... FAILED
[INFO] [stdout] test src/extract.rs - extract::extract (line 72) ... FAILED
[INFO] [stdout] test src/analysis.rs - analysis::analyze (line 59) ... FAILED
[INFO] [stdout] test src/segmentation.rs - segmentation::hashment (line 28) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/memory.rs - memory::HashedMemory::from_tmx (line 69) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]  --> src/memory.rs:70:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut memfile = File::open("files/mem.tmx").unwrap();
[INFO] [stdout]   |                   ^^^^ use of undeclared type `File`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashedMemory`
[INFO] [stdout]  --> src/memory.rs:74:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let memory = HashedMemory::from_tmx(&memciphertext).unwrap();
[INFO] [stdout]   |              ^^^^^^^^^^^^ use of undeclared type `HashedMemory`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use filecount::memory::HashedMemory;
[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/extract.rs - extract::extract (line 72) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]  --> src/extract.rs:73:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut file = File::open(&path).unwrap();
[INFO] [stdout]   |                ^^^^ use of undeclared type `File`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]  --> src/extract.rs:73:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut file = File::open(&path).unwrap();
[INFO] [stdout]   |                            ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `extract` in this scope
[INFO] [stdout]  --> src/extract.rs:77:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | let texts = extract(ciphertext, &path, ExtractionRules::default()).unwrap();
[INFO] [stdout]   |             ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use filecount::extract::extract;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]  --> src/extract.rs:77:34
[INFO] [stdout]   |
[INFO] [stdout] 7 | let texts = extract(ciphertext, &path, ExtractionRules::default()).unwrap();
[INFO] [stdout]   |                                  ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExtractionRules`
[INFO] [stdout]  --> src/extract.rs:77:40
[INFO] [stdout]   |
[INFO] [stdout] 7 | let texts = extract(ciphertext, &path, ExtractionRules::default()).unwrap();
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^ use of undeclared type `ExtractionRules`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use filecount::extract::ExtractionRules;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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] ---- src/analysis.rs - analysis::analyze (line 59) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]  --> src/analysis.rs:61:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut memfile = File::open("files/mem.tmx").unwrap();
[INFO] [stdout]   |                   ^^^^ use of undeclared type `File`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashedMemory`
[INFO] [stdout]  --> src/analysis.rs:65:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mem = HashedMemory::from_tmx(&memciphertext).unwrap();
[INFO] [stdout]   |           ^^^^^^^^^^^^ use of undeclared type `HashedMemory`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use filecount::memory::HashedMemory;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]   --> src/analysis.rs:67:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut file = File::open(&path).unwrap();
[INFO] [stdout]    |                ^^^^ use of undeclared type `File`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]   --> src/analysis.rs:67:28
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut file = File::open(&path).unwrap();
[INFO] [stdout]    |                            ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `extract` in this scope
[INFO] [stdout]   --> src/analysis.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | let texts = extract(ciphertext, &path, ExtractionRules::default()).unwrap();
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use filecount::extract::extract;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]   --> src/analysis.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 15 | let texts = extract(ciphertext, &path, ExtractionRules::default()).unwrap();
[INFO] [stdout]    |                                  ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExtractionRules`
[INFO] [stdout]   --> src/analysis.rs:71:40
[INFO] [stdout]    |
[INFO] [stdout] 15 | let texts = extract(ciphertext, &path, ExtractionRules::default()).unwrap();
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^ use of undeclared type `ExtractionRules`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use filecount::extract::ExtractionRules;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `UnicodeRules` in this scope
[INFO] [stdout]   --> src/analysis.rs:72:64
[INFO] [stdout]    |
[INFO] [stdout] 16 | let hashments = filecount::segmentation::hashment_many(texts, &UnicodeRules);
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use filecount::unicode::UnicodeRules;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `analyze` in this scope
[INFO] [stdout]   --> src/analysis.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 17 | let analysis = analyze(hashments, &mem);
[INFO] [stdout]    |                ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use filecount::analysis::analyze;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 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/analysis.rs - analysis::analyze (line 59)
[INFO] [stdout]     src/extract.rs - extract::extract (line 72)
[INFO] [stdout]     src/memory.rs - memory::HashedMemory::from_tmx (line 69)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ee088eadc419137d053dc821abd5a06590b470b5e7fe9bb62ce16051961a677c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee088eadc419137d053dc821abd5a06590b470b5e7fe9bb62ce16051961a677c", kill_on_drop: false }`
[INFO] [stdout] ee088eadc419137d053dc821abd5a06590b470b5e7fe9bb62ce16051961a677c
