Sep 01 16:58:41.180 INFO checking UnicodeSnowman/writing_an_interpreter_in_rust against master#1114ab684fbad001c4e580326d8eb4d8c4e917d3 for pr-53851 Sep 01 16:58:41.180 INFO running: cargo +1114ab684fbad001c4e580326d8eb4d8c4e917d3-alt check --frozen --all --all-targets Sep 01 16:58:41.180 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-0/pr-53851/master#1114ab684fbad001c4e580326d8eb4d8c4e917d3:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53851/worker-0/master#1114ab684fbad001c4e580326d8eb4d8c4e917d3:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +1114ab684fbad001c4e580326d8eb4d8c4e917d3-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Sep 01 16:58:41.329 INFO blam! 79855e811bc003ad8c8a9c2e4d0cb7141e253af04e32fa490fa67314eb8043f5 Sep 01 16:58:41.331 INFO running `"docker" "start" "-a" "79855e811bc003ad8c8a9c2e4d0cb7141e253af04e32fa490fa67314eb8043f5"` Sep 01 16:58:41.931 INFO kablam! Checking writing_an_interpreter_in_rust v0.1.0 (file:///source) Sep 01 16:58:42.238 INFO kablam! warning: private type `(dyn ast::Statement + 'static)` in public interface (error E0446) Sep 01 16:58:42.238 INFO kablam! --> src/ast.rs:16:5 Sep 01 16:58:42.238 INFO kablam! | Sep 01 16:58:42.239 INFO kablam! 16 | pub statements: Vec> Sep 01 16:58:42.239 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 01 16:58:42.239 INFO kablam! | Sep 01 16:58:42.239 INFO kablam! = note: #[warn(private_in_public)] on by default Sep 01 16:58:42.239 INFO kablam! = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! Sep 01 16:58:42.239 INFO kablam! = note: for more information, see issue #34537 Sep 01 16:58:42.239 INFO kablam! Sep 01 16:58:42.240 INFO kablam! warning: unused variable: `blah` Sep 01 16:58:42.240 INFO kablam! --> src/parser.rs:26:13 Sep 01 16:58:42.240 INFO kablam! | Sep 01 16:58:42.240 INFO kablam! 26 | let blah = lexer.current_token(); Sep 01 16:58:42.240 INFO kablam! | ^^^^ help: consider using `_blah` instead Sep 01 16:58:42.240 INFO kablam! | Sep 01 16:58:42.240 INFO kablam! = note: #[warn(unused_variables)] on by default Sep 01 16:58:42.240 INFO kablam! Sep 01 16:58:42.260 INFO kablam! error[E0502]: cannot borrow `*lexer` as mutable because it is also borrowed as immutable Sep 01 16:58:42.260 INFO kablam! --> src/parser.rs:37:18 Sep 01 16:58:42.260 INFO kablam! | Sep 01 16:58:42.260 INFO kablam! 26 | let blah = lexer.current_token(); Sep 01 16:58:42.261 INFO kablam! | ----- immutable borrow occurs here Sep 01 16:58:42.261 INFO kablam! ... Sep 01 16:58:42.261 INFO kablam! 37 | Parser { lexer, current_token, peek_token, errors: Vec::new() } Sep 01 16:58:42.261 INFO kablam! | ^^^^^ mutable borrow occurs here Sep 01 16:58:42.261 INFO kablam! 38 | } Sep 01 16:58:42.261 INFO kablam! | - immutable borrow ends here Sep 01 16:58:42.261 INFO kablam! Sep 01 16:58:42.264 INFO kablam! error: aborting due to previous error Sep 01 16:58:42.264 INFO kablam! Sep 01 16:58:42.264 INFO kablam! For more information about this error, try `rustc --explain E0502`. Sep 01 16:58:42.270 INFO kablam! error: Could not compile `writing_an_interpreter_in_rust`. Sep 01 16:58:42.270 INFO kablam! warning: build failed, waiting for other jobs to finish... Sep 01 16:58:42.428 INFO kablam! warning: private type `(dyn ast::Statement + 'static)` in public interface (error E0446) Sep 01 16:58:42.428 INFO kablam! --> src/ast.rs:16:5 Sep 01 16:58:42.428 INFO kablam! | Sep 01 16:58:42.428 INFO kablam! 16 | pub statements: Vec> Sep 01 16:58:42.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 01 16:58:42.428 INFO kablam! | Sep 01 16:58:42.428 INFO kablam! = note: #[warn(private_in_public)] on by default Sep 01 16:58:42.428 INFO kablam! = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! Sep 01 16:58:42.428 INFO kablam! = note: for more information, see issue #34537 Sep 01 16:58:42.428 INFO kablam! Sep 01 16:58:42.429 INFO kablam! warning: unused variable: `blah` Sep 01 16:58:42.429 INFO kablam! --> src/parser.rs:26:13 Sep 01 16:58:42.429 INFO kablam! | Sep 01 16:58:42.429 INFO kablam! 26 | let blah = lexer.current_token(); Sep 01 16:58:42.429 INFO kablam! | ^^^^ help: consider using `_blah` instead Sep 01 16:58:42.429 INFO kablam! | Sep 01 16:58:42.429 INFO kablam! = note: #[warn(unused_variables)] on by default Sep 01 16:58:42.430 INFO kablam! Sep 01 16:58:42.459 INFO kablam! error[E0502]: cannot borrow `*lexer` as mutable because it is also borrowed as immutable Sep 01 16:58:42.459 INFO kablam! --> src/parser.rs:37:18 Sep 01 16:58:42.459 INFO kablam! | Sep 01 16:58:42.459 INFO kablam! 26 | let blah = lexer.current_token(); Sep 01 16:58:42.459 INFO kablam! | ----- immutable borrow occurs here Sep 01 16:58:42.459 INFO kablam! ... Sep 01 16:58:42.459 INFO kablam! 37 | Parser { lexer, current_token, peek_token, errors: Vec::new() } Sep 01 16:58:42.459 INFO kablam! | ^^^^^ mutable borrow occurs here Sep 01 16:58:42.459 INFO kablam! 38 | } Sep 01 16:58:42.459 INFO kablam! | - immutable borrow ends here Sep 01 16:58:42.459 INFO kablam! Sep 01 16:58:42.463 INFO kablam! error: aborting due to previous error Sep 01 16:58:42.463 INFO kablam! Sep 01 16:58:42.463 INFO kablam! For more information about this error, try `rustc --explain E0502`. Sep 01 16:58:42.471 INFO kablam! error: Could not compile `writing_an_interpreter_in_rust`. Sep 01 16:58:42.472 INFO kablam! Sep 01 16:58:42.472 INFO kablam! To learn more, run the command again with --verbose. Sep 01 16:58:42.473 INFO kablam! su: No module specific data is present Sep 01 16:58:42.865 INFO running `"docker" "rm" "-f" "79855e811bc003ad8c8a9c2e4d0cb7141e253af04e32fa490fa67314eb8043f5"` Sep 01 16:58:42.975 INFO blam! 79855e811bc003ad8c8a9c2e4d0cb7141e253af04e32fa490fa67314eb8043f5