Sep 19 16:42:52.543 INFO checking UnicodeSnowman/writing_an_interpreter_in_rust against master#1e21c9a297a9fe668d62887a3a6a4add8e717b17 for pr-54352 Sep 19 16:42:52.543 INFO running: cargo +1e21c9a297a9fe668d62887a3a6a4add8e717b17-alt check --frozen --all --all-targets Sep 19 16:42:52.543 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-4/pr-54352/master#1e21c9a297a9fe668d62887a3a6a4add8e717b17:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-54352/worker-4/master#1e21c9a297a9fe668d62887a3a6a4add8e717b17:/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=1000" "-e" "CMD=cargo +1e21c9a297a9fe668d62887a3a6a4add8e717b17-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "crater"` Sep 19 16:42:52.750 INFO blam! 57272aae4180b4d1d685685b528d0aa6132ca46065f52625b70889e104b87e34 Sep 19 16:42:52.752 INFO running `"docker" "start" "-a" "57272aae4180b4d1d685685b528d0aa6132ca46065f52625b70889e104b87e34"` Sep 19 16:42:53.870 INFO kablam! usermod: no changes Sep 19 16:42:53.918 INFO kablam! Checking writing_an_interpreter_in_rust v0.1.0 (/source) Sep 19 16:42:54.361 INFO kablam! warning: private type `(dyn ast::Statement + 'static)` in public interface (error E0446) Sep 19 16:42:54.361 INFO kablam! --> src/ast.rs:16:5 Sep 19 16:42:54.361 INFO kablam! | Sep 19 16:42:54.361 INFO kablam! 16 | pub statements: Vec> Sep 19 16:42:54.361 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 19 16:42:54.361 INFO kablam! | Sep 19 16:42:54.361 INFO kablam! = note: #[warn(private_in_public)] on by default Sep 19 16:42:54.361 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 19 16:42:54.362 INFO kablam! = note: for more information, see issue #34537 Sep 19 16:42:54.362 INFO kablam! Sep 19 16:42:54.362 INFO kablam! warning: unused variable: `blah` Sep 19 16:42:54.362 INFO kablam! --> src/parser.rs:26:13 Sep 19 16:42:54.362 INFO kablam! | Sep 19 16:42:54.362 INFO kablam! 26 | let blah = lexer.current_token(); Sep 19 16:42:54.362 INFO kablam! | ^^^^ help: consider using `_blah` instead Sep 19 16:42:54.362 INFO kablam! | Sep 19 16:42:54.362 INFO kablam! = note: #[warn(unused_variables)] on by default Sep 19 16:42:54.362 INFO kablam! Sep 19 16:42:54.378 INFO kablam! error[E0502]: cannot borrow `*lexer` as mutable because it is also borrowed as immutable Sep 19 16:42:54.378 INFO kablam! --> src/parser.rs:37:18 Sep 19 16:42:54.378 INFO kablam! | Sep 19 16:42:54.378 INFO kablam! 26 | let blah = lexer.current_token(); Sep 19 16:42:54.378 INFO kablam! | ----- immutable borrow occurs here Sep 19 16:42:54.378 INFO kablam! ... Sep 19 16:42:54.378 INFO kablam! 37 | Parser { lexer, current_token, peek_token, errors: Vec::new() } Sep 19 16:42:54.378 INFO kablam! | ^^^^^ mutable borrow occurs here Sep 19 16:42:54.378 INFO kablam! 38 | } Sep 19 16:42:54.378 INFO kablam! | - immutable borrow ends here Sep 19 16:42:54.378 INFO kablam! Sep 19 16:42:54.378 INFO kablam! error: aborting due to previous error Sep 19 16:42:54.378 INFO kablam! Sep 19 16:42:54.378 INFO kablam! For more information about this error, try `rustc --explain E0502`. Sep 19 16:42:54.384 INFO kablam! error: Could not compile `writing_an_interpreter_in_rust`. Sep 19 16:42:54.384 INFO kablam! warning: build failed, waiting for other jobs to finish... Sep 19 16:42:54.431 INFO kablam! warning: private type `(dyn ast::Statement + 'static)` in public interface (error E0446) Sep 19 16:42:54.432 INFO kablam! --> src/ast.rs:16:5 Sep 19 16:42:54.432 INFO kablam! | Sep 19 16:42:54.432 INFO kablam! 16 | pub statements: Vec> Sep 19 16:42:54.432 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 19 16:42:54.432 INFO kablam! | Sep 19 16:42:54.432 INFO kablam! = note: #[warn(private_in_public)] on by default Sep 19 16:42:54.432 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 19 16:42:54.432 INFO kablam! = note: for more information, see issue #34537 Sep 19 16:42:54.432 INFO kablam! Sep 19 16:42:54.432 INFO kablam! warning: unused variable: `blah` Sep 19 16:42:54.432 INFO kablam! --> src/parser.rs:26:13 Sep 19 16:42:54.432 INFO kablam! | Sep 19 16:42:54.432 INFO kablam! 26 | let blah = lexer.current_token(); Sep 19 16:42:54.432 INFO kablam! | ^^^^ help: consider using `_blah` instead Sep 19 16:42:54.432 INFO kablam! | Sep 19 16:42:54.432 INFO kablam! = note: #[warn(unused_variables)] on by default Sep 19 16:42:54.432 INFO kablam! Sep 19 16:42:54.450 INFO kablam! error[E0502]: cannot borrow `*lexer` as mutable because it is also borrowed as immutable Sep 19 16:42:54.450 INFO kablam! --> src/parser.rs:37:18 Sep 19 16:42:54.450 INFO kablam! | Sep 19 16:42:54.450 INFO kablam! 26 | let blah = lexer.current_token(); Sep 19 16:42:54.450 INFO kablam! | ----- immutable borrow occurs here Sep 19 16:42:54.450 INFO kablam! ... Sep 19 16:42:54.450 INFO kablam! 37 | Parser { lexer, current_token, peek_token, errors: Vec::new() } Sep 19 16:42:54.450 INFO kablam! | ^^^^^ mutable borrow occurs here Sep 19 16:42:54.450 INFO kablam! 38 | } Sep 19 16:42:54.450 INFO kablam! | - immutable borrow ends here Sep 19 16:42:54.450 INFO kablam! Sep 19 16:42:54.456 INFO kablam! error: aborting due to previous error Sep 19 16:42:54.456 INFO kablam! Sep 19 16:42:54.456 INFO kablam! For more information about this error, try `rustc --explain E0502`. Sep 19 16:42:54.461 INFO kablam! error: Could not compile `writing_an_interpreter_in_rust`. Sep 19 16:42:54.461 INFO kablam! Sep 19 16:42:54.461 INFO kablam! To learn more, run the command again with --verbose. Sep 19 16:42:54.462 INFO kablam! su: No module specific data is present Sep 19 16:42:55.241 INFO running `"docker" "rm" "-f" "57272aae4180b4d1d685685b528d0aa6132ca46065f52625b70889e104b87e34"` Sep 19 16:42:55.354 INFO blam! 57272aae4180b4d1d685685b528d0aa6132ca46065f52625b70889e104b87e34