[INFO] crate rcalc 0.1.2 is already in cache [INFO] testing rcalc-0.1.2 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate rcalc 0.1.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rcalc 0.1.2 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate rcalc 0.1.2 [INFO] finished tweaking crates.io crate rcalc 0.1.2 [INFO] tweaked toml for crates.io crate rcalc 0.1.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: `panic` setting is ignored for `bench` profile [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stdout] 7da69bd886a85ded91031f4fcc2630c838eea46148ce2a0c3ca688939d90f41a [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" "7da69bd886a85ded91031f4fcc2630c838eea46148ce2a0c3ca688939d90f41a"` [INFO] [stderr] warning: `panic` setting is ignored for `bench` profile [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling rustyline v1.0.0 [INFO] [stderr] Compiling rcalc v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.91s [INFO] running `"docker" "inspect" "7da69bd886a85ded91031f4fcc2630c838eea46148ce2a0c3ca688939d90f41a"` [INFO] running `"docker" "rm" "-f" "7da69bd886a85ded91031f4fcc2630c838eea46148ce2a0c3ca688939d90f41a"` [INFO] [stdout] 7da69bd886a85ded91031f4fcc2630c838eea46148ce2a0c3ca688939d90f41a [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 6596910153c59079f5cc32f40d9146adb02d39342b79f6d3d8ac84692a1c3f4f [INFO] running `"docker" "start" "-a" "6596910153c59079f5cc32f40d9146adb02d39342b79f6d3d8ac84692a1c3f4f"` [INFO] [stderr] warning: `panic` setting is ignored for `bench` profile [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rcalc v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.60s [INFO] running `"docker" "inspect" "6596910153c59079f5cc32f40d9146adb02d39342b79f6d3d8ac84692a1c3f4f"` [INFO] running `"docker" "rm" "-f" "6596910153c59079f5cc32f40d9146adb02d39342b79f6d3d8ac84692a1c3f4f"` [INFO] [stdout] 6596910153c59079f5cc32f40d9146adb02d39342b79f6d3d8ac84692a1c3f4f [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] e2c57cfa5864992c95689ce966c84ee0d6056d62f97fb12caf138b7d1a3bb18a [INFO] running `"docker" "start" "-a" "e2c57cfa5864992c95689ce966c84ee0d6056d62f97fb12caf138b7d1a3bb18a"` [INFO] [stderr] warning: `panic` setting is ignored for `bench` profile [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rcalc-98bcd4fabbb872c9 [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] [stderr] Running /opt/rustwide/target/debug/deps/rcalc-8d8f27c90364693a [INFO] [stdout] running 0 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gen-7eabd3ca627f1dc5 [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 3 tests [INFO] [stdout] test tests::it_handles_numbers_of_more_than_one_digit ... ok [INFO] [stdout] test tests::it_handles_whitespace ... ok [INFO] [stdout] test tests::it_does_serial_mathematics ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/operators-a3f07e1a3ec82149 [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test operators::division::it_does_division ... ok [INFO] [stdout] test operators::division::it_does_modulo_division ... ok [INFO] [stdout] test operators::factorial::it_does_factorial ... ok [INFO] [stdout] test operators::division::it_does_integer_division ... ok [INFO] [stdout] test operators::it_does_addition ... ok [INFO] [stdout] test operators::it_does_multiplication ... ok [INFO] [stdout] test operators::factorial::it_does_factorial_with_odd_negative ... ok [INFO] [stdout] test operators::it_handles_unary_operators ... ok [INFO] [stdout] test operators::factorial::it_does_factorial_with_even_negative ... ok [INFO] [stdout] test operators::it_does_subtraction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/precedence-eb17da7936125949 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test precedence::femdas ... ok [INFO] [stdout] test precedence::emdas ... ok [INFO] [stdout] test precedence::mdas ... ok [INFO] [stdout] test precedence::pfemdas ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests rcalc [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/rcalc/ast.rs - rcalc::ast::ASTNode (line 7) ... ignored [INFO] [stdout] test src/rcalc/lexer.rs - rcalc::lexer::Lexer (line 14) ... ignored [INFO] [stdout] test src/rcalc/ast.rs - rcalc::ast::ASTNode::from (line 24) ... FAILED [INFO] [stdout] test src/rcalc/token.rs - rcalc::token::Token (line 18) ... FAILED [INFO] [stdout] test src/rcalc/parser/parser.rs - rcalc::parser::parser::Parser (line 22) ... FAILED [INFO] [stdout] test src/rcalc/lexer.rs - rcalc::lexer::Lexer::next_token (line 123) ... FAILED [INFO] [stdout] test src/rcalc/lexer.rs - rcalc::lexer::Lexer::skip (line 104) ... FAILED [INFO] [stdout] test src/lib.rs - (line 48) ... ok [INFO] [stdout] test src/lib.rs - (line 34) ... ok [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/rcalc/ast.rs - rcalc::ast::ASTNode::from (line 24) stdout ---- [INFO] [stdout] error: Cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/rcalc/ast.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod rcalc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rcalc/token.rs - rcalc::token::Token (line 18) stdout ---- [INFO] [stdout] error: Cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/rcalc/token.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod rcalc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rcalc/parser/parser.rs - rcalc::parser::parser::Parser (line 22) stdout ---- [INFO] [stdout] error: Cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/rcalc/parser/parser.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod rcalc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rcalc/lexer.rs - rcalc::lexer::Lexer::next_token (line 123) stdout ---- [INFO] [stdout] error: Cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/rcalc/lexer.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod rcalc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rcalc/lexer.rs - rcalc::lexer::Lexer::skip (line 104) stdout ---- [INFO] [stdout] error: Cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/rcalc/lexer.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod rcalc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/rcalc/ast.rs - rcalc::ast::ASTNode::from (line 24) [INFO] [stdout] src/rcalc/lexer.rs - rcalc::lexer::Lexer::next_token (line 123) [INFO] [stdout] src/rcalc/lexer.rs - rcalc::lexer::Lexer::skip (line 104) [INFO] [stdout] src/rcalc/parser/parser.rs - rcalc::parser::parser::Parser (line 22) [INFO] [stdout] src/rcalc/token.rs - rcalc::token::Token (line 18) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 5 failed; 2 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "e2c57cfa5864992c95689ce966c84ee0d6056d62f97fb12caf138b7d1a3bb18a"` [INFO] running `"docker" "rm" "-f" "e2c57cfa5864992c95689ce966c84ee0d6056d62f97fb12caf138b7d1a3bb18a"` [INFO] [stdout] e2c57cfa5864992c95689ce966c84ee0d6056d62f97fb12caf138b7d1a3bb18a