Closed TrueDoctor closed 5 years ago
Build 'Ratatosk' is failing!
Last 50 lines of build output:
[...truncated 30.73 KB...]
-use std::convert::TryInto;
#[derive(Debug, Default)]
pub struct SharedMemory {
Diff in /home/runner/workspace/Ratatosk/webhogg/wasm/src/memory.rs at line 19:
static mut MEMORY: Option<SharedMemory> = None;
pub fn init_mem() {
- unsafe { MEMORY = Some(SharedMemory::default()); }
+ unsafe {
+ MEMORY = Some(SharedMemory::default());
+ }
}
pub fn get_mem() -> u32 {
Diff in /home/runner/workspace/Ratatosk/webhogg/wasm/src/talloc.rs at line 3:
pub const MIN_ADDR: usize = 64000;
struct Allocator {
- addr_pos: usize
+ addr_pos: usize,
}
#[derive(Clone)]
Diff in /home/runner/workspace/Ratatosk/webhogg/wasm/src/talloc.rs at line 10:
pub struct TAllocator;
-static mut G: Allocator = Allocator {
- addr_pos: MIN_ADDR,
-};
+static mut G: Allocator = Allocator { addr_pos: MIN_ADDR };
unsafe impl GlobalAlloc for TAllocator {
unsafe fn alloc(&self, _layout: Layout) -> *mut u8 {
Diff in /home/runner/workspace/Ratatosk/webhogg/wasm/src/talloc.rs at line 22:
// crate::logger::log_num(_align as u32);
let too_much = _size % _align;
- let size = _size + (
- if too_much == 0
- { 0 }
- else
- { _align - too_much }
- );
+ let size = _size + (if too_much == 0 { 0 } else { _align - too_much });
let pos = G.addr_pos;
G.addr_pos += size;
Build step 'Run with timeout' marked build as failure
Changes since last successful build:
[natrixaeria] 8028c722df648fd3874b4b158dc00b34213171bb - Reimplement WebAssembly-Frontend
[natrixaeria] e143e3120a3e437879182c22458d1fb69987eb3c - Add auto-formatting into build script
Build 'Ratatosk' is failing!
Last 50 lines of build output:
[...truncated 1.57 KB...]
+ echo 'starting build'
starting build
[Set GitHub commit status (universal)] PENDING on repos [GHRepository@756aa0de[description=A sipmle Discord Bot, interfacing to the DSA "Heldensoftware", for a minimalistic and low labor aproach to digitalize p&p rpg's,homepage=https://kobert.dev/dsa,name=DiscoBot,license=<null>,fork=false,archived=false,size=1067,milestones={},language=C#,commits={},source=<null>,parent=<null>,responseHeaderFields={null=[HTTP/1.1 200 OK], Access-Control-Allow-Origin=[*], Access-Control-Expose-Headers=[ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type], Cache-Control=[private, max-age=60, s-maxage=60], Content-Encoding=[gzip], Content-Security-Policy=[default-src 'none'], Content-Type=[application/octet-stream], Date=[Sat, 13 Jul 2019 13:27:41 GMT], ETag=["15b7d0b62791130cb6e240d71d8acaa2"], Last-Modified=[Mon, 08 Jul 2019 17:31:48 GMT], OkHttp-Received-Millis=[1563024461652], OkHttp-Response-Source=[CACHE 200], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1563024461468], Referrer-Policy=[origin-when-cross-origin, strict-origin-when-cross-origin], Server=[GitHub.com], Status=[304 Not Modified], Strict-Transport-Security=[max-age=31536000; includeSubdomains; preload], Transfer-Encoding=[chunked], Vary=[Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding], X-Accepted-OAuth-Scopes=[repo], X-Content-Type-Options=[nosniff], X-Frame-Options=[deny], X-GitHub-Media-Type=[github.v3; format=json], X-GitHub-Request-Id=[A740:9A65:5110F05:643C093:5D29DC4D], X-OAuth-Scopes=[admin:repo_hook, repo], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4999], X-RateLimit-Reset=[1563028001], X-XSS-Protection=[1; mode=block]},url=https://api.github.com/repos/TrueDoctor/DiscoBot,id=86006798]] (sha:e143e31) with context:Games
Setting commit status on GitHub for https://github.com/TrueDoctor/DiscoBot/commit/e143e3120a3e437879182c22458d1fb69987eb3c
[Ratatosk] $ /bin/sh -xe /tmp/jenkins7128473771607430591.sh
+ cd webhogg/wasm
+ ./build
Fresh unicode-xid v0.1.0
Fresh cc v1.0.37
Fresh version_check v0.1.5
Fresh rustc-demangle v0.1.15
Fresh lazy_static v1.3.0
Fresh bumpalo v2.5.0
Fresh unicode-segmentation v1.3.0
Fresh sourcefile v0.1.4
Fresh cfg-if v0.1.9
Fresh rand v0.4.6
Fresh proc-macro2 v0.4.30
Fresh memchr v2.2.0
Fresh wasm-bindgen-shared v0.2.47
Fresh heck v0.3.1
Fresh log v0.4.6
Fresh libc v0.2.58
Fresh quote v0.6.12
Fresh backtrace-sys v0.1.30
Fresh nom v4.2.3
Fresh fern v0.5.8
Fresh rand v0.3.23
Fresh syn v0.15.39
Fresh backtrace v0.3.32
Fresh weedle v0.9.0
Fresh synstructure v0.10.2
Fresh wasm-bindgen-backend v0.2.47
Fresh failure_derive v0.1.5
Fresh wasm-bindgen-macro-support v0.2.47
Fresh failure v0.1.5
Fresh wasm-bindgen-macro v0.2.47
Fresh wasm-bindgen-webidl v0.2.47
Fresh wasm-bindgen v0.2.47
Fresh js-sys v0.3.24
Fresh web-sys v0.3.24
Fresh webhogg-wasm v0.1.0 (/home/runner/workspace/Ratatosk/webhogg/wasm)
Finished release [optimized] target(s) in 0.05s
SUCCESS
+ cargo +nightly clippy --all
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
+ //cargo +nightly fmt --all -- --check
/tmp/jenkins7128473771607430591.sh: line 5: //cargo: No such file or directory
Build step 'Run with timeout' marked build as failure
Changes since last successful build:
[natrixaeria] 8028c722df648fd3874b4b158dc00b34213171bb - Reimplement WebAssembly-Frontend
[natrixaeria] e143e3120a3e437879182c22458d1fb69987eb3c - Add auto-formatting into build script
No changes
Build 'Ratatosk' is failing!
Last 50 lines of build output:
[...truncated 20.84 KB...]
help: consider boxing the large fields to reduce the total size of the enum
|
20 | BadResponse(Box<Response>),
| ^^^^^^^^^^^^^
warning: passing a unit value to a function
--> src/backend_connection.rs:61:12
|
61 | Ok(self.req_sender.send(Url::parse(&format!("{}{}", self.host, location))?).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(clippy::unit_arg)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg
help: if you intended to pass a unit value, use a unit literal instead
|
61 | Ok(())
| ^^
warning: this argument (4 byte) is passed by reference, but would be more efficient if passed by value (limit: 8 byte)
--> src/backend_connection.rs:68:45
|
68 | pub fn validate_token(&mut self, token: &Token) -> TokenValidity {
| ^^^^^^ help: consider passing by value instead: `Token`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref
warning: redundant closure found
--> src/backend_connection.rs:70:41
|
70 | self.request(&location).map_err(|err| BackendError::UrlError(err))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `BackendError::UrlError`
|
= note: #[warn(clippy::redundant_closure)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
warning: redundant closure found
--> src/backend_connection.rs:71:52
|
71 | let response = self.get_response().map_err(|err| BackendError::RequestError(err))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `BackendError::RequestError`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
error: aborting due to 3 previous errors
error: Could not compile `game-server`.
To learn more, run the command again with --verbose.
Build step 'Run with timeout' marked build as failure
Changes since last successful build:
[natrixaeria] 8028c722df648fd3874b4b158dc00b34213171bb - Reimplement WebAssembly-Frontend
[natrixaeria] e143e3120a3e437879182c22458d1fb69987eb3c - Add auto-formatting into build script
No changes No changes
Build 'Ratatosk' is failing!
Last 50 lines of build output:
[...truncated 17.65 KB...]
help: consider boxing the large fields to reduce the total size of the enum
|
20 | BadResponse(Box<Response>),
| ^^^^^^^^^^^^^
warning: passing a unit value to a function
--> src/backend_connection.rs:61:12
|
61 | Ok(self.req_sender.send(Url::parse(&format!("{}{}", self.host, location))?).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(clippy::unit_arg)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg
help: if you intended to pass a unit value, use a unit literal instead
|
61 | Ok(())
| ^^
warning: this argument (4 byte) is passed by reference, but would be more efficient if passed by value (limit: 8 byte)
--> src/backend_connection.rs:68:45
|
68 | pub fn validate_token(&mut self, token: &Token) -> TokenValidity {
| ^^^^^^ help: consider passing by value instead: `Token`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref
warning: redundant closure found
--> src/backend_connection.rs:70:41
|
70 | self.request(&location).map_err(|err| BackendError::UrlError(err))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `BackendError::UrlError`
|
= note: #[warn(clippy::redundant_closure)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
warning: redundant closure found
--> src/backend_connection.rs:71:52
|
71 | let response = self.get_response().map_err(|err| BackendError::RequestError(err))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `BackendError::RequestError`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
error: aborting due to 3 previous errors
error: Could not compile `game-server`.
To learn more, run the command again with --verbose.
Build step 'Run with timeout' marked build as failure
Changes since last successful build:
[natrixaeria] 8028c722df648fd3874b4b158dc00b34213171bb - Reimplement WebAssembly-Frontend
[natrixaeria] e143e3120a3e437879182c22458d1fb69987eb3c - Add auto-formatting into build script
No changes No changes
[natrixaeria] 6697dc5dec39516b04c282aed3066462c7a1a162 - Remove unnecessary extern crate
[natrixaeria] 4a2932f7196cad1c6b05222ffd27976fc6d65c3c - Make colored output for build issues in cargo fmt
[natrixaeria] aea65315112c99870e10ddb9e106d362b0e4973d - Increment counter in shared memory
Build 'Ratatosk' is failing!
Last 50 lines of build output:
[...truncated 9.70 KB...]
logic: [0m[0m[1m[32m Compiling[0m heck v0.3.1
logic: [0m[0m[1m[32m Compiling[0m fern v0.5.8
logic: [0m[0m[1m[32m Compiling[0m nom v4.2.3
logic: [0m[0m[1m[32m Compiling[0m rand v0.3.23
logic: [0m[0m[1m[32m Compiling[0m weedle v0.10.0
logic: [0m[0m[1m[32m Compiling[0m quote v0.6.13
logic: [0m[0m[1m[32m Compiling[0m backtrace-sys v0.1.30
logic: [0m[0m[1m[32m Compiling[0m backtrace v0.3.32
logic: [0m[0m[1m[32m Compiling[0m synstructure v0.10.2
logic: [0m[0m[1m[32m Compiling[0m wasm-bindgen-backend v0.2.48
logic: [0m[0m[1m[32m Compiling[0m wasm-bindgen-macro-support v0.2.48
logic: [0m[0m[1m[32m Compiling[0m failure v0.1.5
logic: [0m[0m[1m[32m Compiling[0m wasm-bindgen-webidl v0.2.48
logic: [0m[0m[1m[32m Compiling[0m wasm-bindgen-macro v0.2.48
logic: [0m[0m[1m[32m Compiling[0m js-sys v0.3.25
logic: [0m[0m[1m[32m Compiling[0m web-sys v0.3.25
logic: [0m[0m[1m[32m Compiling[0m webhogg-wasm-shared v0.1.0 (/home/runner/workspace/Ratatosk/webhogg/client/shared)
logic: [0m[0m[1m[32m Compiling[0m webhogg-wasm-logic v0.1.0 (/home/runner/workspace/Ratatosk/webhogg/client/logic)
logic: [0m[0m[1m[32m Finished[0m release [optimized] target(s) in 51.25s
logic: [1mwasm-bindgen[m
logic: rm: cannot remove 'target/wasm32-unknown-unknown/release/webhogg_wasm.wasm': No such file or directory
logic: error:
logic:
logic: it looks like the Rust project used to create this wasm file was linked against
logic: a different version of wasm-bindgen than this binary:
logic:
logic: rust wasm file: 0.2.48
logic: this binary: 0.2.47 (bf631eda1)
logic:
logic: Currently the bindgen format is unstable enough that these two version must
logic: exactly match, so it's required that these two version are kept in sync by
logic: either updating the wasm-bindgen dependency or this binary. You should be able
logic: to update the wasm-bindgen dependency with:
logic:
logic: cargo update -p wasm-bindgen
logic:
logic: or you can update the binary with
logic:
logic: cargo install -f wasm-bindgen-cli
logic:
logic: if this warning fails to go away though and you're not sure what to do feel free
logic: to open an issue at https://github.com/rustwasm/wasm-bindgen/issues!
logic:
logic: error: wasm-bindgen failed
[1;97m[31mfailed[m[1;97m logic build
------------------[m
+ cargo +nightly clippy --all
error: could not find `Cargo.toml` in `/home/runner/workspace/Ratatosk/webhogg/client` or any parent directory
Build step 'Run with timeout' marked build as failure
Changes since last successful build:
[natrixaeria] 8028c722df648fd3874b4b158dc00b34213171bb - Reimplement WebAssembly-Frontend
[natrixaeria] e143e3120a3e437879182c22458d1fb69987eb3c - Add auto-formatting into build script
No changes No changes
[natrixaeria] 6697dc5dec39516b04c282aed3066462c7a1a162 - Remove unnecessary extern crate
[natrixaeria] 4a2932f7196cad1c6b05222ffd27976fc6d65c3c - Make colored output for build issues in cargo fmt
[natrixaeria] aea65315112c99870e10ddb9e106d362b0e4973d - Increment counter in shared memory
No changes
Build 'Ratatosk' is failing!
Last 50 lines of build output:
[...truncated 820 B...]
> git fetch --tags --force --progress https://github.com/truedoctor/discobot +refs/heads/*:refs/remotes/origin/*
Seen branch in repository origin/animation
Seen branch in repository origin/dev
Seen branch in repository origin/master
Seen branch in repository origin/readme-correction
Seen branch in repository origin/wasm
Seen branch in repository origin/webhogg
Seen 6 remote branches
> git show-ref --tags -d # timeout=10
Checking out Revision aea65315112c99870e10ddb9e106d362b0e4973d (origin/wasm)
> git config core.sparsecheckout # timeout=10
> git checkout -f aea65315112c99870e10ddb9e106d362b0e4973d
Commit message: "Increment counter in shared memory"
> git rev-list --no-walk aea65315112c99870e10ddb9e106d362b0e4973d # timeout=10
[Ratatosk] $ /bin/sh -xe /tmp/jenkins1773360371358222132.sh
+ echo 'starting build'
starting build
[Set GitHub commit status (universal)] PENDING on repos [GHRepository@31fd35dc[description=A sipmle Discord Bot, interfacing to the DSA "Heldensoftware", for a minimalistic and low labor aproach to digitalize p&p rpg's,homepage=https://kobert.dev/dsa,name=DiscoBot,license=<null>,fork=false,archived=false,size=1067,milestones={},language=C#,commits={},source=<null>,parent=<null>,responseHeaderFields={null=[HTTP/1.1 200 OK], Access-Control-Allow-Origin=[*], Access-Control-Expose-Headers=[ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type], Cache-Control=[private, max-age=60, s-maxage=60], Content-Encoding=[gzip], Content-Security-Policy=[default-src 'none'], Content-Type=[application/octet-stream], Date=[Sat, 13 Jul 2019 14:17:54 GMT], ETag=["5bf5e4a262a4d504eec2845b4ee81247"], Last-Modified=[Mon, 08 Jul 2019 17:31:48 GMT], OkHttp-Received-Millis=[1563027474474], OkHttp-Response-Source=[CONDITIONAL_CACHE 304], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1563027474293], Referrer-Policy=[origin-when-cross-origin, strict-origin-when-cross-origin], Server=[GitHub.com], Status=[304 Not Modified], Strict-Transport-Security=[max-age=31536000; includeSubdomains; preload], Transfer-Encoding=[chunked], Vary=[Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding], X-Accepted-OAuth-Scopes=[repo], X-Content-Type-Options=[nosniff], X-Frame-Options=[deny], X-GitHub-Media-Type=[github.v3; format=json], X-GitHub-Request-Id=[9BC6:9A65:51BEEC7:6515E2C:5D29E812], X-OAuth-Scopes=[admin:repo_hook, repo], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4983], X-RateLimit-Reset=[1563031074], X-XSS-Protection=[1; mode=block]},url=https://api.github.com/repos/TrueDoctor/DiscoBot,id=86006798]] (sha:aea6531) with context:Games
Setting commit status on GitHub for https://github.com/TrueDoctor/DiscoBot/commit/aea65315112c99870e10ddb9e106d362b0e4973d
[Ratatosk] $ /bin/sh -xe /tmp/jenkins1251657010013733561.sh
+ cd webhogg/client
+ ./build
[1;97mStart application build
=======================[m
graphics: [1mcargo fmt[m
graphics: [1mcargo[m
graphics: [0m[0m[1m[32m Finished[0m release [optimized] target(s) in 0.08s
graphics: [1mwasm-bindgen[m
graphics: [1mwasm-opt[m
graphics: SUCCESS
[1;97m[92msucceeded[m[1;97m graphics build
------------------------[m
logic: [1mcargo fmt[m
logic: [1mcargo[m
logic: [0m[0m[1m[32m Finished[0m release [optimized] target(s) in 0.04s
logic: [1mwasm-bindgen[m
logic: [1mwasm-opt[m
logic: SUCCESS
[1;97m[92msucceeded[m[1;97m logic build
---------------------[m
[1m> [0;97mMove targets into [3mgen/
[mcp: cannot create regular file 'gen/graphics.wasm': No such file or directory
cp: cannot create regular file 'gen/graphics.js': No such file or directory
cp: cannot create regular file 'gen/logic.wasm': No such file or directory
cp: cannot create regular file 'gen/logic.js': No such file or directory
Build step 'Run with timeout' marked build as failure
Changes since last successful build:
[natrixaeria] 8028c722df648fd3874b4b158dc00b34213171bb - Reimplement WebAssembly-Frontend
[natrixaeria] e143e3120a3e437879182c22458d1fb69987eb3c - Add auto-formatting into build script
No changes No changes
[natrixaeria] 6697dc5dec39516b04c282aed3066462c7a1a162 - Remove unnecessary extern crate
[natrixaeria] 4a2932f7196cad1c6b05222ffd27976fc6d65c3c - Make colored output for build issues in cargo fmt
[natrixaeria] aea65315112c99870e10ddb9e106d362b0e4973d - Increment counter in shared memory
No changes No changes
Build 'Ratatosk' is failing!
Last 50 lines of build output:
[...truncated 720 B...]
> git --version # timeout=10
using GIT_ASKPASS to set credentials
> git fetch --tags --force --progress https://github.com/truedoctor/discobot +refs/heads/*:refs/remotes/origin/*
Seen branch in repository origin/animation
Seen branch in repository origin/dev
Seen branch in repository origin/master
Seen branch in repository origin/readme-correction
Seen branch in repository origin/wasm
Seen branch in repository origin/webhogg
Seen 6 remote branches
> git show-ref --tags -d # timeout=10
Checking out Revision aea65315112c99870e10ddb9e106d362b0e4973d (origin/wasm)
> git config core.sparsecheckout # timeout=10
> git checkout -f aea65315112c99870e10ddb9e106d362b0e4973d
Commit message: "Increment counter in shared memory"
> git rev-list --no-walk aea65315112c99870e10ddb9e106d362b0e4973d # timeout=10
[Ratatosk] $ /bin/sh -xe /tmp/jenkins6175004663287398048.sh
+ echo 'starting build'
starting build
[Set GitHub commit status (universal)] PENDING on repos [GHRepository@76139e6c[description=A sipmle Discord Bot, interfacing to the DSA "Heldensoftware", for a minimalistic and low labor aproach to digitalize p&p rpg's,homepage=https://kobert.dev/dsa,name=DiscoBot,license=<null>,fork=false,archived=false,size=1067,milestones={},language=C#,commits={},source=<null>,parent=<null>,responseHeaderFields={null=[HTTP/1.1 200 OK], Access-Control-Allow-Origin=[*], Access-Control-Expose-Headers=[ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type], Cache-Control=[private, max-age=60, s-maxage=60], Content-Encoding=[gzip], Content-Security-Policy=[default-src 'none'], Content-Type=[application/octet-stream], Date=[Sat, 13 Jul 2019 14:19:57 GMT], ETag=["5bf5e4a262a4d504eec2845b4ee81247"], Last-Modified=[Mon, 08 Jul 2019 17:31:48 GMT], OkHttp-Received-Millis=[1563027597041], OkHttp-Response-Source=[CONDITIONAL_CACHE 304], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1563027596862], Referrer-Policy=[origin-when-cross-origin, strict-origin-when-cross-origin], Server=[GitHub.com], Status=[304 Not Modified], Strict-Transport-Security=[max-age=31536000; includeSubdomains; preload], Transfer-Encoding=[chunked], Vary=[Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding], X-Accepted-OAuth-Scopes=[repo], X-Content-Type-Options=[nosniff], X-Frame-Options=[deny], X-GitHub-Media-Type=[github.v3; format=json], X-GitHub-Request-Id=[9C36:17F12:2324645:2B6927E:5D29E88C], X-OAuth-Scopes=[admin:repo_hook, repo], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4979], X-RateLimit-Reset=[1563031196], X-XSS-Protection=[1; mode=block]},url=https://api.github.com/repos/TrueDoctor/DiscoBot,id=86006798]] (sha:aea6531) with context:Games
Setting commit status on GitHub for https://github.com/TrueDoctor/DiscoBot/commit/aea65315112c99870e10ddb9e106d362b0e4973d
[Ratatosk] $ /bin/sh -xe /tmp/jenkins6770422482897261301.sh
+ cd webhogg/client
+ ./build
[1;97mStart application build
=======================[m
graphics: [1mcargo fmt[m
graphics: [1mcargo[m
graphics: [0m[0m[1m[32m Finished[0m release [optimized] target(s) in 0.05s
graphics: [1mwasm-bindgen[m
graphics: [1mwasm-opt[m
graphics: SUCCESS
[1;97m[92msucceeded[m[1;97m graphics build
------------------------[m
logic: [1mcargo fmt[m
logic: [1mcargo[m
logic: [0m[0m[1m[32m Finished[0m release [optimized] target(s) in 0.05s
logic: [1mwasm-bindgen[m
logic: [1mwasm-opt[m
logic: SUCCESS
[1;97m[92msucceeded[m[1;97m logic build
---------------------[m
[1m> [0;97mMove targets into [3mgen/
[m+ cargo +nightly clippy --all
error: could not find `Cargo.toml` in `/home/runner/workspace/Ratatosk/webhogg/client` or any parent directory
Build step 'Run with timeout' marked build as failure
Changes since last successful build:
[natrixaeria] 8028c722df648fd3874b4b158dc00b34213171bb - Reimplement WebAssembly-Frontend
[natrixaeria] e143e3120a3e437879182c22458d1fb69987eb3c - Add auto-formatting into build script
No changes No changes
[natrixaeria] 6697dc5dec39516b04c282aed3066462c7a1a162 - Remove unnecessary extern crate
[natrixaeria] 4a2932f7196cad1c6b05222ffd27976fc6d65c3c - Make colored output for build issues in cargo fmt
[natrixaeria] aea65315112c99870e10ddb9e106d362b0e4973d - Increment counter in shared memory
No changes No changes No changes
Build 'Ratatosk' is failing!
Last 50 lines of build output:
[...truncated 17.07 KB...]
help: consider boxing the large fields to reduce the total size of the enum
|
20 | BadResponse(Box<Response>),
| ^^^^^^^^^^^^^
warning: passing a unit value to a function
--> src/backend_connection.rs:61:12
|
61 | Ok(self.req_sender.send(Url::parse(&format!("{}{}", self.host, location))?).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(clippy::unit_arg)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg
help: if you intended to pass a unit value, use a unit literal instead
|
61 | Ok(())
| ^^
warning: this argument (4 byte) is passed by reference, but would be more efficient if passed by value (limit: 8 byte)
--> src/backend_connection.rs:68:45
|
68 | pub fn validate_token(&mut self, token: &Token) -> TokenValidity {
| ^^^^^^ help: consider passing by value instead: `Token`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref
warning: redundant closure found
--> src/backend_connection.rs:70:41
|
70 | self.request(&location).map_err(|err| BackendError::UrlError(err))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `BackendError::UrlError`
|
= note: #[warn(clippy::redundant_closure)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
warning: redundant closure found
--> src/backend_connection.rs:71:52
|
71 | let response = self.get_response().map_err(|err| BackendError::RequestError(err))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `BackendError::RequestError`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
error: aborting due to 3 previous errors
error: Could not compile `game-server`.
To learn more, run the command again with --verbose.
Build step 'Run with timeout' marked build as failure
Changes since last successful build:
[natrixaeria] 8028c722df648fd3874b4b158dc00b34213171bb - Reimplement WebAssembly-Frontend
[natrixaeria] e143e3120a3e437879182c22458d1fb69987eb3c - Add auto-formatting into build script
No changes No changes
[natrixaeria] 6697dc5dec39516b04c282aed3066462c7a1a162 - Remove unnecessary extern crate
[natrixaeria] 4a2932f7196cad1c6b05222ffd27976fc6d65c3c - Make colored output for build issues in cargo fmt
[natrixaeria] aea65315112c99870e10ddb9e106d362b0e4973d - Increment counter in shared memory
No changes No changes No changes No changes
Build 'Ratatosk' is failing!
Last 50 lines of build output:
[...truncated 17.07 KB...]
help: consider boxing the large fields to reduce the total size of the enum
|
20 | BadResponse(Box<Response>),
| ^^^^^^^^^^^^^
warning: passing a unit value to a function
--> src/backend_connection.rs:61:12
|
61 | Ok(self.req_sender.send(Url::parse(&format!("{}{}", self.host, location))?).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(clippy::unit_arg)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg
help: if you intended to pass a unit value, use a unit literal instead
|
61 | Ok(())
| ^^
warning: this argument (4 byte) is passed by reference, but would be more efficient if passed by value (limit: 8 byte)
--> src/backend_connection.rs:68:45
|
68 | pub fn validate_token(&mut self, token: &Token) -> TokenValidity {
| ^^^^^^ help: consider passing by value instead: `Token`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref
warning: redundant closure found
--> src/backend_connection.rs:70:41
|
70 | self.request(&location).map_err(|err| BackendError::UrlError(err))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `BackendError::UrlError`
|
= note: #[warn(clippy::redundant_closure)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
warning: redundant closure found
--> src/backend_connection.rs:71:52
|
71 | let response = self.get_response().map_err(|err| BackendError::RequestError(err))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `BackendError::RequestError`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
error: aborting due to 3 previous errors
error: Could not compile `game-server`.
To learn more, run the command again with --verbose.
Build step 'Run with timeout' marked build as failure
Changes since last successful build:
[natrixaeria] 8028c722df648fd3874b4b158dc00b34213171bb - Reimplement WebAssembly-Frontend
[natrixaeria] e143e3120a3e437879182c22458d1fb69987eb3c - Add auto-formatting into build script
No changes No changes
[natrixaeria] 6697dc5dec39516b04c282aed3066462c7a1a162 - Remove unnecessary extern crate
[natrixaeria] 4a2932f7196cad1c6b05222ffd27976fc6d65c3c - Make colored output for build issues in cargo fmt
[natrixaeria] aea65315112c99870e10ddb9e106d362b0e4973d - Increment counter in shared memory
No changes No changes No changes No changes
Build 'Ratatosk' is failing!
Last 50 lines of build output:
Started by an SCM change
Running as SYSTEM
Building remotely on slave in workspace /home/runner/workspace/Ratatosk
Installer "Run Shell Command" cannot be used to install "Default" on the node "slave"
using credential 6880190c-ec0f-497c-9cc4-0abae4d8d52e
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/truedoctor/discobot # timeout=10
Fetching upstream changes from https://github.com/truedoctor/discobot
> git --version # timeout=10
using GIT_ASKPASS to set credentials
> git fetch --tags --force --progress https://github.com/truedoctor/discobot +refs/heads/*:refs/remotes/origin/*
Seen branch in repository origin/animation
Seen branch in repository origin/dev
Seen branch in repository origin/master
Seen branch in repository origin/readme-correction
Seen branch in repository origin/wasm
Seen branch in repository origin/webhogg
Seen 6 remote branches
> git show-ref --tags -d # timeout=10
Checking out Revision df6f4ddf698003895fc41f7aa664a5402e43670a (origin/webhogg)
> git config core.sparsecheckout # timeout=10
> git checkout -f df6f4ddf698003895fc41f7aa664a5402e43670a
Commit message: "add Vec2 use"
> git rev-list --no-walk 7573b156efd8527835302e5d4722ff5c57fb6fe0 # timeout=10
[Ratatosk] $ /bin/sh -xe /tmp/jenkins5515138161264447296.sh
+ echo 'starting build'
starting build
[Set GitHub commit status (universal)] PENDING on repos [GHRepository@d289f00[description=A sipmle Discord Bot, interfacing to the DSA "Heldensoftware", for a minimalistic and low labor aproach to digitalize p&p rpg's,homepage=https://kobert.dev/dsa,name=DiscoBot,license=<null>,fork=false,archived=false,size=1070,milestones={},language=C#,commits={},source=<null>,parent=<null>,responseHeaderFields={null=[HTTP/1.1 200 OK], Access-Control-Allow-Origin=[*], Access-Control-Expose-Headers=[ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type], Cache-Control=[private, max-age=60, s-maxage=60], Content-Encoding=[gzip], Content-Security-Policy=[default-src 'none'], Content-Type=[application/json; charset=utf-8], Date=[Sat, 13 Jul 2019 15:05:12 GMT], ETag=[W/"8ed1dbb68922ac8899a3e0b3648e0e36"], Last-Modified=[Mon, 08 Jul 2019 17:31:48 GMT], OkHttp-Received-Millis=[1563030312077], OkHttp-Response-Source=[CONDITIONAL_CACHE 200], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1563030311881], Referrer-Policy=[origin-when-cross-origin, strict-origin-when-cross-origin], Server=[GitHub.com], Status=[200 OK], Strict-Transport-Security=[max-age=31536000; includeSubdomains; preload], Transfer-Encoding=[chunked], Vary=[Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding], X-Accepted-OAuth-Scopes=[repo], X-Content-Type-Options=[nosniff], X-Frame-Options=[deny], X-GitHub-Media-Type=[github.v3; format=json], X-GitHub-Request-Id=[AD52:17F13:3D4E979:4BEAB15:5D29F327], X-OAuth-Scopes=[admin:repo_hook, repo], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4999], X-RateLimit-Reset=[1563033912], X-XSS-Protection=[1; mode=block]},url=https://api.github.com/repos/TrueDoctor/DiscoBot,id=86006798]] (sha:df6f4dd) with context:Games
Setting commit status on GitHub for https://github.com/TrueDoctor/DiscoBot/commit/df6f4ddf698003895fc41f7aa664a5402e43670a
[Ratatosk] $ /bin/sh -xe /tmp/jenkins4812133721848311132.sh
+ cd webhogg/client
+ ./build
/tmp/jenkins4812133721848311132.sh: line 3: ./build: No such file or directory
Build step 'Run with timeout' marked build as failure
Changes since last successful build:
[natrixaeria] 8028c722df648fd3874b4b158dc00b34213171bb - Reimplement WebAssembly-Frontend
[natrixaeria] e143e3120a3e437879182c22458d1fb69987eb3c - Add auto-formatting into build script
No changes No changes
[natrixaeria] 6697dc5dec39516b04c282aed3066462c7a1a162 - Remove unnecessary extern crate
[natrixaeria] 4a2932f7196cad1c6b05222ffd27976fc6d65c3c - Make colored output for build issues in cargo fmt
[natrixaeria] aea65315112c99870e10ddb9e106d362b0e4973d - Increment counter in shared memory
No changes No changes No changes No changes
[natrixaeria] bb6fca72e96cf269d79c2803c884e46351f292fe - Create gen directory if not exists
[konsumlamm] 072a0778c0f8be28a9484bbe731c8d38bb12f7ea - add math_simd mod
[konsumlamm] 66cf8e61fc7d1dd0f6298dbdc5da357a7c8d7964 - move AABox, RBox to boxes mod
[konsumlamm] 988133c1da8210acf855cae4942465e23b4dcd13 - add packed_simd dependency
[konsumlamm] b90bfe504b7ebd223a912d161f01489f4c4e1ca7 - add pub mod math_simd
[konsumlamm] 5a00c190b1093a3140740d179ce08dcbb7b5ac97 - improve partial_cmp
[konsumlamm] 42f3cadccffe16c355db94592a354c8a8c1e1a18 - add PartialOrd impl
[konsumlamm] df6f4ddf698003895fc41f7aa664a5402e43670a - add Vec2 use
Build 'Ratatosk' is failing!
Last 50 lines of build output:
[...truncated 21.36 KB...]
help: consider boxing the large fields to reduce the total size of the enum
|
20 | BadResponse(Box<Response>),
| ^^^^^^^^^^^^^
warning: passing a unit value to a function
--> src/backend_connection.rs:61:12
|
61 | Ok(self.req_sender.send(Url::parse(&format!("{}{}", self.host, location))?).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(clippy::unit_arg)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg
help: if you intended to pass a unit value, use a unit literal instead
|
61 | Ok(())
| ^^
warning: this argument (4 byte) is passed by reference, but would be more efficient if passed by value (limit: 8 byte)
--> src/backend_connection.rs:68:45
|
68 | pub fn validate_token(&mut self, token: &Token) -> TokenValidity {
| ^^^^^^ help: consider passing by value instead: `Token`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref
warning: redundant closure found
--> src/backend_connection.rs:70:41
|
70 | self.request(&location).map_err(|err| BackendError::UrlError(err))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `BackendError::UrlError`
|
= note: #[warn(clippy::redundant_closure)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
warning: redundant closure found
--> src/backend_connection.rs:71:52
|
71 | let response = self.get_response().map_err(|err| BackendError::RequestError(err))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `BackendError::RequestError`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
error: aborting due to 3 previous errors
error: Could not compile `game-server`.
To learn more, run the command again with --verbose.
Build step 'Run with timeout' marked build as failure
Changes since last successful build:
[natrixaeria] 8028c722df648fd3874b4b158dc00b34213171bb - Reimplement WebAssembly-Frontend
[natrixaeria] e143e3120a3e437879182c22458d1fb69987eb3c - Add auto-formatting into build script
No changes No changes
[natrixaeria] 6697dc5dec39516b04c282aed3066462c7a1a162 - Remove unnecessary extern crate
[natrixaeria] 4a2932f7196cad1c6b05222ffd27976fc6d65c3c - Make colored output for build issues in cargo fmt
[natrixaeria] aea65315112c99870e10ddb9e106d362b0e4973d - Increment counter in shared memory
No changes No changes No changes No changes
[natrixaeria] bb6fca72e96cf269d79c2803c884e46351f292fe - Create gen directory if not exists
[konsumlamm] 072a0778c0f8be28a9484bbe731c8d38bb12f7ea - add math_simd mod
[konsumlamm] 66cf8e61fc7d1dd0f6298dbdc5da357a7c8d7964 - move AABox, RBox to boxes mod
[konsumlamm] 988133c1da8210acf855cae4942465e23b4dcd13 - add packed_simd dependency
[konsumlamm] b90bfe504b7ebd223a912d161f01489f4c4e1ca7 - add pub mod math_simd
[konsumlamm] 5a00c190b1093a3140740d179ce08dcbb7b5ac97 - improve partial_cmp
[konsumlamm] 42f3cadccffe16c355db94592a354c8a8c1e1a18 - add PartialOrd impl
[konsumlamm] df6f4ddf698003895fc41f7aa664a5402e43670a - add Vec2 use
[natrixaeria] deab76ed54b41e59952e06d4322c7e3710cd2415 - Introduce allocators
Build was fixed!
Build 'Ratatosk' is failing!
Last 50 lines of build output:
Changes since last successful build:
View full output