[INFO] updating cached repository https://github.com/t1ra/collude [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d0b6b3c91e9481b9b399f4789f26282c6a90b8c9 [INFO] checking t1ra/collude against try#d7b51666469c792a8a3f40849607739bae1e705e for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft1ra%2Fcollude" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/t1ra/collude on toolchain d7b51666469c792a8a3f40849607739bae1e705e [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/t1ra/collude [INFO] finished tweaking git repo https://github.com/t1ra/collude [INFO] tweaked toml for git repo https://github.com/t1ra/collude written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/t1ra/collude already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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" "+d7b51666469c792a8a3f40849607739bae1e705e" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8eebac7686d5ae7453b357b56858630f01c4fe23f1eb8950b21c3b0bfeb150e9 [INFO] running `"docker" "start" "-a" "8eebac7686d5ae7453b357b56858630f01c4fe23f1eb8950b21c3b0bfeb150e9"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking backtrace v0.3.43 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking console v0.9.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking better-panic v0.2.0 [INFO] [stderr] Checking rustyline v6.0.0 [INFO] [stderr] Checking collude v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0583]: file not found for module `token` [INFO] [stderr] --> src/maths/lex.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | mod token; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: to create the module `token`, create file "src/maths/lex/token.rs" [INFO] [stderr] [INFO] [stderr] error[E0583]: file not found for module `token` [INFO] [stderr] --> src/maths/lex.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | mod token; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: to create the module `token`, create file "src/maths/lex/token.rs" [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/maths/lex.rs:30:42 [INFO] [stderr] | [INFO] [stderr] 14 | impl Lexer { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn next_token(&mut self) -> Result { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EOF` in this scope [INFO] [stderr] --> src/maths/lex.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | return Ok(EOF); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LPAREN` in this scope [INFO] [stderr] --> src/maths/lex.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | '(' => { self.bump(); Ok(LPAREN) } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RPAREN` in this scope [INFO] [stderr] --> src/maths/lex.rs:37:32 [INFO] [stderr] | [INFO] [stderr] 37 | ')' => { self.bump(); Ok(RPAREN) } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `NUMBER` in this scope [INFO] [stderr] --> src/maths/lex.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | Ok(NUMBER(self.src[start..end].parse::().unwrap())) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SYMBOL` in this scope [INFO] [stderr] --> src/maths/lex.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | Ok(SYMBOL(self.src[start..end].to_string())) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ADD` in this scope [INFO] [stderr] --> src/maths/lex.rs:58:32 [INFO] [stderr] | [INFO] [stderr] 58 | '+' => { self.bump(); Ok(ADD) } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SUB` in this scope [INFO] [stderr] --> src/maths/lex.rs:59:32 [INFO] [stderr] | [INFO] [stderr] 59 | '-' => { self.bump(); Ok(SUB) } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MUL` in this scope [INFO] [stderr] --> src/maths/lex.rs:60:32 [INFO] [stderr] | [INFO] [stderr] 60 | '*' => { self.bump(); Ok(MUL) } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DIV` in this scope [INFO] [stderr] --> src/maths/lex.rs:61:32 [INFO] [stderr] | [INFO] [stderr] 61 | '/' => { self.bump(); Ok(DIV) } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CARET` in this scope [INFO] [stderr] --> src/maths/lex.rs:62:32 [INFO] [stderr] | [INFO] [stderr] 62 | '^' => { self.bump(); Ok(CARET) } [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EQUALS` in this scope [INFO] [stderr] --> src/maths/lex.rs:63:32 [INFO] [stderr] | [INFO] [stderr] 63 | '=' => { self.bump(); Ok(EQUALS) } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/maths/lex.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/maths/lex.rs:30:42 [INFO] [stderr] | [INFO] [stderr] 14 | impl Lexer { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn next_token(&mut self) -> Result { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EOF` in this scope [INFO] [stderr] --> src/maths/lex.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | return Ok(EOF); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LPAREN` in this scope [INFO] [stderr] --> src/maths/lex.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | '(' => { self.bump(); Ok(LPAREN) } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RPAREN` in this scope [INFO] [stderr] --> src/maths/lex.rs:37:32 [INFO] [stderr] | [INFO] [stderr] 37 | ')' => { self.bump(); Ok(RPAREN) } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `NUMBER` in this scope [INFO] [stderr] --> src/maths/lex.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | Ok(NUMBER(self.src[start..end].parse::().unwrap())) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SYMBOL` in this scope [INFO] [stderr] --> src/maths/lex.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | Ok(SYMBOL(self.src[start..end].to_string())) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ADD` in this scope [INFO] [stderr] --> src/maths/lex.rs:58:32 [INFO] [stderr] | [INFO] [stderr] 58 | '+' => { self.bump(); Ok(ADD) } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SUB` in this scope [INFO] [stderr] --> src/maths/lex.rs:59:32 [INFO] [stderr] | [INFO] [stderr] 59 | '-' => { self.bump(); Ok(SUB) } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MUL` in this scope [INFO] [stderr] --> src/maths/lex.rs:60:32 [INFO] [stderr] | [INFO] [stderr] 60 | '*' => { self.bump(); Ok(MUL) } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DIV` in this scope [INFO] [stderr] --> src/maths/lex.rs:61:32 [INFO] [stderr] | [INFO] [stderr] 61 | '/' => { self.bump(); Ok(DIV) } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CARET` in this scope [INFO] [stderr] --> src/maths/lex.rs:62:32 [INFO] [stderr] | [INFO] [stderr] 62 | '^' => { self.bump(); Ok(CARET) } [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EQUALS` in this scope [INFO] [stderr] --> src/maths/lex.rs:63:32 [INFO] [stderr] | [INFO] [stderr] 63 | '=' => { self.bump(); Ok(EQUALS) } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/maths/lex.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/maths/mod.rs:6:67 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn calc(vars: HashMap<&str, BigRational>, problem: String) -> String { [INFO] [stderr] | ---- ^^^^^^ expected struct `std::string::String`, found `()` [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0425, E0583. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `collude`. [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] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/maths/mod.rs:6:67 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn calc(vars: HashMap<&str, BigRational>, problem: String) -> String { [INFO] [stderr] | ---- ^^^^^^ expected struct `std::string::String`, found `()` [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0425, E0583. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `collude`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8eebac7686d5ae7453b357b56858630f01c4fe23f1eb8950b21c3b0bfeb150e9"` [INFO] running `"docker" "rm" "-f" "8eebac7686d5ae7453b357b56858630f01c4fe23f1eb8950b21c3b0bfeb150e9"` [INFO] [stdout] 8eebac7686d5ae7453b357b56858630f01c4fe23f1eb8950b21c3b0bfeb150e9