[INFO] fetching crate tree_magic_fork 0.2.2... [INFO] testing tree_magic_fork-0.2.2 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate tree_magic_fork 0.2.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate tree_magic_fork 0.2.2 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 crates.io crate tree_magic_fork 0.2.2 [INFO] finished tweaking crates.io crate tree_magic_fork 0.2.2 [INFO] tweaked toml for crates.io crate tree_magic_fork 0.2.2 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] be931778734ee0ccea2da61bdbe0fc30606b0c016bc13a5922e9cf01c3539a64 [INFO] running `"docker" "start" "-a" "be931778734ee0ccea2da61bdbe0fc30606b0c016bc13a5922e9cf01c3539a64"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling tree_magic_fork v0.2.2 (/opt/rustwide/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] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | /// sys_fdo_magic always disabled on Windows. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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:199:5 [INFO] [stderr] | [INFO] [stderr] 199 | /// to a vector of MagicEntry structs [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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: unnecessary trailing semicolon [INFO] [stderr] --> src/fdo_magic/mod.rs:240:88 [INFO] [stderr] | [INFO] [stderr] 240 | let tuplevec = from_u8_to_tuple_vec(b).to_result().map_err(|e| e.to_string())?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.85s [INFO] running `"docker" "inspect" "be931778734ee0ccea2da61bdbe0fc30606b0c016bc13a5922e9cf01c3539a64"` [INFO] running `"docker" "rm" "-f" "be931778734ee0ccea2da61bdbe0fc30606b0c016bc13a5922e9cf01c3539a64"` [INFO] [stdout] be931778734ee0ccea2da61bdbe0fc30606b0c016bc13a5922e9cf01c3539a64 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 1d6ceb0bcc3a9f41238f1392b5902807e1d5741d1a86a7617b9d28e6b9fabfed [INFO] running `"docker" "start" "-a" "1d6ceb0bcc3a9f41238f1392b5902807e1d5741d1a86a7617b9d28e6b9fabfed"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling tree_magic_fork v0.2.2 (/opt/rustwide/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] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | /// sys_fdo_magic always disabled on Windows. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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:199:5 [INFO] [stderr] | [INFO] [stderr] 199 | /// to a vector of MagicEntry structs [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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: unnecessary trailing semicolon [INFO] [stderr] --> src/fdo_magic/mod.rs:240:88 [INFO] [stderr] | [INFO] [stderr] 240 | let tuplevec = from_u8_to_tuple_vec(b).to_result().map_err(|e| e.to_string())?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [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] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | /// sys_fdo_magic always disabled on Windows. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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:199:5 [INFO] [stderr] | [INFO] [stderr] 199 | /// to a vector of MagicEntry structs [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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: unnecessary trailing semicolon [INFO] [stderr] --> src/fdo_magic/mod.rs:240:88 [INFO] [stderr] | [INFO] [stderr] 240 | let tuplevec = from_u8_to_tuple_vec(b).to_result().map_err(|e| e.to_string())?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `"docker" "inspect" "1d6ceb0bcc3a9f41238f1392b5902807e1d5741d1a86a7617b9d28e6b9fabfed"` [INFO] running `"docker" "rm" "-f" "1d6ceb0bcc3a9f41238f1392b5902807e1d5741d1a86a7617b9d28e6b9fabfed"` [INFO] [stdout] 1d6ceb0bcc3a9f41238f1392b5902807e1d5741d1a86a7617b9d28e6b9fabfed [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 68079bb9b74a4dacb3d6e34d7e1dd0afb01ec8eb67e679844f1cce8818d026f7 [INFO] running `"docker" "start" "-a" "68079bb9b74a4dacb3d6e34d7e1dd0afb01ec8eb67e679844f1cce8818d026f7"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | /// Preload alias list [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | /// sys_fdo_magic always disabled on Windows. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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:199:5 [INFO] [stderr] | [INFO] [stderr] 199 | /// to a vector of MagicEntry structs [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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: unnecessary trailing semicolon [INFO] [stderr] --> src/fdo_magic/mod.rs:240:88 [INFO] [stderr] | [INFO] [stderr] 240 | let tuplevec = from_u8_to_tuple_vec(b).to_result().map_err(|e| e.to_string())?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | /// sys_fdo_magic always disabled on Windows. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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:199:5 [INFO] [stderr] | [INFO] [stderr] 199 | /// to a vector of MagicEntry structs [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [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: unnecessary trailing semicolon [INFO] [stderr] --> src/fdo_magic/mod.rs:240:88 [INFO] [stderr] | [INFO] [stderr] 240 | let tuplevec = from_u8_to_tuple_vec(b).to_result().map_err(|e| e.to_string())?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/tree_magic_fork-9fe94ee83e17406c [INFO] [stdout] [INFO] [stdout] running 1 test [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] [stderr] Doc-tests tree_magic_fork [INFO] [stdout] [INFO] [stdout] running 8 tests [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 - is_alias (line 612) ... FAILED [INFO] [stdout] test src/lib.rs - match_filepath (line 497) ... FAILED [INFO] [stdout] test src/lib.rs - from_filepath (line 584) ... FAILED [INFO] [stdout] test src/lib.rs - from_filepath_node (line 530) ... FAILED [INFO] [stdout] test src/lib.rs - from_u8_node (line 439) ... FAILED [INFO] [stdout] test src/lib.rs - match_u8 (line 408) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 - 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 - 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 - 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_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_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] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 - 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] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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" "68079bb9b74a4dacb3d6e34d7e1dd0afb01ec8eb67e679844f1cce8818d026f7"` [INFO] running `"docker" "rm" "-f" "68079bb9b74a4dacb3d6e34d7e1dd0afb01ec8eb67e679844f1cce8818d026f7"` [INFO] [stdout] 68079bb9b74a4dacb3d6e34d7e1dd0afb01ec8eb67e679844f1cce8818d026f7