[INFO] crate tree_magic_fork 0.2.2 is already in cache [INFO] extracting crate tree_magic_fork 0.2.2 into work/ex/beta-1.38-1/sources/1.37.0/reg/tree_magic_fork/0.2.2 [INFO] extracting crate tree_magic_fork 0.2.2 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/tree_magic_fork/0.2.2 [INFO] validating manifest of tree_magic_fork-0.2.2 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of tree_magic_fork-0.2.2 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing tree_magic_fork-0.2.2 [INFO] finished frobbing tree_magic_fork-0.2.2 [INFO] frobbed toml for tree_magic_fork-0.2.2 written to work/ex/beta-1.38-1/sources/1.37.0/reg/tree_magic_fork/0.2.2/Cargo.toml [INFO] started frobbing tree_magic_fork-0.2.2 [INFO] finished frobbing tree_magic_fork-0.2.2 [INFO] frobbed toml for tree_magic_fork-0.2.2 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/tree_magic_fork/0.2.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing tree_magic_fork-0.2.2 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/tree_magic_fork/0.2.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] c65df2b8a43444d46ceb8e653193e7d041d08b06f50b87107ae00985fcc3870b [INFO] running `"docker" "start" "-a" "c65df2b8a43444d46ceb8e653193e7d041d08b06f50b87107ae00985fcc3870b"` [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling tree_magic_fork v0.2.2 (/opt/crater/workdir) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/fdo_magic/builtin.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | /// Preload alias list [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 15 | / lazy_static! { [INFO] [stderr] 16 | | static ref ALIASES: FnvHashMap = { [INFO] [stderr] 17 | | init::get_aliaslist() [INFO] [stderr] 18 | | }; [INFO] [stderr] 19 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/fdo_magic/builtin.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | /// Load magic file before anything else. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 22 | / lazy_static! { [INFO] [stderr] 23 | | static ref ALLRULES: FnvHashMap> = { [INFO] [stderr] 24 | | super::ruleset::from_u8(include_bytes!("magic")).unwrap_or(FnvHashMap::default()) [INFO] [stderr] 25 | | }; [INFO] [stderr] 26 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/fdo_magic/sys.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | /// Preload alias list [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref ALIASES: FnvHashMap = { [INFO] [stderr] 21 | | init::get_aliaslist() [INFO] [stderr] 22 | | }; [INFO] [stderr] 23 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/fdo_magic/sys.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / /// Load magic file before anything else. [INFO] [stderr] 26 | | /// sys_fdo_magic always disabled on Windows. [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] 27 | / lazy_static! { [INFO] [stderr] 28 | | static ref ALLRULES: FnvHashMap> = { [INFO] [stderr] 29 | | super::ruleset::from_filepath("/usr/share/mime/magic").unwrap_or(FnvHashMap::default()) [INFO] [stderr] 30 | | }; [INFO] [stderr] 31 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/fdo_magic/mod.rs:186:5 [INFO] [stderr] | [INFO] [stderr] 186 | /// Singular magic entry [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 187 | / named!(magic_entry<(MIME, Vec)>, [INFO] [stderr] 188 | | do_parse!( [INFO] [stderr] 189 | | _mime: do_parse!( [INFO] [stderr] 190 | | ret: mime >> [INFO] [stderr] ... | [INFO] [stderr] 195 | | ) [INFO] [stderr] 196 | | ); [INFO] [stderr] | |______- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/fdo_magic/mod.rs:198:5 [INFO] [stderr] | [INFO] [stderr] 198 | / /// Converts a magic file given as a &[u8] array [INFO] [stderr] 199 | | /// to a vector of MagicEntry structs [INFO] [stderr] | |_________________________________________^ [INFO] [stderr] 200 | / named!(from_u8_to_tuple_vec)>>, [INFO] [stderr] 201 | | do_parse!( [INFO] [stderr] 202 | | tag!("MIME-Magic\0\n") >> [INFO] [stderr] 203 | | ret: many0!(magic_entry) >> [INFO] [stderr] 204 | | (ret) [INFO] [stderr] 205 | | ) [INFO] [stderr] 206 | | ); [INFO] [stderr] | |______- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lib.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | /// Mappings between modules and supported mimes (by index in table above) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 119 | / lazy_static! { [INFO] [stderr] 120 | | static ref CHECKER_SUPPORT: FnvHashMap = { [INFO] [stderr] 121 | | let mut out = FnvHashMap::::default(); [INFO] [stderr] 122 | | for i in 0..CHECKERS.len() { [INFO] [stderr] ... | [INFO] [stderr] 128 | | }; [INFO] [stderr] 129 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.44s [INFO] running `"docker" "inspect" "c65df2b8a43444d46ceb8e653193e7d041d08b06f50b87107ae00985fcc3870b"` [INFO] running `"docker" "rm" "-f" "c65df2b8a43444d46ceb8e653193e7d041d08b06f50b87107ae00985fcc3870b"` [INFO] [stdout] c65df2b8a43444d46ceb8e653193e7d041d08b06f50b87107ae00985fcc3870b [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/tree_magic_fork/0.2.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 6b06971345adc3a36d63d7fcaa9c17ebbf176042c51f1dd8e3ace1a03ee0d1ad [INFO] running `"docker" "start" "-a" "6b06971345adc3a36d63d7fcaa9c17ebbf176042c51f1dd8e3ace1a03ee0d1ad"` [INFO] [stderr] Compiling tree_magic_fork v0.2.2 (/opt/crater/workdir) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/fdo_magic/builtin.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | /// Preload alias list [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 15 | / lazy_static! { [INFO] [stderr] 16 | | static ref ALIASES: FnvHashMap = { [INFO] [stderr] 17 | | init::get_aliaslist() [INFO] [stderr] 18 | | }; [INFO] [stderr] 19 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/fdo_magic/builtin.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | /// Load magic file before anything else. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 22 | / lazy_static! { [INFO] [stderr] 23 | | static ref ALLRULES: FnvHashMap> = { [INFO] [stderr] 24 | | super::ruleset::from_u8(include_bytes!("magic")).unwrap_or(FnvHashMap::default()) [INFO] [stderr] 25 | | }; [INFO] [stderr] 26 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/fdo_magic/sys.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | /// Preload alias list [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref ALIASES: FnvHashMap = { [INFO] [stderr] 21 | | init::get_aliaslist() [INFO] [stderr] 22 | | }; [INFO] [stderr] 23 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/fdo_magic/sys.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / /// Load magic file before anything else. [INFO] [stderr] 26 | | /// sys_fdo_magic always disabled on Windows. [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] 27 | / lazy_static! { [INFO] [stderr] 28 | | static ref ALLRULES: FnvHashMap> = { [INFO] [stderr] 29 | | super::ruleset::from_filepath("/usr/share/mime/magic").unwrap_or(FnvHashMap::default()) [INFO] [stderr] 30 | | }; [INFO] [stderr] 31 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/fdo_magic/mod.rs:186:5 [INFO] [stderr] | [INFO] [stderr] 186 | /// Singular magic entry [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 187 | / named!(magic_entry<(MIME, Vec)>, [INFO] [stderr] 188 | | do_parse!( [INFO] [stderr] 189 | | _mime: do_parse!( [INFO] [stderr] 190 | | ret: mime >> [INFO] [stderr] ... | [INFO] [stderr] 195 | | ) [INFO] [stderr] 196 | | ); [INFO] [stderr] | |______- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/fdo_magic/mod.rs:198:5 [INFO] [stderr] | [INFO] [stderr] 198 | / /// Converts a magic file given as a &[u8] array [INFO] [stderr] 199 | | /// to a vector of MagicEntry structs [INFO] [stderr] | |_________________________________________^ [INFO] [stderr] 200 | / named!(from_u8_to_tuple_vec)>>, [INFO] [stderr] 201 | | do_parse!( [INFO] [stderr] 202 | | tag!("MIME-Magic\0\n") >> [INFO] [stderr] 203 | | ret: many0!(magic_entry) >> [INFO] [stderr] 204 | | (ret) [INFO] [stderr] 205 | | ) [INFO] [stderr] 206 | | ); [INFO] [stderr] | |______- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lib.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | /// Mappings between modules and supported mimes (by index in table above) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 119 | / lazy_static! { [INFO] [stderr] 120 | | static ref CHECKER_SUPPORT: FnvHashMap = { [INFO] [stderr] 121 | | let mut out = FnvHashMap::::default(); [INFO] [stderr] 122 | | for i in 0..CHECKERS.len() { [INFO] [stderr] ... | [INFO] [stderr] 128 | | }; [INFO] [stderr] 129 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.60s [INFO] running `"docker" "inspect" "6b06971345adc3a36d63d7fcaa9c17ebbf176042c51f1dd8e3ace1a03ee0d1ad"` [INFO] running `"docker" "rm" "-f" "6b06971345adc3a36d63d7fcaa9c17ebbf176042c51f1dd8e3ace1a03ee0d1ad"` [INFO] [stdout] 6b06971345adc3a36d63d7fcaa9c17ebbf176042c51f1dd8e3ace1a03ee0d1ad [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/tree_magic_fork/0.2.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] 35dfd04a83525e9c00588122d1f4fa763f70463fae781d31dd1eb4bb1345e712 [INFO] running `"docker" "start" "-a" "35dfd04a83525e9c00588122d1f4fa763f70463fae781d31dd1eb4bb1345e712"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/crater/target/debug/deps/tree_magic_fork-2d28eda9e96d2a2f [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests tree_magic_fork [INFO] [stdout] test fdo_magic::ruleset::str_transmute_sanity ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - from_filepath_node (line 530) ... FAILED [INFO] [stdout] test src/lib.rs - from_filepath (line 584) ... FAILED [INFO] [stdout] test src/lib.rs - from_u8_node (line 439) ... FAILED [INFO] [stdout] test src/lib.rs - is_alias (line 612) ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - from_u8 (line 464) ... FAILED [INFO] [stdout] test src/lib.rs - match_filepath (line 497) ... FAILED [INFO] [stdout] test src/lib.rs - match_u8 (line 408) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - from_filepath_node (line 530) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tree_magic` [INFO] [stdout] --> src/lib.rs:540:15 [INFO] [stdout] | [INFO] [stdout] 12 | let zipnode = tree_magic::TYPE.hash.get("application/zip").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tree_magic` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tree_magic` [INFO] [stdout] --> src/lib.rs:543:14 [INFO] [stdout] | [INFO] [stdout] 15 | let result = tree_magic::from_filepath_node(*zipnode, path); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tree_magic` [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 - from_filepath (line 584) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tree_magic` [INFO] [stdout] --> src/lib.rs:591:14 [INFO] [stdout] | [INFO] [stdout] 9 | let result = tree_magic::from_filepath(path); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tree_magic` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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 - from_u8_node (line 439) stdout ---- [INFO] [stdout] error: couldn't read src/tests/application/zip: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:445:20 [INFO] [stdout] | [INFO] [stdout] 8 | let input: &[u8] = include_bytes!("tests/application/zip"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tree_magic` [INFO] [stdout] --> src/lib.rs:448:15 [INFO] [stdout] | [INFO] [stdout] 11 | let zipnode = tree_magic::TYPE.hash.get("application/zip").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tree_magic` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tree_magic` [INFO] [stdout] --> src/lib.rs:451:14 [INFO] [stdout] | [INFO] [stdout] 14 | let result = tree_magic::from_u8_node(*zipnode, input); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tree_magic` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - is_alias (line 612) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tree_magic` [INFO] [stdout] --> src/lib.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!( tree_magic::is_alias(mime1, mime2), true ); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tree_magic` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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 - (line 27) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `tree_magic` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate tree_magic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - from_u8 (line 464) stdout ---- [INFO] [stdout] error: couldn't read src/tests/image/gif: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:466:20 [INFO] [stdout] | [INFO] [stdout] 4 | let input: &[u8] = include_bytes!("tests/image/gif"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tree_magic` [INFO] [stdout] --> src/lib.rs:469:14 [INFO] [stdout] | [INFO] [stdout] 7 | let result = tree_magic::from_u8(input); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tree_magic` [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 - match_filepath (line 497) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tree_magic` [INFO] [stdout] --> src/lib.rs:504:14 [INFO] [stdout] | [INFO] [stdout] 9 | let result = tree_magic::match_filepath("image/gif", path); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tree_magic` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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 - match_u8 (line 408) stdout ---- [INFO] [stdout] error: couldn't read src/tests/image/gif: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:410:20 [INFO] [stdout] | [INFO] [stdout] 4 | let input: &[u8] = include_bytes!("tests/image/gif"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tree_magic` [INFO] [stdout] --> src/lib.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 7 | let result = tree_magic::match_u8("image/gif", input); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tree_magic` [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/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - from_filepath (line 584) [INFO] [stdout] src/lib.rs - from_filepath_node (line 530) [INFO] [stdout] src/lib.rs - from_u8 (line 464) [INFO] [stdout] src/lib.rs - from_u8_node (line 439) [INFO] [stdout] src/lib.rs - is_alias (line 612) [INFO] [stdout] src/lib.rs - match_filepath (line 497) [INFO] [stdout] src/lib.rs - match_u8 (line 408) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "35dfd04a83525e9c00588122d1f4fa763f70463fae781d31dd1eb4bb1345e712"` [INFO] running `"docker" "rm" "-f" "35dfd04a83525e9c00588122d1f4fa763f70463fae781d31dd1eb4bb1345e712"` [INFO] [stdout] 35dfd04a83525e9c00588122d1f4fa763f70463fae781d31dd1eb4bb1345e712