[INFO] cloning repository https://github.com/JoshuaRadin37/modular_lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoshuaRadin37/modular_lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fmodular_lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fmodular_lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b3a5165042f23fa89755219dd049d9da2465e7c [INFO] checking JoshuaRadin37/modular_lang against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fmodular_lang" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoshuaRadin37/modular_lang on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JoshuaRadin37/modular_lang [INFO] finished tweaking git repo https://github.com/JoshuaRadin37/modular_lang [INFO] tweaked toml for git repo https://github.com/JoshuaRadin37/modular_lang written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/JoshuaRadin37/modular_lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 409e3d249803f757befc02b79a9d10078f4b648147b496686836f688b35fe242 [INFO] running `Command { std: "docker" "start" "-a" "409e3d249803f757befc02b79a9d10078f4b648147b496686836f688b35fe242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "409e3d249803f757befc02b79a9d10078f4b648147b496686836f688b35fe242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "409e3d249803f757befc02b79a9d10078f4b648147b496686836f688b35fe242", kill_on_drop: false }` [INFO] [stdout] 409e3d249803f757befc02b79a9d10078f4b648147b496686836f688b35fe242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 215787c2b41e4ac55f465453df97c86704ee831978994f7c92fac33e53578fa5 [INFO] running `Command { std: "docker" "start" "-a" "215787c2b41e4ac55f465453df97c86704ee831978994f7c92fac33e53578fa5", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking indexed v0.2.0 [INFO] [stderr] Checking modular_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/lexer) [INFO] [stderr] Checking byteorder v1.3.4 [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 195 | lerr!("There must be a following ' in a char literal") [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | _ => lerr!("Unsupported escape code"), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 221 | Some('\n') => lerr!("Strings must be on the same line"), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 225 | None => lerr!("Non-terminated String"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 313 | lerr!(".. is not a valid operator, needs to be either . or ...") [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 395 | _ => lerr!("Unsupported character"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 399 | lerr!("No token created!") [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> lexer/src/lexing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_invariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn is_covariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | fn is_contravariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn can_cast_to(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Primitive` in public interface (error E0445) [INFO] [stdout] --> core/src/types/primitives.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / impl Type for R { [INFO] [stdout] 8 | | fn get_size(&self) -> usize { [INFO] [stdout] 9 | | self.size() [INFO] [stdout] 10 | | } [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 195 | lerr!("There must be a following ' in a char literal") [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | _ => lerr!("Unsupported escape code"), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 221 | Some('\n') => lerr!("Strings must be on the same line"), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 225 | None => lerr!("Non-terminated String"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 313 | lerr!(".. is not a valid operator, needs to be either . or ...") [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 395 | _ => lerr!("Unsupported character"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 399 | lerr!("No token created!") [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> lexer/src/lexing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_invariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn is_covariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | fn is_contravariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn can_cast_to(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Primitive` in public interface (error E0445) [INFO] [stdout] --> core/src/types/primitives.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / impl Type for R { [INFO] [stdout] 8 | | fn get_size(&self) -> usize { [INFO] [stdout] 9 | | self.size() [INFO] [stdout] 10 | | } [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lexer` [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "215787c2b41e4ac55f465453df97c86704ee831978994f7c92fac33e53578fa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "215787c2b41e4ac55f465453df97c86704ee831978994f7c92fac33e53578fa5", kill_on_drop: false }` [INFO] [stdout] 215787c2b41e4ac55f465453df97c86704ee831978994f7c92fac33e53578fa5