[INFO] crate haru-decorator 0.21.0 is already in cache [INFO] extracting crate haru-decorator 0.21.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/haru-decorator/0.21.0 [INFO] extracting crate haru-decorator 0.21.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/haru-decorator/0.21.0 [INFO] validating manifest of haru-decorator-0.21.0 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 haru-decorator-0.21.0 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 haru-decorator-0.21.0 [INFO] finished frobbing haru-decorator-0.21.0 [INFO] frobbed toml for haru-decorator-0.21.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/haru-decorator/0.21.0/Cargo.toml [INFO] started frobbing haru-decorator-0.21.0 [INFO] finished frobbing haru-decorator-0.21.0 [INFO] frobbed toml for haru-decorator-0.21.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/haru-decorator/0.21.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 haru-decorator-0.21.0 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/haru-decorator/0.21.0:/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] a54cc46bcaac27ebd0a788926313fc03579ab73ed7935b08b36c52c6c581988c [INFO] running `"docker" "start" "-a" "a54cc46bcaac27ebd0a788926313fc03579ab73ed7935b08b36c52c6c581988c"` [INFO] [stderr] Compiling haru-decorator v0.21.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.86s [INFO] running `"docker" "inspect" "a54cc46bcaac27ebd0a788926313fc03579ab73ed7935b08b36c52c6c581988c"` [INFO] running `"docker" "rm" "-f" "a54cc46bcaac27ebd0a788926313fc03579ab73ed7935b08b36c52c6c581988c"` [INFO] [stdout] a54cc46bcaac27ebd0a788926313fc03579ab73ed7935b08b36c52c6c581988c [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/haru-decorator/0.21.0:/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" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 8e15f51f235ef2878ddbf1fb410b2a9ffcb7c35b97b550beaa1924c6e78da1ed [INFO] running `"docker" "start" "-a" "8e15f51f235ef2878ddbf1fb410b2a9ffcb7c35b97b550beaa1924c6e78da1ed"` [INFO] [stderr] Compiling haru-decorator v0.21.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `"docker" "inspect" "8e15f51f235ef2878ddbf1fb410b2a9ffcb7c35b97b550beaa1924c6e78da1ed"` [INFO] running `"docker" "rm" "-f" "8e15f51f235ef2878ddbf1fb410b2a9ffcb7c35b97b550beaa1924c6e78da1ed"` [INFO] [stdout] 8e15f51f235ef2878ddbf1fb410b2a9ffcb7c35b97b550beaa1924c6e78da1ed [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/haru-decorator/0.21.0:/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" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] 7606a760af77427b45e2260132a4edf841f1f407deb6caa7efcc8dc64bd964bf [INFO] running `"docker" "start" "-a" "7606a760af77427b45e2260132a4edf841f1f407deb6caa7efcc8dc64bd964bf"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/decorator-a963fc2372a0f7db [INFO] [stderr] Doc-tests decorator [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 5 tests [INFO] [stdout] test src/lib.rs - hana_function (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - (line 3) ... FAILED [INFO] [stdout] test src/lib.rs - hana_function (line 40) ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/lib.rs - hana_function (line 49) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - hana_function (line 32) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `haru` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate haru; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 3) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `haru` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate haru; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - hana_function (line 40) stdout ---- [INFO] [stdout] error: expected one of `!`, `,`, `.`, `::`, `;`, `?`, `]`, `{`, or an operator, found `of` [INFO] [stdout] --> src/lib.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 5 | [body of fopen] [INFO] [stdout] | ^^ expected one of 9 possible tokens here [INFO] [stdout] [INFO] [stdout] error: cannot find attribute macro `hana_function` in this scope [INFO] [stdout] --> src/lib.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[hana_function()] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/lib.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 4 | fn fopen(path: Value::String, mode: Value::String) { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/lib.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn fopen(path: Value::String, mode: Value::String) { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 - (line 15) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 5 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vm` in this scope [INFO] [stdout] --> src/lib.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 3 | pub extern "C" fn succ(vm: *const Vm, nargs: u16) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - hana_function (line 49) stdout ---- [INFO] [stdout] error: expected one of `!`, `,`, `.`, `::`, `;`, `?`, `]`, `{`, or an operator, found `vm` [INFO] [stdout] --> src/lib.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 4 | if nargs != [nargs] { [raise vm error] } [INFO] [stdout] | ^^ expected one of 9 possible tokens here [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `,`, `.`, `::`, `;`, `?`, `]`, `{`, or an operator, found `of` [INFO] [stdout] --> src/lib.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 10 | [body of fopen] [INFO] [stdout] | ^^ expected one of 9 possible tokens here [INFO] [stdout] [INFO] [stdout] error: expected `[`, found `name` [INFO] [stdout] --> src/lib.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 13 | let result : Value = #name(vm); [INFO] [stdout] | ^^^^ expected `[` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/lib.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 6 | let Value::String(path) = vm.stack.pop().unwrap() || [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/lib.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 8 | let Value::String(mode) = vm.stack.pop().unwrap() || [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vm` in this scope [INFO] [stdout] --> src/lib.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 3 | pub extern "C" fn fopen(cvm : *mut Vm, nargs : u16) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/lib.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 5 | fn fopen() -> Value { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vm` in this scope [INFO] [stdout] --> src/lib.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 6 | let Value::String(path) = vm.stack.pop().unwrap() || [INFO] [stdout] | ^^ help: a local variable with a similar name exists: `cvm` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vm` in this scope [INFO] [stdout] --> src/lib.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 8 | let Value::String(mode) = vm.stack.pop().unwrap() || [INFO] [stdout] | ^^ help: a local variable with a similar name exists: `cvm` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 4 | if nargs != [nargs] { [raise vm error] } [INFO] [stdout] | ^^^^^^^ expected u16, found array of 1 elements [INFO] [stdout] | [INFO] [stdout] = note: expected type `u16` [INFO] [stdout] found type `[u16; 1]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0433. [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 - (line 15) [INFO] [stdout] src/lib.rs - (line 3) [INFO] [stdout] src/lib.rs - hana_function (line 32) [INFO] [stdout] src/lib.rs - hana_function (line 40) [INFO] [stdout] src/lib.rs - hana_function (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "7606a760af77427b45e2260132a4edf841f1f407deb6caa7efcc8dc64bd964bf"` [INFO] running `"docker" "rm" "-f" "7606a760af77427b45e2260132a4edf841f1f407deb6caa7efcc8dc64bd964bf"` [INFO] [stdout] 7606a760af77427b45e2260132a4edf841f1f407deb6caa7efcc8dc64bd964bf