[INFO] updating cached repository aspera-non-spernit/fancy [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/aspera-non-spernit/fancy [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/aspera-non-spernit/fancy" "work/ex/beta-1.38-1/sources/1.37.0/gh/aspera-non-spernit/fancy"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/aspera-non-spernit/fancy'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/aspera-non-spernit/fancy" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/aspera-non-spernit/fancy"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/aspera-non-spernit/fancy'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d7949f32dd0e302cb0911eba3f8e8d195f372e03 [INFO] sha for GitHub repo aspera-non-spernit/fancy: d7949f32dd0e302cb0911eba3f8e8d195f372e03 [INFO] validating manifest of aspera-non-spernit/fancy 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 aspera-non-spernit/fancy 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 aspera-non-spernit/fancy [INFO] finished frobbing aspera-non-spernit/fancy [INFO] frobbed toml for aspera-non-spernit/fancy written to work/ex/beta-1.38-1/sources/1.37.0/gh/aspera-non-spernit/fancy/Cargo.toml [INFO] started frobbing aspera-non-spernit/fancy [INFO] finished frobbing aspera-non-spernit/fancy [INFO] frobbed toml for aspera-non-spernit/fancy written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/aspera-non-spernit/fancy/Cargo.toml [INFO] crate aspera-non-spernit/fancy already has a lockfile, it will not be regenerated [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 aspera-non-spernit/fancy 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-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/aspera-non-spernit/fancy:/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] 2fe7aa279e754eb9de73c36e8c9d0037f0103d523ac5270c746d60a6022e3d7e [INFO] running `"docker" "start" "-a" "2fe7aa279e754eb9de73c36e8c9d0037f0103d523ac5270c746d60a6022e3d7e"` [INFO] [stderr] Compiling unix_socket v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling syslog v3.3.0 [INFO] [stderr] Compiling fancy v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.19s [INFO] running `"docker" "inspect" "2fe7aa279e754eb9de73c36e8c9d0037f0103d523ac5270c746d60a6022e3d7e"` [INFO] running `"docker" "rm" "-f" "2fe7aa279e754eb9de73c36e8c9d0037f0103d523ac5270c746d60a6022e3d7e"` [INFO] [stdout] 2fe7aa279e754eb9de73c36e8c9d0037f0103d523ac5270c746d60a6022e3d7e [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/aspera-non-spernit/fancy:/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] 0a9d1f5a0c9c765ce1edf86955b8ffdb3416a20d0fcb00560f3292616f41d686 [INFO] running `"docker" "start" "-a" "0a9d1f5a0c9c765ce1edf86955b8ffdb3416a20d0fcb00560f3292616f41d686"` [INFO] [stderr] Compiling fancy v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> examples/default.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | logger.send(Severity::LOG_INFO, ["Fancy: ", &env.description, " loaded"].concat()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> examples/default.rs:42:17 [INFO] [stderr] | [INFO] [stderr] 42 | logger.send(Severity::LOG_INFO, ["Fancy: ", "adjusting Fan ", &pipe.fan.id, " to ", &(step.rpm.to_string()), " rpm"].concat()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.30s [INFO] running `"docker" "inspect" "0a9d1f5a0c9c765ce1edf86955b8ffdb3416a20d0fcb00560f3292616f41d686"` [INFO] running `"docker" "rm" "-f" "0a9d1f5a0c9c765ce1edf86955b8ffdb3416a20d0fcb00560f3292616f41d686"` [INFO] [stdout] 0a9d1f5a0c9c765ce1edf86955b8ffdb3416a20d0fcb00560f3292616f41d686 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/aspera-non-spernit/fancy:/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] 882e02d177f13f140d1192371b671db0fb0f01859f07e7c2b8dae860ab32789d [INFO] running `"docker" "start" "-a" "882e02d177f13f140d1192371b671db0fb0f01859f07e7c2b8dae860ab32789d"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/fancy-7b6cd96f6e021b0e [INFO] [stderr] Doc-tests fancy [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 7 tests [INFO] [stdout] test src/structs.rs - structs::Step (line 48) ... FAILED [INFO] [stdout] test src/structs.rs - structs::Temperature (line 66) ... FAILED [INFO] [stdout] test src/structs.rs - structs::Pipe (line 81) ... FAILED [INFO] [stdout] test src/lib.rs - read_temperature (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - calc_rpm (line 74) ... FAILED [INFO] [stdout] test src/lib.rs - adjust (line 59) ... FAILED [INFO] [stdout] test src/lib.rs - init (line 92) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/structs.rs - structs::Step (line 48) stdout ---- [INFO] [stdout] error: expected type, found `37` [INFO] [stdout] --> src/structs.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 4 | "temp_limit": 37, [INFO] [stdout] | ^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] = note: #![feature(type_ascription)] lets you annotate an expression with a type: `: ` [INFO] [stdout] note: this expression expects an ascribed type after the colon [INFO] [stdout] --> src/structs.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 4 | "temp_limit": 37, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: this might be indicative of a syntax error elsewhere [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/structs.rs - structs::Temperature (line 66) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `temp` in this scope [INFO] [stdout] --> src/structs.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 3 | if temp.previous != temp.current { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `temp` in this scope [INFO] [stdout] --> src/structs.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 3 | if temp.previous != temp.current { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/structs.rs - structs::Pipe (line 81) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Pipe` in this scope [INFO] [stdout] --> src/structs.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 3 | let pipe = Pipe{ sensor: s.clone(), control_profile: cp.clone(), fan: f.clone()} ; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `s` in this scope [INFO] [stdout] --> src/structs.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 3 | let pipe = Pipe{ sensor: s.clone(), control_profile: cp.clone(), fan: f.clone()} ; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cp` in this scope [INFO] [stdout] --> src/structs.rs:82:54 [INFO] [stdout] | [INFO] [stdout] 3 | let pipe = Pipe{ sensor: s.clone(), control_profile: cp.clone(), fan: f.clone()} ; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/structs.rs:82:71 [INFO] [stdout] | [INFO] [stdout] 3 | let pipe = Pipe{ sensor: s.clone(), control_profile: cp.clone(), fan: f.clone()} ; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - read_temperature (line 43) stdout ---- [INFO] [stdout] error: this file contains an un-closed delimiter [INFO] [stdout] --> src/lib.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | - un-closed delimiter [INFO] [stdout] ... [INFO] [stdout] 7 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 6 | .... [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 | ... [INFO] [stdout] | ^^ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 | ..=. [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 6 | .... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `temp` in this scope [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 5 | temp = fancy::read_temperature(&pipe.sensor, &temp); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pipe` in this scope [INFO] [stdout] --> src/lib.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 5 | temp = fancy::read_temperature(&pipe.sensor, &temp); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `temp` in this scope [INFO] [stdout] --> src/lib.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 5 | temp = fancy::read_temperature(&pipe.sensor, &temp); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - calc_rpm (line 74) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `pipe` in this scope [INFO] [stdout] --> src/lib.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 4 | let step = fancy::calc_rpm(&pipe.control_profile, &temp); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `temp` in this scope [INFO] [stdout] --> src/lib.rs:75:52 [INFO] [stdout] | [INFO] [stdout] 4 | let step = fancy::calc_rpm(&pipe.control_profile, &temp); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - adjust (line 59) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `step_hist` in this scope [INFO] [stdout] --> src/lib.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 4 | if step_hist[0].rpm != step_hist[1].rpm { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `step_hist` in this scope [INFO] [stdout] --> src/lib.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 4 | if step_hist[0].rpm != step_hist[1].rpm { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pipe` in this scope [INFO] [stdout] --> src/lib.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 5 | fancy::adjust(&pipe.fan, &step); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `step` in this scope [INFO] [stdout] --> src/lib.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 5 | fancy::adjust(&pipe.fan, &step); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init (line 92) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Environment` in this scope [INFO] [stdout] --> src/lib.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 4 | let env: &Environment = &fancy::init(String::from("/home/{USER_NAME}/Development/fancy/fancy.conf")); [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 fancy::structs::Environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 4 | let env: &Environment = &fancy::init(String::from("/home/{USER_NAME}/Development/fancy/fancy.conf")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected &str, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&str` [INFO] [stdout] found type `std::string::String` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - adjust (line 59) [INFO] [stdout] src/lib.rs - calc_rpm (line 74) [INFO] [stdout] src/lib.rs - init (line 92) [INFO] [stdout] src/lib.rs - read_temperature (line 43) [INFO] [stdout] src/structs.rs - structs::Pipe (line 81) [INFO] [stdout] src/structs.rs - structs::Step (line 48) [INFO] [stdout] src/structs.rs - structs::Temperature (line 66) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "882e02d177f13f140d1192371b671db0fb0f01859f07e7c2b8dae860ab32789d"` [INFO] running `"docker" "rm" "-f" "882e02d177f13f140d1192371b671db0fb0f01859f07e7c2b8dae860ab32789d"` [INFO] [stdout] 882e02d177f13f140d1192371b671db0fb0f01859f07e7c2b8dae860ab32789d