[INFO] crate fpls_lib 0.1.2 is already in cache [INFO] extracting crate fpls_lib 0.1.2 into work/ex/beta-1.38-1/sources/1.37.0/reg/fpls_lib/0.1.2 [INFO] extracting crate fpls_lib 0.1.2 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/fpls_lib/0.1.2 [INFO] validating manifest of fpls_lib-0.1.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 fpls_lib-0.1.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 fpls_lib-0.1.2 [INFO] finished frobbing fpls_lib-0.1.2 [INFO] frobbed toml for fpls_lib-0.1.2 written to work/ex/beta-1.38-1/sources/1.37.0/reg/fpls_lib/0.1.2/Cargo.toml [INFO] started frobbing fpls_lib-0.1.2 [INFO] finished frobbing fpls_lib-0.1.2 [INFO] frobbed toml for fpls_lib-0.1.2 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/fpls_lib/0.1.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 fpls_lib-0.1.2 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/fpls_lib/0.1.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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 797e2ac3b2ba7a919516fcd12f1ece4a7548c9219f66c122ce1af31fb77e0c4e [INFO] running `"docker" "start" "-a" "797e2ac3b2ba7a919516fcd12f1ece4a7548c9219f66c122ce1af31fb77e0c4e"` [INFO] [stderr] Compiling fpls_lib v0.1.2 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `"docker" "inspect" "797e2ac3b2ba7a919516fcd12f1ece4a7548c9219f66c122ce1af31fb77e0c4e"` [INFO] running `"docker" "rm" "-f" "797e2ac3b2ba7a919516fcd12f1ece4a7548c9219f66c122ce1af31fb77e0c4e"` [INFO] [stdout] 797e2ac3b2ba7a919516fcd12f1ece4a7548c9219f66c122ce1af31fb77e0c4e [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/fpls_lib/0.1.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" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] ccc5ad7c548064adf1729f454b9c0a4d33b8234703901d118dad60c0aef41c51 [INFO] running `"docker" "start" "-a" "ccc5ad7c548064adf1729f454b9c0a4d33b8234703901d118dad60c0aef41c51"` [INFO] [stderr] Compiling fpls_lib v0.1.2 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `"docker" "inspect" "ccc5ad7c548064adf1729f454b9c0a4d33b8234703901d118dad60c0aef41c51"` [INFO] running `"docker" "rm" "-f" "ccc5ad7c548064adf1729f454b9c0a4d33b8234703901d118dad60c0aef41c51"` [INFO] [stdout] ccc5ad7c548064adf1729f454b9c0a4d33b8234703901d118dad60c0aef41c51 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/fpls_lib/0.1.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" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 0b5ed23bbf58c7ca127c2f235e1774071af8b70c1839043e20d62f39f65e5af5 [INFO] running `"docker" "start" "-a" "0b5ed23bbf58c7ca127c2f235e1774071af8b70c1839043e20d62f39f65e5af5"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/crater/target/debug/deps/fpls_lib-a812974908d7b67b [INFO] [stderr] Doc-tests fpls_lib [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - copy_file (line 9) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - copy_file (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stdout] --> src/lib.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> Result<(), io::Error> { [INFO] [stdout] | ^^ use of undeclared type or module `io` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stdout] --> src/lib.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 4 | let path = Path::new("./test/copy_origion"); [INFO] [stdout] | ^^^^ use of undeclared type or module `Path` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stdout] --> src/lib.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 5 | let output_path = Path::new("./test/copy_currnet"); [INFO] [stdout] | ^^^^ use of undeclared type or module `Path` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `copy_file` in this scope [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 6 | copy_file(&path, &output_path)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 3 | use fpls_lib::copy_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - copy_file (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "0b5ed23bbf58c7ca127c2f235e1774071af8b70c1839043e20d62f39f65e5af5"` [INFO] running `"docker" "rm" "-f" "0b5ed23bbf58c7ca127c2f235e1774071af8b70c1839043e20d62f39f65e5af5"` [INFO] [stdout] 0b5ed23bbf58c7ca127c2f235e1774071af8b70c1839043e20d62f39f65e5af5