[INFO] updating cached repository https://github.com/dylancromer/rustywebserver [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31549c29b94852fc88fe0fd7baec0b0aeb7407e3 [INFO] checking dylancromer/rustywebserver against try#85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 for pr-73323 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdylancromer%2Frustywebserver" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dylancromer/rustywebserver on toolchain 85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dylancromer/rustywebserver [INFO] finished tweaking git repo https://github.com/dylancromer/rustywebserver [INFO] tweaked toml for git repo https://github.com/dylancromer/rustywebserver written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/dylancromer/rustywebserver already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae223296b0a6d1dca7305bab94aa22251223a87aa40bf8d791da44a0cfee5490 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ae223296b0a6d1dca7305bab94aa22251223a87aa40bf8d791da44a0cfee5490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae223296b0a6d1dca7305bab94aa22251223a87aa40bf8d791da44a0cfee5490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae223296b0a6d1dca7305bab94aa22251223a87aa40bf8d791da44a0cfee5490", kill_on_drop: false }` [INFO] [stdout] ae223296b0a6d1dca7305bab94aa22251223a87aa40bf8d791da44a0cfee5490 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac63b21152a28faaaaf5c19b487400b97d906b6137047d0d04e1c9f2be36fcc9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ac63b21152a28faaaaf5c19b487400b97d906b6137047d0d04e1c9f2be36fcc9", kill_on_drop: false }` [INFO] [stderr] Checking rustywebserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: struct is not supported in `trait`s or `impl`s [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Worker { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider moving the struct out to a nearby module scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | impl Worker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider moving the implementation out to a nearby module scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct is not supported in `trait`s or `impl`s [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Worker { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider moving the struct out to a nearby module scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | impl Worker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider moving the implementation out to a nearby module scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Worker` [INFO] [stdout] --> src/lib.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | workers.push(Worker::new(id)); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Worker` in this scope [INFO] [stdout] --> src/lib.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ThreadPool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 4 | workers: Vec, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Worker` [INFO] [stdout] --> src/lib.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | workers.push(Worker::new(id)); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Worker` in this scope [INFO] [stdout] --> src/lib.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ThreadPool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 4 | workers: Vec, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustywebserver`. [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] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ac63b21152a28faaaaf5c19b487400b97d906b6137047d0d04e1c9f2be36fcc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac63b21152a28faaaaf5c19b487400b97d906b6137047d0d04e1c9f2be36fcc9", kill_on_drop: false }` [INFO] [stdout] ac63b21152a28faaaaf5c19b487400b97d906b6137047d0d04e1c9f2be36fcc9