[INFO] fetching crate skora 0.1.0... [INFO] testing skora-0.1.0 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32a94952b51961710eeb76e2532e66e2a1fa763d5fabdb67786945dd94230667 [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" "32a94952b51961710eeb76e2532e66e2a1fa763d5fabdb67786945dd94230667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32a94952b51961710eeb76e2532e66e2a1fa763d5fabdb67786945dd94230667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a94952b51961710eeb76e2532e66e2a1fa763d5fabdb67786945dd94230667", kill_on_drop: false }` [INFO] [stdout] 32a94952b51961710eeb76e2532e66e2a1fa763d5fabdb67786945dd94230667 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66675c994b288111273c6c5f14f4f50a2d3175472940de2a974e90af4127b4ee [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" "66675c994b288111273c6c5f14f4f50a2d3175472940de2a974e90af4127b4ee", 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.63s [INFO] running `Command { std: "docker" "inspect" "66675c994b288111273c6c5f14f4f50a2d3175472940de2a974e90af4127b4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66675c994b288111273c6c5f14f4f50a2d3175472940de2a974e90af4127b4ee", kill_on_drop: false }` [INFO] [stdout] 66675c994b288111273c6c5f14f4f50a2d3175472940de2a974e90af4127b4ee [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" "+1.60.0" "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] 59bdfa1a6642419294ba51a0ff88b4e864b96ebf438379b7f1b3491356d7fab2 [INFO] running `Command { std: "docker" "start" "-a" "59bdfa1a6642419294ba51a0ff88b4e864b96ebf438379b7f1b3491356d7fab2", kill_on_drop: false }` [INFO] [stderr] Compiling skora v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "59bdfa1a6642419294ba51a0ff88b4e864b96ebf438379b7f1b3491356d7fab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59bdfa1a6642419294ba51a0ff88b4e864b96ebf438379b7f1b3491356d7fab2", kill_on_drop: false }` [INFO] [stdout] 59bdfa1a6642419294ba51a0ff88b4e864b96ebf438379b7f1b3491356d7fab2 [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" "+1.60.0" "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] 5e492912d8fbec56c7bda4531351d692f4d390b07840ae4ff0b19331a3d61ca1 [INFO] running `Command { std: "docker" "start" "-a" "5e492912d8fbec56c7bda4531351d692f4d390b07840ae4ff0b19331a3d61ca1", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/skora-fc8dea3b52e9fbc9) [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 skora [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/ora.rs - ora::Ora::add_layer (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - convert_file (line 73) ... FAILED [INFO] [stdout] test src/ora.rs - ora::Ora::write_to_file (line 137) ... FAILED [INFO] [stdout] test src/ora.rs - ora::Layer::new (line 44) ... 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/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/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::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] ---- 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] [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.34s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "5e492912d8fbec56c7bda4531351d692f4d390b07840ae4ff0b19331a3d61ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e492912d8fbec56c7bda4531351d692f4d390b07840ae4ff0b19331a3d61ca1", kill_on_drop: false }` [INFO] [stdout] 5e492912d8fbec56c7bda4531351d692f4d390b07840ae4ff0b19331a3d61ca1