[INFO] fetching crate skora 0.1.0... [INFO] testing skora-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate skora 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate skora 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate skora 0.1.0 [INFO] finished tweaking crates.io crate skora 0.1.0 [INFO] tweaked toml for crates.io crate skora 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc0c4394a29c5751c02b6e81441b862a9c901eacecc8f22128c632b360a91e27 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fc0c4394a29c5751c02b6e81441b862a9c901eacecc8f22128c632b360a91e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc0c4394a29c5751c02b6e81441b862a9c901eacecc8f22128c632b360a91e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc0c4394a29c5751c02b6e81441b862a9c901eacecc8f22128c632b360a91e27", kill_on_drop: false }` [INFO] [stdout] fc0c4394a29c5751c02b6e81441b862a9c901eacecc8f22128c632b360a91e27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9d062fa1ce18aa40a42f70f914f9372a8546e523ffa42a6c4bc2dfeb4bb98fe7 [INFO] running `Command { std: "docker" "start" "-a" "9d062fa1ce18aa40a42f70f914f9372a8546e523ffa42a6c4bc2dfeb4bb98fe7", kill_on_drop: false }` [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling skora v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.85s [INFO] running `Command { std: "docker" "inspect" "9d062fa1ce18aa40a42f70f914f9372a8546e523ffa42a6c4bc2dfeb4bb98fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d062fa1ce18aa40a42f70f914f9372a8546e523ffa42a6c4bc2dfeb4bb98fe7", kill_on_drop: false }` [INFO] [stdout] 9d062fa1ce18aa40a42f70f914f9372a8546e523ffa42a6c4bc2dfeb4bb98fe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fa3f2dff76af767ac5ab5566417ad4290629c3b0dba402f92787d3c27de3c2bf [INFO] running `Command { std: "docker" "start" "-a" "fa3f2dff76af767ac5ab5566417ad4290629c3b0dba402f92787d3c27de3c2bf", kill_on_drop: false }` [INFO] [stderr] Compiling skora v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.68s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/skora-1ab959a4c2792629) [INFO] running `Command { std: "docker" "inspect" "fa3f2dff76af767ac5ab5566417ad4290629c3b0dba402f92787d3c27de3c2bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa3f2dff76af767ac5ab5566417ad4290629c3b0dba402f92787d3c27de3c2bf", kill_on_drop: false }` [INFO] [stdout] fa3f2dff76af767ac5ab5566417ad4290629c3b0dba402f92787d3c27de3c2bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4494c2ab6b603acee7f991949a9c706196f67554f67e134c710f43753af73753 [INFO] running `Command { std: "docker" "start" "-a" "4494c2ab6b603acee7f991949a9c706196f67554f67e134c710f43753af73753", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/skora-1ab959a4c2792629) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests skora [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/ora.rs - ora::Ora::new (line 99) ... FAILED [INFO] [stdout] test src/ora.rs - ora::Ora::default (line 87) ... FAILED [INFO] [stdout] test src/lib.rs - convert_file (line 73) ... FAILED [INFO] [stdout] test src/ora.rs - ora::Layer::new (line 44) ... FAILED [INFO] [stdout] test src/ora.rs - ora::Ora::add_layer (line 119) ... FAILED [INFO] [stdout] test src/ora.rs - ora::Ora::write_to_file (line 137) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ora.rs - ora::Ora::new (line 99) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ora` [INFO] [stdout] --> src/ora.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ora = Ora::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let mut ora = Ord::new(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use skora::ora::Ora; [INFO] [stdout] | [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/ora.rs - ora::Ora::default (line 87) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ora` [INFO] [stdout] --> src/ora.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ora = Ora::default(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let mut ora = Ord::default(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use skora::ora::Ora; [INFO] [stdout] | [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 - convert_file (line 73) stdout ---- [INFO] [stdout] error[E0254]: the name `skora` is defined multiple times [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#skora; [INFO] [stdout] | --------------------- previous import of the extern crate `skora` here [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] 4 | use skora; [INFO] [stdout] | ^^^^^ `skora` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `skora` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 8 | skora::convert_file(path_string)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn convert_file(file_path_string: String, export_tiff: bool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() -> Result<(), Box> { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0254, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ora.rs - ora::Layer::new (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Layer` [INFO] [stdout] --> src/ora.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 3 | let layer = Layer::new(1, image, 0.5, 0, 0, 100, 100); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use skora::ora::Layer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `image` [INFO] [stdout] --> src/ora.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 3 | let layer = Layer::new(1, image, 0.5, 0, 0, 100, 100); [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ora.rs - ora::Ora::add_layer (line 119) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ora` [INFO] [stdout] --> src/ora.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ora = Ora::default(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let mut ora = Ord::default(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use skora::ora::Ora; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Layer` [INFO] [stdout] --> src/ora.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 5 | let layer = Layer::new(1, image, 0.5, 0, 0, 100, 100); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use skora::ora::Layer; [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/ora.rs - ora::Ora::write_to_file (line 137) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/ora.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 3 | let file_path = Path::new("image.ora"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ora` [INFO] [stdout] --> src/ora.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ora = Ora::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 | let mut ora = Ord::new(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use skora::ora::Ora; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/ora.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ora_rs_137_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let file_path = Path::new("image.ora"); [INFO] [stdout] 4 | | let mut ora = Ora::new(); [INFO] [stdout] 5 | | // Ideally one would do something to put data in the ora here before writing the file out [INFO] [stdout] 6 | | ora.write_to_file(&file_path)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 7 | | } _doctest_main_src_ora_rs_137_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - convert_file (line 73) [INFO] [stdout] src/ora.rs - ora::Layer::new (line 44) [INFO] [stdout] src/ora.rs - ora::Ora::add_layer (line 119) [INFO] [stdout] src/ora.rs - ora::Ora::default (line 87) [INFO] [stdout] src/ora.rs - ora::Ora::new (line 99) [INFO] [stdout] src/ora.rs - ora::Ora::write_to_file (line 137) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "4494c2ab6b603acee7f991949a9c706196f67554f67e134c710f43753af73753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4494c2ab6b603acee7f991949a9c706196f67554f67e134c710f43753af73753", kill_on_drop: false }` [INFO] [stdout] 4494c2ab6b603acee7f991949a9c706196f67554f67e134c710f43753af73753