[INFO] crate huemanity 0.1.6 is already in cache [INFO] testing huemanity-0.1.6 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate huemanity 0.1.6 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate huemanity 0.1.6 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate huemanity 0.1.6 [INFO] finished tweaking crates.io crate huemanity 0.1.6 [INFO] tweaked toml for crates.io crate huemanity 0.1.6 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate huemanity 0.1.6 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c38a4093944f4b9d20cbe520aa642dbf1e2d4894a51379ec8ff74806dd5d5bac [INFO] running `"docker" "start" "-a" "c38a4093944f4b9d20cbe520aa642dbf1e2d4894a51379ec8ff74806dd5d5bac"` [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling tokio-threadpool v0.1.17 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling huemanity v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 16s [INFO] running `"docker" "inspect" "c38a4093944f4b9d20cbe520aa642dbf1e2d4894a51379ec8ff74806dd5d5bac"` [INFO] running `"docker" "rm" "-f" "c38a4093944f4b9d20cbe520aa642dbf1e2d4894a51379ec8ff74806dd5d5bac"` [INFO] [stdout] c38a4093944f4b9d20cbe520aa642dbf1e2d4894a51379ec8ff74806dd5d5bac [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 00e862ec4fbe88942cd6470c50d68cc1129e6e0de1e76fed8e655fae3563789b [INFO] running `"docker" "start" "-a" "00e862ec4fbe88942cd6470c50d68cc1129e6e0de1e76fed8e655fae3563789b"` [INFO] [stderr] Compiling huemanity v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.17s [INFO] running `"docker" "inspect" "00e862ec4fbe88942cd6470c50d68cc1129e6e0de1e76fed8e655fae3563789b"` [INFO] running `"docker" "rm" "-f" "00e862ec4fbe88942cd6470c50d68cc1129e6e0de1e76fed8e655fae3563789b"` [INFO] [stdout] 00e862ec4fbe88942cd6470c50d68cc1129e6e0de1e76fed8e655fae3563789b [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 632d60ca28f3c779a65486fb16520579aa2dfc8b431902ef21517bd9ed9ab6e1 [INFO] running `"docker" "start" "-a" "632d60ca28f3c779a65486fb16520579aa2dfc8b431902ef21517bd9ed9ab6e1"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/huemanity-324bc46f201ee34a [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] [stderr] Running /opt/rustwide/target/debug/deps/huemanity-e456a88925d533b4 [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] [stderr] Doc-tests huemanity [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lightstructs.rs - state (line 169) ... FAILED [INFO] [stdout] test src/lightstructs.rs - lightstructs::SendableState (line 130) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lightstructs.rs - state (line 169) stdout ---- [INFO] [stdout] error: expected `;`, found ``}`` [INFO] [stdout] --> src/lightstructs.rs:171:69 [INFO] [stdout] | [INFO] [stdout] 4 | let sendable_state: SendableState = state!(on: true, xy: [1.0, 0.0]) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error: cannot find macro `state` in this scope [INFO] [stdout] --> src/lightstructs.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 4 | let sendable_state: SendableState = state!(on: true, xy: [1.0, 0.0]) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SendableState` in this scope [INFO] [stdout] --> src/lightstructs.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 4 | let sendable_state: SendableState = state!(on: true, xy: [1.0, 0.0]) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 3 | use huemanity::lightstructs::SendableState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lightstructs.rs - lightstructs::SendableState (line 130) stdout ---- [INFO] [stdout] error: expected `;`, found ``}`` [INFO] [stdout] --> src/lightstructs.rs:133:64 [INFO] [stdout] | [INFO] [stdout] 5 | let state_3: SendableState = state!(on: true, xy: [1.0, 0.123]) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error: cannot find macro `state` in this scope [INFO] [stdout] --> src/lightstructs.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 5 | let state_3: SendableState = state!(on: true, xy: [1.0, 0.123]) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendableState` [INFO] [stdout] --> src/lightstructs.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 4 | let state_2: SendableState = SendableState {on:true, ..SendableState::default()}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `SendableState` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SendableState` in this scope [INFO] [stdout] --> src/lightstructs.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 3 | let state_1: SendableState = serde_json::from_str(r#"{"on":true}"#); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use huemanity::lightstructs::SendableState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SendableState` in this scope [INFO] [stdout] --> src/lightstructs.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 4 | let state_2: SendableState = SendableState {on:true, ..SendableState::default()}; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use huemanity::lightstructs::SendableState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SendableState` in this scope [INFO] [stdout] --> src/lightstructs.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 4 | let state_2: SendableState = SendableState {on:true, ..SendableState::default()}; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use huemanity::lightstructs::SendableState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SendableState` in this scope [INFO] [stdout] --> src/lightstructs.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 5 | let state_3: SendableState = state!(on: true, xy: [1.0, 0.123]) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use huemanity::lightstructs::SendableState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lightstructs.rs - lightstructs::SendableState (line 130) [INFO] [stdout] src/lightstructs.rs - state (line 169) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "632d60ca28f3c779a65486fb16520579aa2dfc8b431902ef21517bd9ed9ab6e1"` [INFO] running `"docker" "rm" "-f" "632d60ca28f3c779a65486fb16520579aa2dfc8b431902ef21517bd9ed9ab6e1"` [INFO] [stdout] 632d60ca28f3c779a65486fb16520579aa2dfc8b431902ef21517bd9ed9ab6e1