[INFO] fetching crate basyx-rs 0.1.0... [INFO] testing basyx-rs-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate basyx-rs 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate basyx-rs 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 basyx-rs 0.1.0 [INFO] finished tweaking crates.io crate basyx-rs 0.1.0 [INFO] tweaked toml for crates.io crate basyx-rs 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate basyx-rs 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 626310aa84115251d61a777566a3398d9ce4b041d3160f926119909b08df0da1 [INFO] running `Command { std: "docker" "start" "-a" "626310aa84115251d61a777566a3398d9ce4b041d3160f926119909b08df0da1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "626310aa84115251d61a777566a3398d9ce4b041d3160f926119909b08df0da1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "626310aa84115251d61a777566a3398d9ce4b041d3160f926119909b08df0da1", kill_on_drop: false }` [INFO] [stdout] 626310aa84115251d61a777566a3398d9ce4b041d3160f926119909b08df0da1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stdout] f914747d3132047ac42005a7d8f1e2ec3b45f7163b527f83e19fb23a7bab453e [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" "f914747d3132047ac42005a7d8f1e2ec3b45f7163b527f83e19fb23a7bab453e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling os_str_bytes v4.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.3.5 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling iso8601 v0.4.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling fancy-regex v0.7.1 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling fraction v0.9.0 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap v3.0.0-beta.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling jsonschema v0.13.2 [INFO] [stderr] Compiling basyx-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 03s [INFO] running `Command { std: "docker" "inspect" "f914747d3132047ac42005a7d8f1e2ec3b45f7163b527f83e19fb23a7bab453e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f914747d3132047ac42005a7d8f1e2ec3b45f7163b527f83e19fb23a7bab453e", kill_on_drop: false }` [INFO] [stdout] f914747d3132047ac42005a7d8f1e2ec3b45f7163b527f83e19fb23a7bab453e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 142c0a1a000dfcfc85cd62867a147c3a0d2170cb7be6ab158840426a89bb6375 [INFO] running `Command { std: "docker" "start" "-a" "142c0a1a000dfcfc85cd62867a147c3a0d2170cb7be6ab158840426a89bb6375", kill_on_drop: false }` [INFO] [stderr] Compiling basyx-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.79s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/basyx_rs-b53b200795c2bbea) [INFO] running `Command { std: "docker" "inspect" "142c0a1a000dfcfc85cd62867a147c3a0d2170cb7be6ab158840426a89bb6375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "142c0a1a000dfcfc85cd62867a147c3a0d2170cb7be6ab158840426a89bb6375", kill_on_drop: false }` [INFO] [stdout] 142c0a1a000dfcfc85cd62867a147c3a0d2170cb7be6ab158840426a89bb6375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 27bc95fa6f508317be8eb97b33096b2ddba00c14bfc888e42cee80599659db66 [INFO] running `Command { std: "docker" "start" "-a" "27bc95fa6f508317be8eb97b33096b2ddba00c14bfc888e42cee80599659db66", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/basyx_rs-b53b200795c2bbea) [INFO] [stderr] Doc-tests basyx-rs [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 6) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `"submodel1.json"` [INFO] [stdout] --> src/lib.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 23 | .open(path"submodel1.json")?; [INFO] [stdout] | -^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 8 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/lib.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 23 | .open(path"submodel1.json")?; [INFO] [stdout] | ^^^^ not a value [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/lib.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use basyx_rs::prelude::*; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let mut property = Property::new( [INFO] [stdout] ... | [INFO] [stdout] 17 | | let json = serde_json::to_vec(&submodel)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 24 | | file.write_all(&json)?; [INFO] [stdout] 25 | | } _doctest_main_src_lib_rs_6_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[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 23 | .open(path"submodel1.json")?; [INFO] [stdout] | ^^^^ -------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [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/lib.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use basyx_rs::prelude::*; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let mut property = Property::new( [INFO] [stdout] ... | [INFO] [stdout] 23 | | .open(path"submodel1.json")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 24 | | file.write_all(&json)?; [INFO] [stdout] 25 | | } _doctest_main_src_lib_rs_6_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[E0599]: no method named `write_all` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 24 | file.write_all(&json)?; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::fs::File` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [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/lib.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use basyx_rs::prelude::*; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let mut property = Property::new( [INFO] [stdout] ... | [INFO] [stdout] 24 | | file.write_all(&json)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 25 | | } _doctest_main_src_lib_rs_6_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 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0423, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "27bc95fa6f508317be8eb97b33096b2ddba00c14bfc888e42cee80599659db66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27bc95fa6f508317be8eb97b33096b2ddba00c14bfc888e42cee80599659db66", kill_on_drop: false }` [INFO] [stdout] 27bc95fa6f508317be8eb97b33096b2ddba00c14bfc888e42cee80599659db66