Skip to content

Instantly share code, notes, and snippets.

View ecstatic-morse's full-sized avatar

Dylan MacKenzie ecstatic-morse

View GitHub Profile
extension type Id(int id) {}
class MaybeId {
final Id? value;
const MaybeId.none() : value = null;
}
const MaybeId no = MaybeId.none();
Aaronepower/tokei_rs
Aiden01/bf.rs
Andlon/ice_testcase
Arteneko/sinx
BookOwl/tiny-shell
Canop/resc
Centril/consensusbot
EMayej/rs-bb8-redis
EarvinKayonga/iojcorefer
FreeMasen/semi_finder
@ecstatic-morse
ecstatic-morse / 66037-regressed.txt
Created November 14, 2019 18:23
66037-regressed.txt
00benallen/medioxide
0Kate/make
0x21F/torquata
0x3UH4224D/home-keeper
0xpr03/clantool
0xpr03/yayd
10ten-me/url-shortener
23prime/sos-page
887/fluffy-system
887/gtk-rs-experiments
@ecstatic-morse
ecstatic-morse / 65294-regressed.txt
Created October 26, 2019 23:45
65294-regressed.txt
00benallen/medioxide
0e4ef622/remani
0x75960/locator
0xADD1E/ColorLyne
0xpr03/clantool
0xpr03/group_watchdog
0xpr03/service-daemon
10ten-me/url-shortener
21re/microtools-rs
ACiep/hat
@ecstatic-morse
ecstatic-morse / crater-extract-regressed.sh
Last active January 26, 2020 21:06
Extract regressed crates from crater's `results.json`
#!/bin/bash
set -euo pipefail
function find_crates {
file=$1
origin=$2
result=$3
case "$origin" in
0xpr03/service-daemon
AlexEales/wasm-brnfck
Arekkusuva/actix-web-sample
Arekkusuva/web-sample
BlackHoleFox/Gearbot-Cat-API
Bravo555/simple-auth-server
BrendanBall/example-actix-web-juniper-diesel
BrianLeishman/mysql-format
CL4PTP/dbapp
CallumJHays/wasm-bindgen-futures-test
lazy_static
brson/hello-rs
@ecstatic-morse
ecstatic-morse / sig-fails.md
Last active July 22, 2019 19:57
Crates which failed during a crater run which maybe could be fixed
crate reason
ring v0.9.7/v0.12.1 [INFO] [stderr] C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt.h(212): error C2220: warning treated as error - no 'object' file generatedC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt.h(212): error C2220: warning treated as error - no 'object' file generatedC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt.h(212): error C2220: warning treated as error - no 'object' file generatedC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt.h(212): error C2220: warning treated as error - no 'object' file generated
vcell v0.1.0 note: the thumbv7m-none-eabi target may not be installed

Setting up a new Crater Windows agent machine

Operating System

The agent machine should run Windows Server build 1803 (not Windows 10). The machine should have Hyper-V enabled (images ending in v3 on Azure DevOps), although this may not be necessary since we only use process isolation. All testing has been performed on a server with a GUI, but all installation steps can be done at the command line (except configuration of Docker Desktop). It may be possible to use a headless server if Docker is

@ecstatic-morse
ecstatic-morse / docker_bad_crater.log
Last active February 25, 2019 11:58
The error encountered by rustc when using two containers with different revision numbers prior to Windows 1709
[2019-02-25T11:40:49Z INFO crater::run] running `"docker" "start" "-a" "acd77a50c3f061d63932adab6e50364f6f5f25a37f6578220b80bdf5ccc0e7a4"`
[2019-02-25T11:40:53Z INFO crater::run] [stderr] error: process didn't exit successfully: `rustc -vV` (exit code: 101)
[2019-02-25T11:40:53Z INFO crater::run] [stderr] --- stdout
[2019-02-25T11:40:53Z INFO crater::run] [stderr] rustc 1.33.0-beta.10 (bb2d0ea24 2019-02-23)
[2019-02-25T11:40:53Z INFO crater::run] [stderr] binary: rustc
[2019-02-25T11:40:53Z INFO crater::run] [stderr] commit-hash: bb2d0ea24382fd85215ebde8d3ea385487a89dbd
[2019-02-25T11:40:53Z INFO crater::run] [stderr] commit-date: 2019-02-23
[2019-02-25T11:40:53Z INFO crater::run] [stderr] host: x86_64-pc-windows-msvc
[2019-02-25T11:40:53Z INFO crater::run] [stderr] release: 1.33.0-beta.10
[2019-02-25T11:40:53Z INFO crater::run] [stderr] rustc 1.33.0-beta.10 (bb2d0ea24 2019-02-23)