[INFO] crate haru-decorator 0.21.0 is already in cache [INFO] testing haru-decorator-0.21.0 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate haru-decorator 0.21.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate haru-decorator 0.21.0 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate haru-decorator 0.21.0 [INFO] finished tweaking crates.io crate haru-decorator 0.21.0 [INFO] tweaked toml for crates.io crate haru-decorator 0.21.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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] 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] [stdout] 1c6cc053dae1ebb508d90f6208a217a79ed68b22530272112031df98e1d67767 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "1c6cc053dae1ebb508d90f6208a217a79ed68b22530272112031df98e1d67767"` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling haru-decorator v0.21.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.90s [INFO] running `"docker" "inspect" "1c6cc053dae1ebb508d90f6208a217a79ed68b22530272112031df98e1d67767"` [INFO] running `"docker" "rm" "-f" "1c6cc053dae1ebb508d90f6208a217a79ed68b22530272112031df98e1d67767"` [INFO] [stdout] 1c6cc053dae1ebb508d90f6208a217a79ed68b22530272112031df98e1d67767 [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] dd8351d921d1e870dcac7a82d6a2e95bb33a47462a2d831f80104b475fae23cb [INFO] running `"docker" "start" "-a" "dd8351d921d1e870dcac7a82d6a2e95bb33a47462a2d831f80104b475fae23cb"` [INFO] [stderr] Compiling haru-decorator v0.21.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `"docker" "inspect" "dd8351d921d1e870dcac7a82d6a2e95bb33a47462a2d831f80104b475fae23cb"` [INFO] running `"docker" "rm" "-f" "dd8351d921d1e870dcac7a82d6a2e95bb33a47462a2d831f80104b475fae23cb"` [INFO] [stdout] dd8351d921d1e870dcac7a82d6a2e95bb33a47462a2d831f80104b475fae23cb [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] [stdout] df2e1cbfbc2e78fe6c34a107b3e3706dca3198506b744cf08b299bc93168b3e4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "df2e1cbfbc2e78fe6c34a107b3e3706dca3198506b744cf08b299bc93168b3e4"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/decorator-92786fc8760e5483 [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 decorator [INFO] [stdout] [INFO] [stdout] running 5 tests [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 - hana_function (line 32) ... 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 - (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 [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `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 - 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 15) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [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:17:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: 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 [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 [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `[`, found `name` [INFO] [stdout] --> src/lib.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 13 | let result : Value = #name(vm); [INFO] [stdout] | ^^^^ expected one of `!` or `[` [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 `[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" "df2e1cbfbc2e78fe6c34a107b3e3706dca3198506b744cf08b299bc93168b3e4"` [INFO] running `"docker" "rm" "-f" "df2e1cbfbc2e78fe6c34a107b3e3706dca3198506b744cf08b299bc93168b3e4"` [INFO] [stdout] df2e1cbfbc2e78fe6c34a107b3e3706dca3198506b744cf08b299bc93168b3e4