[INFO] fetching crate filecount 0.1.0...
[INFO] testing filecount-0.1.0 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate filecount 0.1.0 into /workspace/builds/worker-3-tc1/source
[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-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate filecount 0.1.0 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 41 packages to latest compatible versions
[INFO] [stderr]       Adding derive_more v0.99.20 (available: v2.0.1)
[INFO] [stderr]       Adding infer v0.9.0 (available: v0.19.0)
[INFO] [stderr]       Adding roxmltree v0.15.1 (available: v0.21.1)
[INFO] [stderr]       Adding zip v0.6.6 (available: v6.0.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded roxmltree v0.15.1
[INFO] [stderr]   Downloaded xmlparser v0.13.6
[INFO] [stderr]   Downloaded cfb v0.7.3
[INFO] [stderr]   Downloaded infer v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d5193e468fd6738f425c0ed970ac61da39f7864ecb435a63b8bb457907b96e83
[INFO] running `Command { std: "docker" "start" "-a" "d5193e468fd6738f425c0ed970ac61da39f7864ecb435a63b8bb457907b96e83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d5193e468fd6738f425c0ed970ac61da39f7864ecb435a63b8bb457907b96e83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5193e468fd6738f425c0ed970ac61da39f7864ecb435a63b8bb457907b96e83", kill_on_drop: false }`
[INFO] [stdout] d5193e468fd6738f425c0ed970ac61da39f7864ecb435a63b8bb457907b96e83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cfea8b111257ca0c54fb9d04636bf6c3ec4a03b77b4e179228b6d8b78653a7d1
[INFO] running `Command { std: "docker" "start" "-a" "cfea8b111257ca0c54fb9d04636bf6c3ec4a03b77b4e179228b6d8b78653a7d1", kill_on_drop: false }`
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling xmlparser v0.13.6
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling roxmltree v0.15.1
[INFO] [stderr]    Compiling cfb v0.7.3
[INFO] [stderr]    Compiling infer v0.9.0
[INFO] [stderr]    Compiling filecount v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.12s
[INFO] running `Command { std: "docker" "inspect" "cfea8b111257ca0c54fb9d04636bf6c3ec4a03b77b4e179228b6d8b78653a7d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfea8b111257ca0c54fb9d04636bf6c3ec4a03b77b4e179228b6d8b78653a7d1", kill_on_drop: false }`
[INFO] [stdout] cfea8b111257ca0c54fb9d04636bf6c3ec4a03b77b4e179228b6d8b78653a7d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c3dec01d430dd611c0c2f01d4445c820fe5a771fe27c50a5e20b1eb64cce675e
[INFO] running `Command { std: "docker" "start" "-a" "c3dec01d430dd611c0c2f01d4445c820fe5a771fe27c50a5e20b1eb64cce675e", 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.66s
[INFO] running `Command { std: "docker" "inspect" "c3dec01d430dd611c0c2f01d4445c820fe5a771fe27c50a5e20b1eb64cce675e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3dec01d430dd611c0c2f01d4445c820fe5a771fe27c50a5e20b1eb64cce675e", kill_on_drop: false }`
[INFO] [stdout] c3dec01d430dd611c0c2f01d4445c820fe5a771fe27c50a5e20b1eb64cce675e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3fd6ce82d7cca8ff82348e741d004ced22588f1c2d3564528a746549aad99c2d
[INFO] running `Command { std: "docker" "start" "-a" "3fd6ce82d7cca8ff82348e741d004ced22588f1c2d3564528a746549aad99c2d", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/filecount-939dbae01cc25d93)
[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/extract.rs - extract::extract (line 72) ... FAILED
[INFO] [stdout] test src/analysis.rs - analysis::analyze (line 59) ... FAILED
[INFO] [stdout] test src/memory.rs - memory::HashedMemory::from_tmx (line 69) ... FAILED
[INFO] [stdout] test src/segmentation.rs - segmentation::hashment (line 28) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] ---- 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] 
[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.31s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3fd6ce82d7cca8ff82348e741d004ced22588f1c2d3564528a746549aad99c2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3fd6ce82d7cca8ff82348e741d004ced22588f1c2d3564528a746549aad99c2d", kill_on_drop: false }`
[INFO] [stdout] 3fd6ce82d7cca8ff82348e741d004ced22588f1c2d3564528a746549aad99c2d
