[INFO] updating cached repository https://github.com/marior765/rustpack [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] 72c8536c6fb057d45b362dde45a7f97f076b8808 [INFO] testing marior765/rustpack against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarior765%2Frustpack" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marior765/rustpack on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/marior765/rustpack [INFO] finished tweaking git repo https://github.com/marior765/rustpack [INFO] tweaked toml for git repo https://github.com/marior765/rustpack written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/marior765/rustpack already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3301d28b420de737b027fa18422706cc93cf9a2a482c2e1ce1dcf13a87f72248 [INFO] running `"docker" "start" "-a" "3301d28b420de737b027fa18422706cc93cf9a2a482c2e1ce1dcf13a87f72248"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling openssl v0.10.16 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.40 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling valico v2.4.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling serde_json v1.0.37 [INFO] [stderr] Compiling jsonway v2.0.0 [INFO] [stderr] Compiling rustpack v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: unknown start of token: \ [INFO] [stderr] --> src/MultiCompiler.rs:35:20 [INFO] [stderr] | [INFO] [stderr] 35 | /[/\\]/.test(common_path) [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: unknown start of token: \ [INFO] [stderr] --> src/MultiCompiler.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | /[/\\]/.test(common_path) [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: unknown start of token: \ [INFO] [stderr] --> src/MultiCompiler.rs:37:54 [INFO] [stderr] | [INFO] [stderr] 37 | common_path = common_path.replace(/[/\\][^/\\]*$/, ""); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: unknown start of token: \ [INFO] [stderr] --> src/MultiCompiler.rs:37:55 [INFO] [stderr] | [INFO] [stderr] 37 | common_path = common_path.replace(/[/\\][^/\\]*$/, ""); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: unknown start of token: \ [INFO] [stderr] --> src/MultiCompiler.rs:37:60 [INFO] [stderr] | [INFO] [stderr] 37 | common_path = common_path.replace(/[/\\][^/\\]*$/, ""); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: unknown start of token: \ [INFO] [stderr] --> src/MultiCompiler.rs:37:61 [INFO] [stderr] | [INFO] [stderr] 37 | common_path = common_path.replace(/[/\\][^/\\]*$/, ""); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `self` [INFO] [stderr] --> src/MultiCompiler.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 14 | } [INFO] [stderr] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stderr] 15 | [INFO] [stderr] 16 | self.compilers = compilers; [INFO] [stderr] | ^^^^ unexpected token [INFO] [stderr] [INFO] [stderr] error: expected expression, found `=` [INFO] [stderr] --> src/MultiCompiler.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | ) !== 0 && [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `/` [INFO] [stderr] --> src/MultiCompiler.rs:37:51 [INFO] [stderr] | [INFO] [stderr] 37 | common_path = common_path.replace(/[/\\][^/\\]*$/, ""); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected one of `:` or `|`, found `)` [INFO] [stderr] --> src/MultiCompiler.rs:63:40 [INFO] [stderr] | [INFO] [stderr] 63 | fn validateDependencies(&self, Fn()) -> bool { [INFO] [stderr] | ^ expected one of `:` or `|` [INFO] [stderr] [INFO] [stderr] error: expected expression, found `}` [INFO] [stderr] --> src/MultiCompiler.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | }; [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stderr] --> src/MultiCompiler.rs:88:46 [INFO] [stderr] | [INFO] [stderr] 88 | ... self.compilers[i], [INFO] [stderr] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stderr] [INFO] [stderr] error: expected one of `:` or `|`, found `)` [INFO] [stderr] --> src/MultiCompiler.rs:97:23 [INFO] [stderr] | [INFO] [stderr] 97 | fn run(&self, Fn()) -> Fn() { [INFO] [stderr] | ^ expected one of `:` or `|` [INFO] [stderr] [INFO] [stderr] error: expected expression, found `=` [INFO] [stderr] --> src/MultiCompiler.rs:105:24 [INFO] [stderr] | [INFO] [stderr] 105 | if (Fn() !== unimplemented!) { [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected `;`, found ``}`` [INFO] [stderr] --> src/MultiCompiler.rs:108:10 [INFO] [stderr] | [INFO] [stderr] 108 | } [INFO] [stderr] | ^ help: add `;` here [INFO] [stderr] ... [INFO] [stderr] 112 | } [INFO] [stderr] | - unexpected token [INFO] [stderr] [INFO] [stderr] error[E0583]: file not found for module `ConcurrentCompilationError` [INFO] [stderr] --> src/MultiCompiler.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | mod ConcurrentCompilationError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: to create the module `ConcurrentCompilationError`, create file "src/MultiCompiler/ConcurrentCompilationError.rs" [INFO] [stderr] [INFO] [stderr] error[E0449]: unnecessary visibility qualifier [INFO] [stderr] --> src/MultiCompiler.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | pub impl MultiCompiler { [INFO] [stderr] | ^^^ `pub` not permitted here because it's implied [INFO] [stderr] | [INFO] [stderr] = note: place qualifiers on individual impl items instead [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ConcurrentCompilationError::ConcurrentCompilationError` [INFO] [stderr] --> src/MultiCompiler.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use ConcurrentCompilationError::ConcurrentCompilationError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConcurrentCompilationError` in `MultiCompiler::ConcurrentCompilationError` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MultiCompiler` in this scope [INFO] [stderr] --> src/MultiCompiler.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | pub impl MultiCompiler { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MultiCompiler` in this scope [INFO] [stderr] --> src/MultiCompiler.rs:11:47 [INFO] [stderr] | [INFO] [stderr] 11 | fn new(&self, compilers: &Vec) -> MultiCompiler { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `commonPath` in this scope [INFO] [stderr] --> src/MultiCompiler.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | commonPath [INFO] [stderr] | ^^^^^^^^^^ help: a local variable with a similar name exists: `common_path` [INFO] [stderr] [INFO] [stderr] error[E0573]: expected type, found variant `Err` [INFO] [stderr] --> src/MultiCompiler.rs:43:29 [INFO] [stderr] | [INFO] [stderr] 43 | fn inputFileSystem() -> Err { [INFO] [stderr] | ^^^ not a type [INFO] [stderr] | [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use futures::future::Err; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0573]: expected type, found variant `Err` [INFO] [stderr] --> src/MultiCompiler.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | fn outputFileSystem() -> Err { [INFO] [stderr] | ^^^ not a type [INFO] [stderr] | [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use futures::future::Err; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stderr] --> src/MultiCompiler.rs:99:13 [INFO] [stderr] | [INFO] [stderr] 99 | Fn(ConcurrentCompilationError::new()) [INFO] [stderr] | ^^ not a function, tuple struct or tuple variant [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `new` in module `ConcurrentCompilationError` [INFO] [stderr] --> src/MultiCompiler.rs:99:44 [INFO] [stderr] | [INFO] [stderr] 99 | Fn(ConcurrentCompilationError::new()) [INFO] [stderr] | ^^^ not found in `ConcurrentCompilationError` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stderr] --> src/MultiCompiler.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | Fn(err, stats) [INFO] [stderr] | ^^ not a function, tuple struct or tuple variant [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `new` in module `MultiCompiler` [INFO] [stderr] --> src/main.rs:30:35 [INFO] [stderr] | [INFO] [stderr] 30 | let compiler = MultiCompiler::new(); [INFO] [stderr] | ^^^ not found in `MultiCompiler` [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/MultiCompiler.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/MultiCompiler.rs:79:16 [INFO] [stderr] | [INFO] [stderr] 79 | if (self.compilers[i].dependecies) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/MultiCompiler.rs:84:24 [INFO] [stderr] | [INFO] [stderr] 84 | if (!target) { [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/MultiCompiler.rs:97:28 [INFO] [stderr] | [INFO] [stderr] 97 | fn run(&self, Fn()) -> Fn() { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/MultiCompiler.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 98 | if (self.running) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/MultiCompiler.rs:116:16 [INFO] [stderr] | [INFO] [stderr] 116 | if (self.compilers[i].inputFileSystem && self.inputFileSystem().purge) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `Result` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Result, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0201]: duplicate definitions with name `inputFileSystem`: [INFO] [stderr] --> src/MultiCompiler.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 43 | / fn inputFileSystem() -> Err { [INFO] [stderr] 44 | | panic!("Cannot read inputFileSystem of a MiltiCompiler"); [INFO] [stderr] 45 | | } [INFO] [stderr] | |_____- previous definition of `inputFileSystem` here [INFO] [stderr] ... [INFO] [stderr] 51 | / fn inputFileSystem(&self, value: String) { [INFO] [stderr] 52 | | for i in 0..self.compilers.len() { [INFO] [stderr] 53 | | self.compilers[i].inputFileSystem = value; [INFO] [stderr] 54 | | } [INFO] [stderr] 55 | | } [INFO] [stderr] | |_____^ duplicate definition [INFO] [stderr] [INFO] [stderr] error[E0201]: duplicate definitions with name `outputFileSystem`: [INFO] [stderr] --> src/MultiCompiler.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 47 | / fn outputFileSystem() -> Err { [INFO] [stderr] 48 | | panic!("Cannot read outputFileSystem of a MiltiCompiler"); [INFO] [stderr] 49 | | } [INFO] [stderr] | |_____- previous definition of `outputFileSystem` here [INFO] [stderr] ... [INFO] [stderr] 57 | / fn outputFileSystem(&self, value: String) { [INFO] [stderr] 58 | | for i in 0..self.compilers.len() { [INFO] [stderr] 59 | | self.compilers[i].outputFileSystem = value; [INFO] [stderr] 60 | | } [INFO] [stderr] 61 | | } [INFO] [stderr] | |_____^ duplicate definition [INFO] [stderr] [INFO] [stderr] error: aborting due to 29 previous errors; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0201, E0412, E0423, E0425, E0432, E0449, E0573, E0583. [INFO] [stderr] For more information about an error, try `rustc --explain E0201`. [INFO] [stderr] error: could not compile `rustpack`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3301d28b420de737b027fa18422706cc93cf9a2a482c2e1ce1dcf13a87f72248"` [INFO] running `"docker" "rm" "-f" "3301d28b420de737b027fa18422706cc93cf9a2a482c2e1ce1dcf13a87f72248"` [INFO] [stdout] 3301d28b420de737b027fa18422706cc93cf9a2a482c2e1ce1dcf13a87f72248